OSDN Git Service

GFS2: Sort buffer lists by inplace block number
authorBenjamin Marzinski <bmarzins@redhat.com>
Tue, 7 May 2013 14:58:49 +0000 (09:58 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 5 Jun 2013 08:50:20 +0000 (09:50 +0100)
commit7f63257da1aeea9b2ee68f469b0f9f4a39e5dff8
tree1280ffbf443083b54e197163b1fe7102a7102bd6
parent844ce9f2044723a9da0f4bce588cca410e774d24
GFS2: Sort buffer lists by inplace block number

This patch simply sort the data and metadata buffer lists by their
inplace block number.  This makes gfs2_log_flush issue the inplace IO
in sequential order, which will hopefully speed up writing the IO
out to disk.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/lops.c