]> 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)
commit155da22944438538b22d4f259ecdaf847d1723d3
treedba105610679c53136d97e19600629b763206b16
parent8cfd9e9960c70d0af3e63eb235024443752c0ec9
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