public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch 0/2] Journal Checksums
@ 2007-05-30 10:28 Girish Shilamkar
  2007-05-30 10:36 ` Girish Shilamkar
  0 siblings, 1 reply; 2+ messages in thread
From: Girish Shilamkar @ 2007-05-30 10:28 UTC (permalink / raw)
  To: linux-ext4; +Cc: Andreas Dilger

Hi,
 	The following patch set adds journal checksumming support for linux
kernel and e2fsprogs. 

Two new flags have been added i.e 
JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT and JBD2_FEATURE_COMPAT_CHECKSUM.

_CHECKSUM flag indicates that the commit block contains the checksum for
the blocks described the the descriptor blocks.
Due to checksums, writing of the commit record no longer needs to be
synchronous, this behavior is controlled using _ASYNC_COMMIT flag. Older
kernels/e2fsck should not be able to recover the journal with
_ASYNC_COMMIT hence it is made incompat. 
The commit header has been extended to hold the checksum along with the
type of the checksum.

For recovery in pass scan checksums are verified to ensure the sanity
and completeness(in case of _ASYNC_COMMIT) of every transaction.

Any suggestions/comments are welcome.

Thanks & Regards,
Girish.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-30 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-30 10:28 [Patch 0/2] Journal Checksums Girish Shilamkar
2007-05-30 10:36 ` Girish Shilamkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox