summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2025-03-28 22:47:02 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2025-05-22 09:12:27 +0200
commit5a90f8d499225512a385585ffe3e28f687263d47 (patch)
tree78f53bb8e170258c084a1387a0f8075d459702c0 /scripts/lib/kdoc/kdoc_files.py
parentd50a64e3c55e59e45e415c65531b0d76ad4cea36 (diff)
gfs2: Don't start unnecessary transactions during log flush
Commit 8d391972ae2d ("gfs2: Remove __gfs2_writepage()") changed the log flush code in gfs2_ail1_start_one() to call aops->writepages() instead of aops->writepage(). For jdata inodes, this means that we will now try to reserve log space and start a transaction before we can determine that the pages in question have already been journaled. When this happens in the context of gfs2_logd(), it can now appear that not enough log space is available for freeing up log space, and we will lock up. Fix that by issuing journal writes directly instead of going through aops->writepages() in the log flush code. Fixes: 8d391972ae2d ("gfs2: Remove __gfs2_writepage()") Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions