GFS2: Sort the ordered write list
authorBob Peterson <rpeterso@redhat.com>
Tue, 14 Feb 2012 19:49:57 +0000 (14:49 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 28 Feb 2012 17:10:53 +0000 (17:10 +0000)
commit4a36d08d0d1cba0581d1656739102ce936f26557
tree9cff2e9a41944f3b76507711d295fe2bd5f0f1d8
parent66fc061bda3526650328b73f69985da3518c4256
GFS2: Sort the ordered write list

This patch sorts the ordered write list for GFS2 writes.
This increases the throughput for simultaneous writes.
For example, if you have ten processes, all doing:
dd if=/dev/zero of=/mnt/gfs2/fileX
on different files, the throughput will be much better.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/log.c