]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit577c72168eb346c9dbd0129ac89ebbdb2b4aefb9
treedba105610679c53136d97e19600629b763206b16
parentfe9dc65ff4938c25a931645c07e6f4f35047688d
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