[lkml]   [2008]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] aio: invalidate async directio writes
On Wed, Jun 18, 2008 at 03:45:28PM -0400, Jeff Moyer wrote:
> > Can we please move all these aio_complete calls to user context? Having
> > AIO contexts completing from irq context is a major pain for complex
> > filesystems like XFS.
> Can you help me understand why this is a pain? I'm having trouble
> making the connection.

With your patch we complete aio dio write request in user context, which
is great for filesystems that need to do more complex activity in the
completion handler, e.g. XFS for the unwritten extent conversion. But
only doing this for the write case is only very partially useful, we
should be doing this for the read case, too.

See fs/xfs/linux-2.6/xfs_aops.c:xfs_end_io_direct() for what I mean.

 \ /
  Last update: 2008-06-18 21:51    [W:0.036 / U:1.732 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site