Messages in this thread | | | Date | Mon, 17 May 1999 17:40:47 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: Deletion of big files... |
| |
On Mon, 17 May 1999, Theodore Y. Ts'o wrote:
> Date: Mon, 17 May 1999 03:23:56 -0400 (EDT) > From: Alexander Viro <viro@math.psu.edu> > > I'm not sure... Look: we spend time *not* in unlink() pre se. It's a final > truncate(). And at the moment when it's called we *know* that we are sole > owners of the thing and nothing else will ever try to touch it. > > Careful here. One the reasons why truncate is so complicated is that we > are *not* always the sole owners of the file. This comes up because > truncate() isn't just called from unlink. It can also be called from
Yes, indeed. Sorry, I should have formulate it more clean - what I mean is that since we have a very special case in delete_inode() we might simplify *this case* big way compared to full-fledged truncate().
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |