pnfs: support multiple verfs per direct req
authorWeston Andros Adamson <dros@primarydata.com>
Thu, 15 May 2014 15:56:54 +0000 (11:56 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:48 +0000 (11:11 -0400)
commit5002c58639d41b93e800c8a4b7eca49c40d57822
treeb9d9981b3396f4f7a5f518f905d8a1199e087509
parent7f714720fac03383d687dbe39494cc96b845bd46
pnfs: support multiple verfs per direct req

Support direct requests that span multiple pnfs data servers by
comparing nfs_pgio_header->verf to a cached verf in pnfs_commit_bucket.
Continue to use dreq->verf if the MDS is used / non-pNFS.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/direct.c
fs/nfs/nfs4filelayout.c
include/linux/nfs.h
include/linux/nfs_xdr.h