NFS: Allow the nfs_pageio_descriptor to signal that a re-coalesce is needed
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Jul 2011 17:42:02 +0000 (13:42 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Jul 2011 13:12:21 +0000 (09:12 -0400)
commitd9156f9f364897e93bdd98b4ad22138de18f7c24
treef748c7b8d4a0eff52fcaa78fb4de216391efedf2
parentd097971d8ab4042eaa4bff98698ae9cc55942327
NFS: Allow the nfs_pageio_descriptor to signal that a re-coalesce is needed

If an attempt to do pNFS fails, and we have to fall back to writing through
the MDS, then we may want to re-coalesce the requests that we already have
since the block size for the MDS read/writes may be different to that of
the DS read/writes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pagelist.c
include/linux/nfs_page.h