From: Theodore Ts'o <tytso@mit.edu>
To: Ext4 Developers List <linux-ext4@vger.kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Subject: [PATCH 00/19] V2 Bigalloc patches
Date: Tue, 3 May 2011 18:24:30 -0400 [thread overview]
Message-ID: <1304461490-11056-1-git-send-email-tytso@mit.edu> (raw)
This is the revised bigalloc patches. This version survives xfstests
with the -o block_validity mount option. I've attached the e2fsprogs
patches needed so that we can create an bigalloc filesystem. This is
**not** the final version of the e2fsprogs changes. Those are currently
in process of being developed.
This is primarily because some folks at the file system summit wanted to
see the in-progress patches.
This patch set is based off of the current ext4 "master" branch. (There
is a bigalloc branch on the ext4 tree which also contains these
commits.) These patches **will** conflict with the punch patches from
Allison and Mingming, so this patch set will definitely be changing
after I pull in the punch patches into the ext4 tree.
- Ted
Theodore Ts'o (19):
ext4: read-only support for bigalloc file systems
ext4: enforce bigalloc restrictions (e.g., no online resizing, etc.)
ext4: convert instances of EXT4_BLOCKS_PER_GROUP to
EXT4_CLUSTERS_PER_GROUP
ext4: factor out block group accounting into functions
ext4: split out ext4_free_blocks_after_init()
ext4: bigalloc changes to block bitmap initialization functions
ext4: convert block group-relative offsets to use clusters
ext4: teach mballoc preallocation code about bigalloc clusters
ext4: teach ext4_free_blocks() about bigalloc and clusters
ext4: teach ext4_ext_map_blocks() about the bigalloc feature
ext4: teach ext4_ext_truncate() about the bigalloc feature
ext4: convert s_freeblocks_counter to s_freeclusters_counter
ext4: convert the free_blocks field in s_flex_groups to be
free_clusters
ext4: teach ext4_statfs() to deal with clusters if bigalloc is
enabled
ext4: tune mballoc's default group prealloc size for bigalloc file
systems
ext4: enable mounting bigalloc as read/write
ext4: Rename ext4_free_blks_{count,set}() to refer to clusters
ext4: rename ext4_count_free_blocks() to ext4_count_free_clusters()
ext4: rename ext4_free_blocks_after_init() to
ext4_free_clusters_after_init()
fs/ext4/balloc.c | 302 ++++++++++++++++++++++++++++++++---------------------
fs/ext4/ext4.h | 64 ++++++++---
fs/ext4/extents.c | 241 +++++++++++++++++++++++++++++++++++++-----
fs/ext4/ialloc.c | 72 ++++++-------
fs/ext4/inode.c | 19 +++-
fs/ext4/ioctl.c | 33 +++++-
fs/ext4/mballoc.c | 256 ++++++++++++++++++++++++++++-----------------
fs/ext4/mballoc.h | 9 +-
fs/ext4/resize.c | 10 +-
fs/ext4/super.c | 139 ++++++++++++++++++-------
10 files changed, 792 insertions(+), 353 deletions(-)
--
1.7.3.1
next reply other threads:[~2011-05-03 22:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-03 22:24 Theodore Ts'o [this message]
2011-05-03 22:24 ` [PATCH 01/19] ext4: read-only support for bigalloc file systems Theodore Ts'o
2011-05-03 22:24 ` [PATCH 02/19] ext4: enforce bigalloc restrictions (e.g., no online resizing, etc.) Theodore Ts'o
2011-05-03 22:24 ` [PATCH 03/19] ext4: convert instances of EXT4_BLOCKS_PER_GROUP to EXT4_CLUSTERS_PER_GROUP Theodore Ts'o
2011-05-03 22:24 ` [PATCH 04/19] ext4: factor out block group accounting into functions Theodore Ts'o
2011-05-03 22:24 ` [PATCH 05/19] ext4: split out ext4_free_blocks_after_init() Theodore Ts'o
2011-05-03 22:24 ` [PATCH 06/19] ext4: bigalloc changes to block bitmap initialization functions Theodore Ts'o
2011-05-03 22:24 ` [PATCH 07/19] ext4: convert block group-relative offsets to use clusters Theodore Ts'o
2011-05-03 22:24 ` [PATCH 08/19] ext4: teach mballoc preallocation code about bigalloc clusters Theodore Ts'o
2011-05-03 22:24 ` [PATCH 09/19] ext4: teach ext4_free_blocks() about bigalloc and clusters Theodore Ts'o
2011-05-03 22:24 ` [PATCH 10/19] ext4: teach ext4_ext_map_blocks() about the bigalloc feature Theodore Ts'o
2011-05-03 22:24 ` [PATCH 11/19] ext4: teach ext4_ext_truncate() " Theodore Ts'o
2011-05-03 22:24 ` [PATCH 12/19] ext4: convert s_freeblocks_counter to s_freeclusters_counter Theodore Ts'o
2011-05-03 22:24 ` [PATCH 13/19] ext4: convert the free_blocks field in s_flex_groups to be free_clusters Theodore Ts'o
2011-05-03 22:24 ` [PATCH 14/19] ext4: teach ext4_statfs() to deal with clusters if bigalloc is enabled Theodore Ts'o
2011-05-03 22:24 ` [PATCH 15/19] ext4: tune mballoc's default group prealloc size for bigalloc file systems Theodore Ts'o
2011-05-03 22:24 ` [PATCH 16/19] ext4: enable mounting bigalloc as read/write Theodore Ts'o
2011-05-03 22:24 ` [PATCH 17/19] ext4: Rename ext4_free_blks_{count,set}() to refer to clusters Theodore Ts'o
2011-05-03 22:24 ` [PATCH 18/19] ext4: rename ext4_count_free_blocks() to ext4_count_free_clusters() Theodore Ts'o
2011-05-03 22:24 ` [PATCH 19/19] ext4: rename ext4_free_blocks_after_init() to ext4_free_clusters_after_init() Theodore Ts'o
2011-05-03 22:24 ` [E2FSPROGS PATCH] Interim patches for e2fsprogs Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1304461490-11056-1-git-send-email-tytso@mit.edu \
--to=tytso@mit.edu \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).