aboutsummaryrefslogtreecommitdiff
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorBob Peterson2008-01-11 13:44:50 -0600
committerSteven Whitehouse2008-01-25 08:19:03 +0000
commit05220535196d413db434527a3edcba79b7187df8 (patch)
tree5811b6f1caeac55102afb993f0b1538bbe9ed2b8 /lib/smp_processor_id.c
parent598278bd4808ed81b0e6fa445458a7d549f72a32 (diff)
[GFS2] gfs2_alloc_required performance
This is a small I/O performance enhancement to gfs2. (Actually, it is a rework of an earlier version I got wrong). The idea here is to check if the write extends past the last block in the file. If so, the function can save itself a lot of time and trouble because it knows an allocate will be required. Benchmarks like iozone should see better performance. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions