Re: [2.6.29-rc5][BUG] swapon on vfat file gets stuck on inode lock

From: Christoph Hellwig
Date: Mon Mar 16 2009 - 04:34:44 EST


On Wed, Mar 11, 2009 at 08:53:14AM -0700, Linus Torvalds wrote:
> I dunno. No other filesystem has _any_ locking in their bmap that I can
> see, so I strongly suspect that fat doesn't need it either.

XFS has proper locking using it's own locks.

Then again Peter had patchset somewhere to implement proper aops for
swap instead of abusing -bmap to implement swap over NFS, which should
be able to fix this for fat, too.
--
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/