Messages in this thread | | | Date | Wed, 21 Nov 2012 05:57:32 -0500 | From | Christoph Hellwig <> | Subject | Re: [PATCH 2/4] mm: Only enforce stable page writes if the backing device requires it |
| |
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.
| |