]> git.itanic.dy.fi Git - linux-stable/commit
[PATCH] dm: disable barriers
authorStefan Bader <shbader@de.ibm.com>
Thu, 12 Jul 2007 16:28:33 +0000 (17:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Aug 2007 15:24:15 +0000 (17:24 +0200)
commitc7127d95357001143678ac6517e8e25c2a65e4cf
tree2552d7ef22398c11c5b391674bb735445a2812d6
parentf4c146b686810ba345b72ca3e2a0c74586838f1c
[PATCH] 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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/md/dm-crypt.c
drivers/md/dm-mpath.c
drivers/md/dm-snap.c
drivers/md/dm.c