dm: disable barriers
commitb308574d183b5a91f52918bda2c0129b64527756
authorStefan Bader <shbader@de.ibm.com>
Thu, 12 Jul 2007 16:28:33 +0000 (12 17:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:45 +0000 (9 14:27 -0700)
treeef11bc7b31a0753405203e867d4782b0fba41750
parent7afcfb0745af9fc90146c37565cd6998eaefc37f
dm: disable barriers

This patch causes device-mapper to reject any barrier requests.  This is done
since most of the targets won't handle this correctly anyway.  So until the
situation improves it is better to reject these requests at the first place.
Since barrier requests won't get to the targets, the checks there can be
removed.

Signed-off-by: Stefan Bader <shbader@de.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-crypt.c
drivers/md/dm-mpath.c
drivers/md/dm-snap.c
drivers/md/dm.c