Skip to content

On disk format changes - V3

Theodore Ts'o linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libext2fs: add metadata checksum and snapshot feature flagsdebugfs/set_fields.c e2fsck/pass1.c lib/e2p/feature.c +5 more+51 -1517 replies
2/2debugfs: add 64-bit support to the set_field commandsdebugfs/debugfs.h debugfs/set_fields.c debugfs/util.c+310 -1610 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] On disk format changes - V3

This is the hopefully the final set of on-disk format changes. The main change from the last one is I split up the inode checksum field so that half of the checksum is in the first 128 bytes of the inode (with 16 bits left over as a spare for emergencies) and the high 16 bits of the crc32 is using what was previously the i_pad field in a 256 byte (and larger) inode.

Please scream if you see any problems, because otherwise this is what's going in!

The second patch adds support so that debugfs can easily handle setting data objects which are split between a foo_hi and foo_lo fields on disk.

Along the way I also fixed some bugs where we weren't byte-swapping the newer fields in the 256-byte inode (i.e., ctime_extra, mtime_extra, etc.).

- Ted

Theodore Ts'o (2):
libext2fs: add metadata checksum and snapshot feature flags
debugfs: add 64-bit support to the set_field commands

 debugfs/debugfs.h           |    2 +
 debugfs/set_fields.c        |  452 ++++++++++++++++++++++++++++---------------
 debugfs/util.c              |   16 ++
 e2fsck/pass1.c              |    4 +-
 lib/e2p/feature.c           |    4 +
 lib/e2p/ls.c                |    4 +
 lib/ext2fs/ext2_fs.h        |   31 ++-
 lib/ext2fs/swapfs.c         |   16 ++-
 lib/ext2fs/tst_inode_size.c |    3 +-
 lib/ext2fs/tst_super_size.c |    1 +
 10 files changed, 359 insertions(+), 174 deletions(-)
Signature · 1 line
1.7.4.1.22.gec8e1.dirty