diff options
author | Bob Peterson <rpeterso@redhat.com> | 2019-11-14 17:53:36 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2019-11-14 21:47:05 +0300 |
commit | 60528afa78667baf5ffe8e57ccbe77cd024534c5 (patch) | |
tree | 5a86896db148d68d05326c5243b4de61578d1e4e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f155f5e01090beb317698df00629b7af4e18df6b (diff) | |
download | linux-60528afa78667baf5ffe8e57ccbe77cd024534c5.tar.xz |
gfs2: Don't loop forever in gfs2_freeze if withdrawn
Before this patch, function gfs2_freeze would loop forever if the
filesystem it tries to freeze is withdrawn. That's because function
gfs2_lock_fs_check_clean tries to enqueue the glock of the journal and
the gfs2_glock returns -EIO because you can't enqueue a journaled glock
after a withdraw.
Move the check for file system withdraw inside the loop so that the loop
can end when withdraw occurs.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions