]> 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)
commitcfc61deedffc0da250311bf774ebde6605c2617f
tree258f4e3d384e451c921c5e0c503fd368f236a20a
parent56543f9f9082338076f2d33db840ed0788e3e78b
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