[rfc] buffered write deadlock fix

From: Nick Piggin
Date: Fri Oct 13 2006 - 12:44:31 EST


The following set of patches attempt to fix the buffered write
locking problems.

While looking at this deadlock, it became apparent that there are
several others which are equally bad or worse. It will be very
good to fix these.

I ceased to become an admirer of this problem when it stopped my
pagefault vs invalidate race fix from being merged!

Review and comments would be very nice. Testing only if you don't
value your data. I realise all filesystem developers are busy
solving the 10TB fsck problem now, but if you could please take a
minute to look at the fs/ changes, and also ensure your
filesystem's prepare and commit_write handlers aren't broken.

Sorry for the shotgun mail. It is your fault for ever being
mentioned in the same email as the buffered write deadlock ;)

Thanks,
Nick

--
SuSE Labs

-
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/