LWN.net Logo

The 2010 Linux Storage and Filesystem Summit, day 1

The 2010 Linux Storage and Filesystem Summit, day 1

Posted Apr 5, 2011 23:13 UTC (Tue) by butlerm (subscriber, #13312)
In reply to: The 2010 Linux Storage and Filesystem Summit, day 1 by jlayton
Parent article: The 2010 Linux Storage and Filesystem Summit, day 1

This sounds like a good idea, but suppose a file had several pages that were mapped into some processes' memory with PROT_WRITE access. Wouldn't this require the filesystem to do the following?:

(1) temporarily mark those pages as write only while writeback was in progress
(2) catch any page faults during that time
(3) either duplicate the page using a copy on write strategy or hold the faulting process until writeback on that page was complete?


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds