Re: inode->i_dirty_buffers redundant ?

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Thu Jan 25 2001 - 16:30:20 EST


On Thu, 25 Jan 2001, Daniel Phillips wrote:

> "Stephen C. Tweedie" wrote:
> > We also maintain the
> > per-page buffer lists as caches of the virtual-to-physical mapping to
> > avoid redundant bmap()ping.
>
> Could you clarify that one, please?

Daniel,

With "physical mapping" Stephen means on-disk block number.

If the buffer(s) for a page are mapped with valid information (ie
BH_Mapped) we avoid calling get_block().

See?

-
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 : Wed Jan 31 2001 - 21:00:23 EST