linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] meta_bg online resize patches
@ 2012-09-02  4:51 Theodore Ts'o
  2012-09-02  4:51 ` [PATCH 1/5] ext4: when resizing, do not copy gdt blocks for groups that do not have them Theodore Ts'o
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Theodore Ts'o @ 2012-09-02  4:51 UTC (permalink / raw)
  To: Ext4 Developers List; +Cc: xiaoqiangnk, Theodore Ts'o

This patch series is based on a set of patches from Yongqiang Yang, with
some bug fixes.  In particular, we have to grow certain arrays which are
allocated at mount time.  Originally, they were allocated to be big
enough to cover the largest possible size they could be given the number
of reserved gdt blocks.  This wasted memory and doesn't work in the
meta_bg scheme, since there is no limit imposed at mkfs time.

Theodore Ts'o (2):
  ext4: grow the s_flex_groups array as needed when resizing
  ext4: grow the s_group_info array as needed

Yongqiang Yang (3):
  ext4: when resizing, do not copy gdt blocks for groups that do not
    have them
  ext4: avoid duplicate writes of the backup bg descriptor blocks
  ext4: add online resizing support for meta_bg and bit64

 fs/ext4/ext4.h    |   6 ++
 fs/ext4/ioctl.c   |  15 ----
 fs/ext4/mballoc.c |  79 +++++++++--------
 fs/ext4/resize.c  | 249 ++++++++++++++++++++++++++++++++++++++++--------------
 fs/ext4/super.c   |  48 ++++++++---
 5 files changed, 267 insertions(+), 130 deletions(-)

-- 
1.7.12.rc0.22.gcdd159b


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

end of thread, other threads:[~2012-09-03 16:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-02  4:51 [PATCH 0/5] meta_bg online resize patches Theodore Ts'o
2012-09-02  4:51 ` [PATCH 1/5] ext4: when resizing, do not copy gdt blocks for groups that do not have them Theodore Ts'o
2012-09-02  4:51 ` [PATCH 2/5] ext4: avoid duplicate writes of the backup bg descriptor blocks Theodore Ts'o
2012-09-02  4:51 ` [PATCH 3/5] ext4: grow the s_flex_groups array as needed when resizing Theodore Ts'o
2012-09-02  4:51 ` [PATCH 4/5] ext4: grow the s_group_info array as needed Theodore Ts'o
2012-09-02  4:51 ` [PATCH 5/5] ext4: add online resizing support for meta_bg and bit64 Theodore Ts'o
2012-09-03 16:33   ` [PATCH 5/5 -v2] ext4: add online resizing support for meta_bg and 64-bit 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).