Thread (27 messages) flat view 27 messages, 5 authors, 2012-12-10

Re: [PATCH 2/4] mm: Only enforce stable page writes if the backing device requires it

From: Christoph Hellwig <hch@infradead.org>
Date: 2012-11-21 10:57:32
Also in: linux-fsdevel, lkml

On Tue, Nov 20, 2012 at 06:00:41PM -0800, Darrick J. Wong wrote:
Create a helper function to check if a backing device requires stable page
writes and, if so, performs the necessary wait.  Then, make it so that all
points in the memory manager that handle making pages writable use the helper
function.  This should provide stable page write support to most filesystems,
while eliminating unnecessary waiting for devices that don't require the
feature.
+void wait_if_stable_page_write(struct page *page)
wait_for_stable_page() ?

Also this really needs a kerneldoc comment describing the usage.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help