Skip to content
  • Christoph Hellwig's avatar
    xfs: enforce synchronous writes in xfs_bwrite · 8c38366f
    Christoph Hellwig authored
    
    
    xfs_bwrite is used with the intention of synchronously writing out
    buffers, but currently it does not actually clear the async flag if
    that's left from previous writes but instead implements async
    behaviour if it finds it.  Remove the code handling asynchronous
    writes as we've got rid of those entirely outside of the log and
    delwri buffers, and make sure that we clear the async and read flags
    before writing the buffer.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
    8c38366f