Hi Tillmann,
Here is your opportunity to help resolving the md/dm-crypt corruption
issue. Please test this patch and report if there are still
corruptions.
--- Begin Message ---
Oh! Not another dm target still letting barriers through but
not handling them properly?
Alasdair
--
agk@xxxxxxxxxx
Index: linux-2.6.16-rc5/drivers/md/dm-crypt.c
===================================================================
--- linux-2.6.16-rc5.orig/drivers/md/dm-crypt.c 2006-03-14 18:25:38.000000000 +0000
+++ linux-2.6.16-rc5/drivers/md/dm-crypt.c 2006-05-06 14:40:39.000000000 +0100
@@ -806,6 +806,9 @@ static int crypt_map(struct dm_target *t
sector_t sector = bio->bi_sector - ti->begin;
unsigned int bvec_idx = 0;
+ if (bio_barrier(bio))
+ return -EOPNOTSUPP;
+
io->target = ti;
io->bio = bio;
io->first_clone = NULL;
--- End Message ---
---------------------------------------------------------------------
- http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx