Re: [RFC] Badness in __mutex_unlock_slowpath with XFS stress tests

From: Christoph Hellwig
Date: Thu Mar 09 2006 - 07:03:11 EST


On Thu, Mar 09, 2006 at 01:24:38PM +0530, Suzuki wrote:
>
> Missed out linux-aio & linux-fs-devel lists. Forwarding.
>
> Comments ?

I've seen this too. The problem is that __generic_file_aio_read can return
with or without the i_mutex locked in the direct I/O case for filesystems
that set DIO_OWN_LOCKING. It's a nasty one and I haven't found a better solution
than copying lots of code from filemap.c into xfs.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/