]> git.ipfire.org Git - thirdparty/linux.git/commit
gfs2: less aggressive low-memory log flushing
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 6 Mar 2026 17:05:48 +0000 (18:05 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 23 Mar 2026 19:55:28 +0000 (20:55 +0100)
commit7288185ce87ec70133b7bc3b694b0f74bf46a0ee
treebc6872cfc921bd9a93d04e6f6a918472155df694
parentbd67f17718ccb3e99ab834f4d32f848a471e6bbf
gfs2: less aggressive low-memory log flushing

It turns out that for some workloads, the fix in commit b74cd55aa9a9d
("gfs2: low-memory forced flush fixes") causes the number of forced log
flushes to increase to a degree that the overall filesystem performance
drops significantly.  Address that by forcing a log flush only when
gfs2_writepages cannot make any progress rather than when it cannot make
"enough" progress.

Fixes: b74cd55aa9a9d ("gfs2: low-memory forced flush fixes")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c