Re: [BUG?] possible recursive locking detected

From: Andrew Morton
Date: Thu Jul 27 2006 - 04:52:12 EST


On Thu, 27 Jul 2006 09:19:58 +0100
Anton Altaparmakov <aia21@xxxxxxxxx> wrote:

> b) is impossible for ntfs.

ntfs write() is already doing GFP_HIGHUSER allocations inside i_mutex.

Presumably there's some reason why it isn't deadlocking at present. Could
be that we'll end up deciding to make lockdep shut up about cross-fs
i_mutex-takings, but that's a bit lame because if some other fs starts
taking i_mutex in the reclaim path we're exposed to ab/ba deadlocks, and
they won't be reported.

But sorry, we just cannot go and require that write()'s pagecache
allocations not be able to write dirty data, not be able to strip buffers
from clean pages and not be able to reclaim slab.
-
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/