Christoph Hellwig 2ba6623702 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>
2015-02-02 10:02:09 +11:00
..
2014-07-30 09:12:05 +10:00
2014-07-15 08:07:01 +10:00
2014-06-25 14:58:08 +10:00
2014-07-24 20:49:57 +10:00
2014-12-12 09:48:17 -08:00
2014-07-30 09:12:05 +10:00
2014-09-09 11:52:42 +10:00
2014-07-30 09:12:05 +10:00