Re: [RFC] generic IO write clustering

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Sat Jan 20 2001 - 11:00:24 EST

  • Next message: Carles Pina i Estany: "RE: PCMCIA Cards on 2.4.0"

    On Sat, 20 Jan 2001, Christoph Hellwig wrote:

    > On Sat, Jan 20, 2001 at 01:24:40PM -0200, Marcelo Tosatti wrote:
    > > In case the metadata was not already cached before ->cluster() (in this
    > > case there is no disk IO at all), ->cluster() will cache it avoiding
    > > further disk accesses by writepage (or writepages()).
    >
    > True. But you have to go through ext2_get_branch (under the big kernel
    > lock) - if we can do only one logical->physical block translations,
    > why doing it multiple times?

    You dont. If the metadata is cached and uptodate there is no need to call
    get_block().

    -
    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 Jan 20 2001 - 12:51:45 EST