On Tue, 19 Sep 2000, Stephen C. Tweedie wrote:

> > ?
> > I'm afraid that I've lost you here - what do you mean?
> 
> loop does a bmap() and then submits block IO.  You don't want
> truncate() to revoke blocks in between the bmap and the IO completion.

It used to do bmap(), but unless somebody restored that bogosity it
shouldn't do that anymore. It gets page, locks it, does prepare_write(),
copies the data, does commit_write() and unlocks the page - same as
generic_file_write(). So that shouldn't be a problem - truncate would have
to wait until the page gets unlocked.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to