Re: PROBLEM: AES cryptoloop corruption under recent -mm kernels

From: Hans Reiser
Date: Thu Jan 15 2004 - 18:04:52 EST


Jari Ruusu wrote:




Also, in the loop-AES.README, this is mentioned:

"Device backed loop device can be used with journaling file systems as
device backed loops guarantee that writes reach disk platters in
order required by journaling file system (write caching must be disabled
on the disk drive, of course)"

Are you talking about the "hdparm -W" flag for IDE drives?



Yes.

If you don't have UPS powered box, disabling write caching of disks is
recommended when using journaling file system.


unless you use the write cache flushing code which went into a kernel version I can never remember.....


--
Hans


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/