diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-12-20 18:09:22 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-12-20 21:29:41 +0100 |
commit | e0f1f021782d6a2e719a451218554a8198c77120 (patch) | |
tree | d6b41feda58c32cbc706fb123a9bf8d58ccd5e8d /block/blk-mq-pci.c | |
parent | 4d927b03a68846e4e791ccde6b4c274df02f11e9 (diff) |
gfs2: Lift withdraw check out of gfs2_ail1_empty
Lift the check for the SDF_WITHDRAWING flag out of gfs2_ail1_empty() and
into its callers. This is needed so that gfs2_flush_revokes() can drop
the sd_log_lock spinlock before triggering a withdraw if necessary.
Instead of checking for the SDF_WITHDRAWING flag, use
gfs2_withdrawing(). Also, the low-level code triggering the delayed
withdraw reports when there is a problem, so there is no need to report
that again.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'block/blk-mq-pci.c')
0 files changed, 0 insertions, 0 deletions