* write back caching, async writes
@ 2002-04-20 17:56 David Chow
0 siblings, 0 replies; only message in thread
From: David Chow @ 2002-04-20 17:56 UTC (permalink / raw)
To: linux-fsdevel
If I want to implement a write back cache or async write in an fs, how
can I make vfs call back to write by cache or any way to schedule some
tasks so that the kernel will commit the current task but have a call
back later? For filesystem methods, it seems it is a process context
stuff, the only way I can think is to use mark_inode_dirty() so that vfs
will call my write_inode() super_block_ops so that it works like
schedule something to write later. If so, how can I retain the page
cache that has already called to my commit_write() so that those clean
pages (actually not in disk for async case) can be retained and I can
make use of those pages when I actuallly sync the data to disk. Or
should I have a private researved area of buffer to take care of those
async pages? Please give suggestions. Thanks.
David
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-20 17:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-20 17:56 write back caching, async writes David Chow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox