summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorChristoph Hellwig2015-02-02 00:02:09 +0100
committerDave Chinner2015-02-02 00:02:09 +0100
commit2ba66237029d1ad6c1a5e2241b0ffbbfff55f750 (patch)
tree7c85d7aec5513c39b8037100bea2b023f1dc9e53 /fs/xfs/xfs_inode.h
parentxfs: change kmem_free to use generic kvfree() (diff)
downloadkernel-qcow2-linux-2ba66237029d1ad6c1a5e2241b0ffbbfff55f750.tar.gz
kernel-qcow2-linux-2ba66237029d1ad6c1a5e2241b0ffbbfff55f750.tar.xz
kernel-qcow2-linux-2ba66237029d1ad6c1a5e2241b0ffbbfff55f750.zip
xfs: don't allocate an ioend for direct I/O completions
Back in the days when the direct I/O ->end_io callback could be called from interrupt context for AIO we needed a structure to hand off to the workqueue, and reused the ioend structure for this purpose. These days ->end_io is always called from user or workqueue context, which allows us to avoid this memory allocation and simplify the code significantly. [dchinner: removed now unused xfs_finish_ioend_sync() function after Brian Foster did an initial review. ] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
0 files changed, 0 insertions, 0 deletions