linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/6] add full off-line resize2fs support for flex_bg file systems
@ 2012-12-29  8:55 Theodore Ts'o
  2012-12-29  8:55 ` [PATCH 1/6] mke2fs: fix crash when parsing "-E resize=NNN" with "-O 64bit" Theodore Ts'o
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Theodore Ts'o @ 2012-12-29  8:55 UTC (permalink / raw)
  To: Ext4 Developers List; +Cc: George Spelvin, Theodore Ts'o

This addresses the corruption problems reported by George Spelvin when
we created a file system with a non-default number of reserved gdt
blocks using the -E resize=NNN option.  It does this by adding full
support for flex_bg file systems, so that we don't have to worry about
allocating overlapping metadata tables while we are growing the number
of block group descriptor blocks, in the case where the resize inode
does not have enough reserved blocks, or is not present altogether.

Theodore Ts'o (6):
  mke2fs: fix crash when parsing "-E resize=NNN" with "-O 64bit"
  resize2fs: reserve fs metadata blocks first in blocks_to_move()
  resize2fs: reserve all metadata blocks for flex_bg file systems
  resize2fs: handle bg descriptors which overlap with other bg's
    metadata
  resize2fs: allow resizing flex_bg && !resize_inode file systems
  resize2fs: create optimized flex_bg block groups

 misc/mke2fs.c      |   8 +++++
 resize/main.c      |  22 ------------
 resize/resize2fs.c | 102 ++++++++++++++++++++++++++++++++++-------------------
 3 files changed, 73 insertions(+), 59 deletions(-)

-- 
1.7.12.rc0.22.gcdd159b


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

end of thread, other threads:[~2012-12-29  9:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29  8:55 [PATCH RFC 0/6] add full off-line resize2fs support for flex_bg file systems Theodore Ts'o
2012-12-29  8:55 ` [PATCH 1/6] mke2fs: fix crash when parsing "-E resize=NNN" with "-O 64bit" Theodore Ts'o
2012-12-29  8:55 ` [PATCH 2/6] resize2fs: reserve fs metadata blocks first in blocks_to_move() Theodore Ts'o
2012-12-29  8:55 ` [PATCH 3/6] resize2fs: reserve all metadata blocks for flex_bg file systems Theodore Ts'o
2012-12-29  8:55 ` [PATCH 4/6] resize2fs: handle bg descriptors which overlap with other bg's metadata Theodore Ts'o
2012-12-29  8:55 ` [PATCH 5/6] resize2fs: allow resizing flex_bg && !resize_inode file systems Theodore Ts'o
2012-12-29  8:55 ` [PATCH 6/6] resize2fs: create optimized flex_bg block groups Theodore Ts'o
2012-12-29  9:32 ` [PATCH RFC 0/6] add full off-line resize2fs support for flex_bg file systems 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).