Skip to content
Commit 254db57f authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Support for I/O barriers



This patch adds barrier support to GFS2. There is not a lot of change
really... we just add the barrier flag when we write journal header
blocks. If the underlying device refuses to support them, we fall back
to the previous way of doing things (wait for the I/O and hope) since
there is nothing else we can do. There is no user configuration,
barriers will always be on unless the device refuses to support them.
This seems a reasonable solution to me since this is a correctness
issue.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 6d80c39f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment