Skip to content

RFC Multiple block allocation and delayed allocation for ext3

Mingming Cao linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Multiple block allocation for ext3fs/ext3/balloc.c fs/ext3/inode.c fs/ext3/xattr.c +1 more+458 -480 replies
2/4delayed allocation for ext3fs/buffer.c fs/ext3/inode.c fs/ext3/super.c +1 more+29 -55 replies
3/4generic getblocks() support in mpage_writepagesfs/buffer.c fs/ext2/inode.c fs/ext3/inode.c +14 more+270 -1360 replies
4/4add ext3 writeback writpagesfs/ext3/inode.c fs/mpage.c include/linux/mpage.h+153 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC] [PATCH 0/4]Multiple block allocation and delayed allocation for ext3

Hi All,

Here are the updated patches to support multiple block allocation and delayed allocation for ext3 done by me, Badari and Suparna.

[PATCH 1/4] -- multiple block allocation for current ext3. (ext3_get_blocks()).

[PATCH 2/4] -- adding delayed allocation for writeback mode

[PATCH 3/4] -- generic support for cluster pages together in mapge_writepages() to make use of getblocks()

[PATCH 4/4] -- support multiple block allocation for ext3 writeback mode through writepages().

Have done initial testing on dbench and tiobench on a 2.6.11 version of this patch set. Dbench 8 thread throughput result is increased by 20% with this patch set.

dbench comparison: (ext3-dm represents ext3+thispatchset)
http://www.sudhaa.com/~ram/ols2005presentation/dbench.jpg
tiobench comparison:
http://www.sudhaa.com/~ram/ols2005presentation/tio_seq_write.jpg

Todo:
- bmap() support for delayed allocation
- page reserve flag to indicate the delayed allocation
- ordered mode support for delayed allocation
- "bh" support to enable blocksize = 1k/2k filesystems

Cheers,

Mingming