]> git.baikalelectronics.ru Git - kernel.git/commit
identify multipage ->writepages() calls
authorAndrew Morton <akpm@osdl.org>
Wed, 16 Nov 2005 23:07:01 +0000 (15:07 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:38 +0000 (14:58 -0500)
commitdfe0daa112e1a82e22194c52b090797cb4e20a6c
tree960c0ad3d10fa208a31b78256788f332e5ebdd48
parent98aaf639c507ef7d894097d0786df4f3d2923fa2
identify multipage ->writepages() calls

 NFS needs to be able to distinguish between single-page ->writepage() calls and
 multipage ->writepages() calls.

 For the single-page writepage calls NFS can kick off the I/O within the
 context of ->writepage().

 For multipage ->writepages calls, nfs_writepage() will leave the I/O pending
 and nfs_writepages() will kick off the I/O when it all has been queued up
 within NFS.

Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/writeback.h
mm/page-writeback.c