[XFS] Delay direct I/O completion to a workqueue This is nessecary
commitf09738638d3bae6501e8e160c66233832d8c280f
authorChristoph Hellwig <hch@sgi.com>
Sun, 4 Sep 2005 22:22:52 +0000 (5 08:22 +1000)
committerNathan Scott <nathans@sgi.com>
Sun, 4 Sep 2005 22:22:52 +0000 (5 08:22 +1000)
treee205b44c883da5b9ba37741bf5763b5e85d2bcfa
parent65b3da3705ff873d8704074a75ac983495863380
[XFS] Delay direct I/O completion to a workqueue  This is nessecary
because aio+dio completions may happen from irq context but we need
process context for converting unwritten extents.  We also queue regular
direct I/O completions to workqueue for regularity, there's only one
queue_work call per syscall.

SGI-PV: 934766
SGI-Modid: xfs-linux:xfs-kern:196857a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_lrw.c