lkml.org 
[lkml]   [1999]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.093 / U:5.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site