linux-stable-rt/drivers/md
Mike Snitzer 959eb4e559 dm mpath: support discard
Enable discard support in the DM multipath target.

This discard support depends on a few discard-specific fixes to the
block layer's request stacking driver methods.

Discard requests are optional so don't allow a failed discard to trigger
path failures.  If there is a real problem with a given path the
barriers associated with the discard (either before or after the
discard) will cause path failure.  That said, unconditionally passing
discard failures up the stack is not ideal.  This must be fixed once DM
has more information about the nature of the underlying storage failure.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
2010-08-12 04:14:32 +01:00
..
.gitignore
Kconfig Merge branch 'async' of macbook:git/btrfs-unstable 2010-08-09 10:36:44 +01:00
Makefile Merge branch 'async' of macbook:git/btrfs-unstable 2010-08-09 10:36:44 +01:00
bitmap.c
bitmap.h
dm-bio-record.h
dm-crypt.c dm: use dm_target_offset macro 2010-08-12 04:14:11 +01:00
dm-delay.c dm delay: support discard 2010-08-12 04:14:13 +01:00
dm-exception-store.c dm snapshot: test chunk size against both origin and snapshot 2010-08-12 04:13:51 +01:00
dm-exception-store.h dm snapshot: test chunk size against both origin and snapshot 2010-08-12 04:13:51 +01:00
dm-io.c
dm-ioctl.c dm: allow autoloading of dm mod 2010-08-12 04:14:05 +01:00
dm-kcopyd.c
dm-linear.c dm: use dm_target_offset macro 2010-08-12 04:14:11 +01:00
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log.c
dm-mpath.c dm mpath: support discard 2010-08-12 04:14:32 +01:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid1.c dm: use dm_target_offset macro 2010-08-12 04:14:11 +01:00
dm-region-hash.c
dm-round-robin.c
dm-service-time.c
dm-snap-persistent.c dm snapshot: persistent use define for disk header chunk size 2010-08-12 04:13:59 +01:00
dm-snap-transient.c
dm-snap.c dm: rename map_info flush_request to target_request_nr 2010-08-12 04:14:04 +01:00
dm-stripe.c dm stripe: support discards 2010-08-12 04:14:26 +01:00
dm-sysfs.c
dm-table.c dm: linear support discard 2010-08-12 04:14:08 +01:00
dm-target.c dm: error return error for discards 2010-08-12 04:14:14 +01:00
dm-uevent.c
dm-uevent.h
dm-zero.c dm: zero silently drop discards 2010-08-12 04:14:12 +01:00
dm.c dm: split discard requests on target boundaries 2010-08-12 04:14:24 +01:00
dm.h dm: linear support discard 2010-08-12 04:14:08 +01:00
faulty.c
linear.c
linear.h
md.c Merge branch 'for-linus' of git://neil.brown.name/md 2010-08-10 15:38:19 -07:00
md.h Merge branch 'for-linus' of git://neil.brown.name/md 2010-08-10 15:38:19 -07:00
multipath.c
multipath.h
raid0.c
raid0.h
raid1.c
raid1.h
raid5.c Merge branch 'for-linus' of git://neil.brown.name/md 2010-08-10 15:38:19 -07:00
raid5.h
raid10.c Merge branch 'for-linus' of git://neil.brown.name/md 2010-08-10 15:38:19 -07:00
raid10.h