Journal Checksums
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Journal Checksums - ext4 patchfs/ fs/ fs/ +3 more | +339 | 0 replies | |
| 2/2 | Journal Checksums - e2fsprogse2fsck/ lib/ lib/ +5 more | +916 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Patch 0/2] Journal Checksums
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.