summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-10-01 23:02:28 (GMT)
committerDave Chinner <david@fromorbit.com>2014-10-01 23:02:28 (GMT)
commita870fe6dfaba1cc67424cde4cfd2cd3eee62bf35 (patch)
tree251fac0a8479c93c91f4c687668948078483c856 /fs/xfs/xfs_buf.c
parent52addcf9d6669fa439387610bc65c92fa0980cef (diff)
downloadlinux-a870fe6dfaba1cc67424cde4cfd2cd3eee62bf35.tar.xz
xfs: force the log before shutting down
When we have marked the filesystem for shutdown, we want to prevent any further buffer IO from being submitted. However, we currently force the log after marking the filesystem as shut down, hence allowing IO to the log *after* we have marked both the filesystem and the log as in an error state. Clean this up by forcing the log before we mark the filesytem with an error. This replaces the pure CIL flush that we currently have which works around this same issue (i.e the CIL can't be flushed once the shutdown flags are set) and hence enables us to clean up the logic substantially. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
0 files changed, 0 insertions, 0 deletions