All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] e2fsprogs: misc fixes and cleanups; save checksum seeds
@ 2015-10-12 21:56 Darrick J. Wong
  2015-10-12 21:56 ` [PATCH 01/12] libext2fs: fix maximum bg overhead calculation with meta_bg enabled Darrick J. Wong
                   ` (11 more replies)
  0 siblings, 12 replies; 22+ messages in thread
From: Darrick J. Wong @ 2015-10-12 21:56 UTC (permalink / raw)
  To: tytso, darrick.wong; +Cc: linux-ext4

Hi all,

Here's a short patch series that rolls up all my pending fixes for
assorted minor problems with e2fsprogs.  It then replaces all the open
coded feature flag functions with a series of helper functions; and
finally it introduces the "metdata_csum_seed" feature which decouples
the metadata block checksums from the FS UUID so that said UUID can be
changed while the FS is mounted.

Patches 1-2 fix an incorrect overhead calculation in mke2fs when
formatting with meta_bg that prevented formatting devices larger than
256TB; and teaches mke2fs to enable meta_bg whenever the group
descriptor blocks overflow a block group.  This makes it possible to
format ext4 on multi-petabyte block devices, albeit at a SEVERE
overhead cost.

Patches 3-7 replace open-coded feature flag manipulation code with
helper functions.  I've hand-checked all the changes to ensure that
they are correct.

Patches 8-12 introduces the metadata_csum_seed feature, which saves
the first component of metadata block checksums (specifically, the
value of crc32c(~0, FS_UUID)) in the superblock.  This enables the
administrator to change the UUID on a mounted metadata_csum
filesystem.

The patchset should apply cleanly against the -next branch as of 29
September.  Comments and questions are, as always, welcome.

--D

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

end of thread, other threads:[~2015-10-24 10:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 21:56 [PATCH 00/12] e2fsprogs: misc fixes and cleanups; save checksum seeds Darrick J. Wong
2015-10-12 21:56 ` [PATCH 01/12] libext2fs: fix maximum bg overhead calculation with meta_bg enabled Darrick J. Wong
2015-10-24  4:37   ` Theodore Ts'o
2015-10-12 21:56 ` [PATCH 02/12] libext2fs: automatically enable meta_bg to avoid filling up BG 0 Darrick J. Wong
2015-10-13  2:34   ` Andreas Dilger
2015-10-13  7:08     ` Darrick J. Wong
2015-10-24  4:38   ` Theodore Ts'o
2015-10-12 21:56 ` [PATCH 03/12] libext2fs: clean up feature test macros with predicate functions Darrick J. Wong
2015-10-24  4:41   ` Theodore Ts'o
2015-10-12 21:56 ` [PATCH 04/12] e2fsck: " Darrick J. Wong
2015-10-24  4:49   ` Theodore Ts'o
2015-10-12 21:57 ` [PATCH 05/12] misc: " Darrick J. Wong
2015-10-24  5:24   ` Theodore Ts'o
2015-10-12 21:57 ` [PATCH 06/12] resize2fs: " Darrick J. Wong
2015-10-24  5:24   ` Theodore Ts'o
2015-10-12 21:57 ` [PATCH 07/12] debugfs: " Darrick J. Wong
2015-10-24  5:26   ` Theodore Ts'o
2015-10-12 21:57 ` [PATCH 08/12] libext2fs: store checksum seed in superblock Darrick J. Wong
2015-10-12 21:57 ` [PATCH 09/12] tune2fs: allow user to turn on saving the checksum seed Darrick J. Wong
2015-10-12 21:57 ` [PATCH 10/12] e2fsck: check the checksum seed feature flag is set correctly Darrick J. Wong
2015-10-12 21:57 ` [PATCH 11/12] mke2fs: store checksum seed at format time Darrick J. Wong
2015-10-12 21:57 ` [PATCH 12/12] tests: check proper operation of metadata_csum_seed Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.