• Dave Chinner's avatar
    xfs: split direct IO write path from xfs_file_aio_write · f0d26e86
    Dave Chinner authored
    
    
    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: default avatarDave Chinner <dchinner@redhat.com>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    f0d26e86
xfs_file.c 26 KB