On Thu, 16 Nov 2006 01:48:09 -0800
Andrew Morton [off-list ref] wrote:
On Thu, 16 Nov 2006 12:37:17 +0300
Alex Tomas [off-list ref] wrote:
quoted
quoted
quoted
quoted
quoted
quoted
Andrew Morton (AM) writes:
AM> What lock protects the fields in struct ext[234]_reserve_window from being
AM> concurrently modified by two CPUs? None, it seems. Ditto
AM> ext[234]_reserve_window_node. i_mutex will cover it for write(), but not
AM> for pageout over a file hole. If we end up with a zero- or negative-sized
AM> window then odd things might happen.
truncate_mutex?
yes. hmm.
by which I mean "ext2 doesn't have a truncate_mutex".