summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2013-05-14 17:04:29 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2013-05-24 12:47:32 (GMT)
commitaf21ca8ed50f01c5278c5ded6dad6f05e8a5d2e4 (patch)
treeb946cf57b899c5c056da802ad95393028140e12e /init
parent37f715774e2dd9ae521334dbbc3af63becd47adb (diff)
downloadlinux-af21ca8ed50f01c5278c5ded6dad6f05e8a5d2e4.tar.xz
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 'init')
0 files changed, 0 insertions, 0 deletions