[Ocfs2-tools-devel] [PATCH 05/13] libocfs2: Provide _nocache() versions of the I/O functions.
Sunil Mushran
sunil.mushran at oracle.com
Tue Jun 2 16:52:38 PDT 2009
Joel Becker wrote:
> Some I/O doesn't want to pollute the cache. The _nocache() I/O
> functions will not add blocks to the cache. If the blocks are already
> in the cache, they will make sure they are not broken. For example, a
> write needs to update an already existing cache block so that the cache
> doesn't have stale data. The blocks are not removed from the cache -
> they're already there, why make a reader go find them? They get moved
> to the end of the LRU so that they get stolen first.
>
> Signed-off-by: Joel Becker <joel.becker at oracle.com>
>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
More information about the Ocfs2-tools-devel
mailing list