NFS/pNFS: Add a helper pnfs_generic_search_commit_reqs()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 20 Mar 2020 23:24:19 +0000 (19:24 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:35 +0000 (16:34 -0400)
commitfb6b53ba40a7c51a5347aeabaa32546efae7fba4
tree23a6af28cc110ac94b67130e85d365f59706afb6
parentba827c9abb0b413a4c87b68c87d39b310fc01101
NFS/pNFS: Add a helper pnfs_generic_search_commit_reqs()

Lift filelayout_search_commit_reqs() into the generic pnfs/nfs code,
and add support for commit arrays.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c