mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
GFS2: Clean up log flush header writing
We already send both a pre and post flush to the block device when writing a journal header. There is no need to wait for the previous I/O specifically when we do this, unless we've turned "barriers" off. As a side effect, this also cleans up the code path for flushing the journal and makes it more readable. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
75ca61c101
commit
34cc1781c2
1 changed files with 66 additions and 65 deletions
131
fs/gfs2/log.c
131
fs/gfs2/log.c
Loading…
Add table
Add a link
Reference in a new issue