xfs: cleanup I/O-related buffer flags
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:36:32 +0000 (14:36 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:36:32 +0000 (14:36 +0200)
commit1d5ae5dfeee024d51fb2c0205035d7611a8f0c86
tree080047368d17c754cea7ed2079b2a0b05c3dd857
parentc8da0faf6b07623c473cab42967f943ad4ab7560
xfs: cleanup I/O-related buffer flags

Remove the unused and misnamed _XBF_RUN_QUEUES flag, rename XBF_LOG_BUFFER
to the more fitting XBF_SYNCIO, and split XBF_ORDERED into XBF_FUA and
XBF_FLUSH to allow more fine grained control over the bio flags.  Also
cleanup processing of the flags in _xfs_buf_ioapply to make more sense,
and renumber the sparse flag number space to group flags by purpose.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h
fs/xfs/xfs_log.c