summaryrefslogtreecommitdiffstats
path: root/fs/ext2
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-01-11 10:15:36 +1100
committerDave Chinner <david@fromorbit.com>2011-01-11 10:15:36 +1100
commitf0d26e860b6c496464c5c8165d7df08dabde01fa (patch)
treeaf6fe7630ff41ff6621e7d192d8d7333e1c65ac8 /fs/ext2
parent487f84f3f80bc6f00c59725e822653d3ec174b85 (diff)
downloadtalos-obmc-linux-f0d26e860b6c496464c5c8165d7df08dabde01fa.tar.gz
talos-obmc-linux-f0d26e860b6c496464c5c8165d7df08dabde01fa.zip
xfs: split direct IO write path from xfs_file_aio_write
The current xfs_file_aio_write code is a mess of locking shenanigans to handle the different locking requirements of buffered and direct IO. Start to clean this up by disentangling the direct IO path from the mess. This also removes the failed direct IO fallback path to buffered IO. XFS handles all direct IO cases without needing to fall back to buffered IO, so we can safely remove this unused path. This greatly simplifies the logic and locking needed in the write path. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud