* question on bmap
@ 2003-01-22 15:15 David Chow
0 siblings, 0 replies; only message in thread
From: David Chow @ 2003-01-22 15:15 UTC (permalink / raw)
To: linux-fsdevel
Hi all,
I am writing a persistent disk cache for a network file system. Is it
true to use bmap() plus some buffer head ops, is generally faster than
readpage() and commit_write() paths? As I know the buffer head has a
reference to the page, that means in terms of memory consumption, they
are the same (please clarify)?? Not sure which is better.. it seems bmap
is lower level, but I'm not sure is there any equivalent code like
grab_cache_page() and read_cache_page() so that I can find so
in-page_cache pages to save some I/O time. Please advice on usage and
potential pitfalls. Thanks for any comments.
regards,
David Chow
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-22 15:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-22 15:15 question on bmap David Chow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).