linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] On disk format changes - V3
@ 2011-09-15 22:50 Theodore Ts'o
  2011-09-15 22:50 ` [PATCH 1/2] libext2fs: add metadata checksum and snapshot feature flags Theodore Ts'o
  2011-09-15 22:50 ` [PATCH 2/2] debugfs: add 64-bit support to the set_field commands Theodore Ts'o
  0 siblings, 2 replies; 20+ messages in thread
From: Theodore Ts'o @ 2011-09-15 22:50 UTC (permalink / raw)
  To: Ext4 Developers List; +Cc: Theodore Ts'o

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(-)

-- 
1.7.4.1.22.gec8e1.dirty


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

end of thread, other threads:[~2011-09-23  5:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 22:50 [PATCH 0/2] On disk format changes - V3 Theodore Ts'o
2011-09-15 22:50 ` [PATCH 1/2] libext2fs: add metadata checksum and snapshot feature flags Theodore Ts'o
2011-09-15 23:09   ` Andreas Dilger
2011-09-15 23:11     ` Ted Ts'o
2011-09-15 23:34       ` Andreas Dilger
2011-09-15 23:41         ` Ted Ts'o
2011-09-16  0:09           ` Andreas Dilger
2011-09-16  0:56             ` Darrick J. Wong
2011-09-16  4:03               ` Andreas Dilger
2011-09-16  1:06             ` Ted Ts'o
2011-09-16  3:57               ` Andreas Dilger
2011-09-16 14:28                 ` Ted Ts'o
2011-09-19 18:58   ` Darrick J. Wong
2011-09-20 18:56   ` Darrick J. Wong
2011-09-21  8:03     ` Amir Goldstein
2011-09-21 20:40       ` Darrick J. Wong
2011-09-22  2:12         ` Amir Goldstein
2011-09-22 19:18           ` Darrick J. Wong
2011-09-23  5:57             ` Amir Goldstein
2011-09-15 22:50 ` [PATCH 2/2] debugfs: add 64-bit support to the set_field commands Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).