Re: Data corruption when using dm-crypt over RAID5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://thread.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/1974/focus=1974

On Fri, Dec 01, 2006 at 03:26:49PM +0100, Christophe Saout wrote:
> Am Freitag, den 01.12.2006, 00:02 +0300 schrieb Andrey:
> > - fs asks to write 2048 bytes of zeroes to some sector. It always 
> > happens ONLY with requests of 2K and only if data is all zeroes. It 
> > happens on random sectors. Write request goes w/o error.
> > - someone (i have vague idea how linux cache works)  sends a READA  bio 
> > with size of 4K for an area starting with the same sector. It goes down 
> > to raid5 and it returns garbage. The data returned  is not all zeroes 
> > and it _looks_ like it returns data that was there before zeroes were 
> > written. here goes the corruption.

Does the write complete before the reada is issued or do they overlap?

Alasdair
-- 
agk@xxxxxxxxxx

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux