diff options
author | 2019-11-13 13:58:30 -0600 | |
---|---|---|
committer | 2020-02-27 07:53:18 -0600 | |
commit | 2ca0c2fbf3ed7f9609333a996149d02f70e8a6f3 (patch) | |
tree | 9d889f9dbf31be4cd97776eb99f97056eca09716 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | gfs2: Withdraw in gfs2_ail1_flush if write_cache_pages fails (diff) | |
download | linux-dev-2ca0c2fbf3ed7f9609333a996149d02f70e8a6f3.tar.xz linux-dev-2ca0c2fbf3ed7f9609333a996149d02f70e8a6f3.zip |
gfs2: drain the ail2 list after io errors
Before this patch, gfs2_logd continually tried to flush its journal
log, after the file system is withdrawn. We don't want to write anything
to the journal, lest we add corruption. Best course of action is to
drain the ail1 into the ail2 list (via gfs2_ail1_empty) then drain the
ail2 list with a new function, ail2_drain.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions