[PATCH] device-mapper multipath: Barriers not supported

dm multipath will report barriers as not supported with this patch.

Signed-off-by: Lars Marowsky-Bree <lmb@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Alasdair G Kergon
2005-07-12 15:53:01 -07:00
committed by Linus Torvalds
parent 3f603ed319
commit f6a80ea8ed
3 changed files with 8 additions and 2 deletions

View File

@@ -777,7 +777,7 @@ static int snapshot_map(struct dm_target *ti, struct bio *bio,
/* Full snapshots are not usable */
if (!s->valid)
return -1;
return -EIO;
/*
* Write to snapshot - higher level takes care of RW/RO