Re: [PATCH] Useless inode semaphore locking in 2.4.0-test8

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Sep 19 2000 - 05:27:01 EST


Hi,

On Fri, Sep 15, 2000 at 08:31:43AM -0400, Alexander Viro wrote:

> > Also truncate inode locking is needed to get a halfway reliable loopback
> > device (unlike the current one)
>
> ?
> 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.

Cheers,
 Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:20 EST