summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/enrich_formatter.py
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2025-10-29 21:00:18 +0000
committerAndreas Gruenbacher <agruenba@redhat.com>2025-11-26 23:52:28 +0000
commit83348905e4137742c93bfd8104ce71c637121d38 (patch)
treeb99f3a9ed3db3f7efcbc67ce84e31336db22a264 /tools/lib/python/kdoc/enrich_formatter.py
parent16c31979840399e6e5542f861c6fb18f9086f3c9 (diff)
gfs2: Clean up SDF_JOURNAL_LIVE flag handling
Change do_withdraw() to clear the SDF_JOURNAL_LIVE flag under the log flush lock. In addition, change __gfs2_trans_begin() to check if the filesystem is already known to be withdrawn using gfs2_withdrawn(). Then, once we are holding the log flush lock, check if the SDF_JOURNAL_LIVE flag is still set. This second check ensures that the filesystem will remain live until the transaction is submitted. With these changes, it is no longer useful to clear SDF_JOURNAL_LIVE in gfs2_end_log_write() after calling gfs2_withdraw(). Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/enrich_formatter.py')
0 files changed, 0 insertions, 0 deletions