linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Writing out a (file) mmapped page
@ 2005-06-12 16:49 Martin Jambor
  2005-06-13  2:32 ` Coywolf Qi Hunt
  2005-06-14 15:36 ` Anton Altaparmakov
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jambor @ 2005-06-12 16:49 UTC (permalink / raw)
  To: linux-fsdevel

Hi,

I have spent a few hours trying to find out how dirty mmapped pages
are written out in filesystems using the "generic" functions but so
far I have not been successful. The main thing that escapes me is the
following:

block_write_full_page() writes out only buffers marked dirty or whole
page when there are no buffers associated with it. Where in kernel are
buffers either marked dirty or stripped off a mmaped page when the
page itself becomes dirty?  I would be very grateful for a pointer to
the source, possibly accompanied by a brief explanation of how it gets
called.

One comment in buffer.c suggests aops->prepare_write is called by a
pagefault handler for mmaped pages but I found no such call (using
cscope).

Thank you very much for any comment on this,

Martin Jambor

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-14 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-12 16:49 Writing out a (file) mmapped page Martin Jambor
2005-06-13  2:32 ` Coywolf Qi Hunt
2005-06-13  6:57   ` Jörn Engel
2005-06-14 15:36 ` Anton Altaparmakov
2005-06-14 16:37   ` Nikita Danilov

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).