Skip to content
  • Steven Whitehouse's avatar
    GFS2: Support for I/O barriers · 254db57f
    Steven Whitehouse authored
    
    
    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>
    254db57f