From: Christoph Hellwig Date: Sun, 1 Feb 2015 23:02:09 +0000 (+1100) Subject: xfs: don't allocate an ioend for direct I/O completions X-Git-Tag: fixes-v4.0-rc1~157^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ba66237029d1ad6c1a5e2241b0ffbbfff55f750;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed