gfs2: Trim the ordered write list in gfs2_ordered_write()
authorAbhi Das <adas@redhat.com>
Fri, 22 Dec 2017 13:55:31 +0000 (07:55 -0600)
committerBob Peterson <rpeterso@redhat.com>
Fri, 22 Dec 2017 13:55:31 +0000 (07:55 -0600)
commit1f23bc7869fffec40b8bd9333a74a18d1de54d98
treedba105610679c53136d97e19600629b763206b16
parent588bff95c94efc05f9e1a0b19015c9408ed7c0ef
gfs2: Trim the ordered write list in gfs2_ordered_write()

We iterate through the entire ordered writes list in
gfs2_ordered_write() to write out inodes. It's a good
place to try and shrink the list by throwing out inodes
that don't have any pages.

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