]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
ext2fs: parallel bitmap loading
authorWang Shilong <wshilong@ddn.com>
Wed, 18 Nov 2020 15:39:32 +0000 (07:39 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 5 Dec 2020 04:24:17 +0000 (23:24 -0500)
commiteed01b7ec77b96d4dc180410b87c58984b1457ab
tree04bc202d69f7a05e9662f78ac6789d16523544e3
parent8bc6aaea76cce21cd39a64e601931047d73f0344
ext2fs: parallel bitmap loading

In our benchmarking for PiB size filesystem, pass5 takes
10446s to finish and 99.5% of time takes on reading bitmaps.

It makes sense to reading bitmaps using multiple threads,
a quickly benchmark show 10446s to 626s with 64 threads.

[ This has all of many bug fixes for rw_bitmaps.c from the original
  luster patch set collapsed into a single commit.   In addition it has
  the new ext2fs_rw_bitmaps() api proposed by Ted. ]

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Signed-off-by: Saranya Muruganandam <saranyamohan@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2fs.h
lib/ext2fs/rw_bitmaps.c