diff options
author | Bob Peterson <[email protected]> | 2019-11-13 13:58:30 -0600 |
---|---|---|
committer | Bob Peterson <[email protected]> | 2020-02-27 07:53:18 -0600 |
commit | 2ca0c2fbf3ed7f9609333a996149d02f70e8a6f3 (patch) | |
tree | 9d889f9dbf31be4cd97776eb99f97056eca09716 /lib/test_overflow.c | |
parent | b1676cbb11153b5bf4dd9e6c99869b284fb8160e (diff) |
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 <[email protected]>
Reviewed-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions