diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-09-26 10:23:22 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-09-26 10:23:22 +0100 |
commit | 254db57f9b12daba841a4d91ddb9a8161e9c74ba (patch) | |
tree | e5d4f107d8bdf6278738c85a67b54d96d1a900e8 /kernel/res_counter.c | |
parent | 6d80c39f9155e289fe8037a8b6352931ff916ceb (diff) | |
download | op-kernel-dev-254db57f9b12daba841a4d91ddb9a8161e9c74ba.zip op-kernel-dev-254db57f9b12daba841a4d91ddb9a8161e9c74ba.tar.gz |
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: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'kernel/res_counter.c')
0 files changed, 0 insertions, 0 deletions