]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dm: disable barriers
authorStefan Bader <shbader@de.ibm.com>
Thu, 12 Jul 2007 16:28:33 +0000 (17:28 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 12 Jul 2007 22:01:08 +0000 (15:01 -0700)
commit07a83c47cfc00ba5f0f090ccddd3a0703be0eec9
treea17d8028f76ba242a04f3c0678644f93cc7eee7d
parent943317efdbc295e8a28df3f5cbd549d066ee8b4a
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.

Cc: stable@kernel.org
Signed-off-by: Stefan Bader <shbader@de.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-crypt.c
drivers/md/dm-mpath.c
drivers/md/dm-snap.c
drivers/md/dm.c