diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-01-10 23:15:36 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2011-01-10 23:15:36 (GMT) |
commit | f0d26e860b6c496464c5c8165d7df08dabde01fa (patch) | |
tree | af6fe7630ff41ff6621e7d192d8d7333e1c65ac8 /fs/binfmt_flat.c | |
parent | 487f84f3f80bc6f00c59725e822653d3ec174b85 (diff) | |
download | linux-f0d26e860b6c496464c5c8165d7df08dabde01fa.tar.xz |
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/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions