linux_dsm_epyc7002/drivers/md
NeilBrown 212e7eb7a3 md/raid1: add failfast handling for writes.
When writing to a fastfail device we use MD_FASTFAIL unless
it is the only device being written to.

For resync/recovery, assume there was a working device to
read from so always use REQ_FASTFAIL_DEV.

If a write for resync/recovery fails, we just fail the
device - there is not much else to do.

If a normal failfast write fails, but the device cannot be
failed (must be only one left), we queue for write error
handling.  This will call narrow_write_error() to retry the
write synchronously and without any FAILFAST flags.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2016-11-22 09:14:10 -08:00
..
bcache
persistent-data
bitmap.c md: Use REQ_FAILFAST_* on metadata writes where appropriate 2016-11-22 09:11:33 -08:00
bitmap.h
dm-bio-prison.c
dm-bio-prison.h
dm-bio-record.h
dm-bufio.c
dm-bufio.h
dm-builtin.c
dm-cache-block-types.h
dm-cache-metadata.c
dm-cache-metadata.h
dm-cache-policy-cleaner.c
dm-cache-policy-internal.h
dm-cache-policy-smq.c
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c
dm-core.h
dm-crypt.c
dm-delay.c
dm-era-target.c
dm-exception-store.c
dm-exception-store.h
dm-flakey.c
dm-io.c
dm-ioctl.c
dm-kcopyd.c
dm-linear.c
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c
dm-log.c
dm-mpath.c
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid1.c dm mirror: use all available legs on multiple failures 2016-10-14 11:55:17 -04:00
dm-raid.c dm raid: fix activation of existing raid4/10 devices 2016-10-17 16:41:31 -04:00
dm-region-hash.c
dm-round-robin.c
dm-rq.c - A couple DM raid and DM mirror fixes 2016-10-28 09:27:58 -07:00
dm-rq.h
dm-service-time.c
dm-snap-persistent.c
dm-snap-transient.c
dm-snap.c
dm-stats.c
dm-stats.h
dm-stripe.c
dm-switch.c
dm-sysfs.c
dm-table.c dm table: fix missing dm_put_target_type() in dm_table_add_target() 2016-10-24 11:17:46 -04:00
dm-target.c
dm-thin-metadata.c
dm-thin-metadata.h
dm-thin.c
dm-uevent.c
dm-uevent.h
dm-verity-fec.c
dm-verity-fec.h
dm-verity-target.c
dm-verity.h
dm-zero.c
dm.c - A couple DM raid and DM mirror fixes 2016-10-28 09:27:58 -07:00
dm.h
faulty.c
Kconfig
linear.c md: add block tracing for bio_remapping 2016-11-18 09:32:50 -08:00
linear.h
Makefile
md-cluster.c
md-cluster.h
md.c md: Use REQ_FAILFAST_* on metadata writes where appropriate 2016-11-22 09:11:33 -08:00
md.h md: Use REQ_FAILFAST_* on metadata writes where appropriate 2016-11-22 09:11:33 -08:00
multipath.c md/multipath: replace printk() with pr_*() 2016-11-07 15:08:22 -08:00
multipath.h
raid0.c md: add block tracing for bio_remapping 2016-11-18 09:32:50 -08:00
raid0.h
raid1.c md/raid1: add failfast handling for writes. 2016-11-22 09:14:10 -08:00
raid1.h md/raid1: add failfast handling for reads. 2016-11-22 09:13:18 -08:00
raid5-cache.c md/r5cache: handle FLUSH and FUA 2016-11-18 17:13:49 -08:00
raid5.c md/r5cache: handle FLUSH and FUA 2016-11-18 17:13:49 -08:00
raid5.h md/r5cache: handle FLUSH and FUA 2016-11-18 17:13:49 -08:00
raid10.c md: Use REQ_FAILFAST_* on metadata writes where appropriate 2016-11-22 09:11:33 -08:00
raid10.h