Subject: Re: about untar performance on -current
To: enami tsugutomo <enami@but-b.or.jp>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 04/16/2001 08:05:56
On Sun, Apr 15, 2001 at 09:24:23AM +0900, enami tsugutomo wrote:
> Chuck Silvers <chuq@chuq.com> writes:
> 
> > yes.  when the fragment is extended to a full block (perhaps due to a someone
> > seeking a ways past EOF and writing there), we need to flush the whole block,
> > not just the part that was previously in the file.  we could do a better job
> > of doing this flushing only when we really need to, though.
> 
> Then, we need to flush top of new range also, don't we?  I.e., between
> trunc_page(off) & ~(bsize - 1) and trunc_page(off).

that will be flushed in ffs_write(), won't it?
(actually it's trunc_page(off) & ~(bsize - 1) to round_page(off).)

-Chuck