]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Wait for writeback when grabbing pages to begin a write
authorDarrick J. Wong <djwong@us.ibm.com>
Fri, 27 May 2011 19:23:34 +0000 (12:23 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 May 2011 05:03:21 +0000 (01:03 -0400)
commitf919be1a2aa4c26f326ca83134a4af2bb9211c53
tree258f4e3d384e451c921c5e0c503fd368f236a20a
parentaca891cc3485319487e551f3f2eef76029dcae81
mm: Wait for writeback when grabbing pages to begin a write

When grabbing a page for a buffered IO write, the mm should wait for writeback
on the page to complete so that the page does not become writable during the IO
operation.  This change is needed to provide page stability during writes for
all filesystems.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/filemap.c