aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/Kconfig
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2013-05-14 13:04:29 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2013-05-24 13:47:32 +0100
commitaf21ca8ed50f01c5278c5ded6dad6f05e8a5d2e4 (patch)
treeb946cf57b899c5c056da802ad95393028140e12e /fs/gfs2/Kconfig
parentGFS2: two minor quota fixups (diff)
downloadlinux-dev-af21ca8ed50f01c5278c5ded6dad6f05e8a5d2e4.tar.xz
linux-dev-af21ca8ed50f01c5278c5ded6dad6f05e8a5d2e4.zip
GFS2: Use single-block reservations for directories
This patch changes the multi-block allocation code, such that directory inodes only get a single block reserved in the bitmap. That way, the bitmaps are more tightly packed together, and there are fewer spans of free blocks for in-use block reservations. This means it takes less time to find a free span of blocks in the bitmap, which speeds things up. This increases the performance of some workloads by almost 2X. In Nate's mockup.py script (which does (1) create dir, (2) create dir in dir, (3) create file in that dir) the test executes in 23 steps rather than 43 steps, a 47% performance improvement. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/Kconfig')
0 files changed, 0 insertions, 0 deletions