diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-03-18 17:22:47 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-03-26 10:52:04 -0400 |
commit | d7242c4641fba521a1ea9dbccb11a40cf38cd912 (patch) | |
tree | 836c15785364b60705e6999b6a4176c13b94a768 /fs/nfs/pnfs.h | |
parent | 19573c939a854483c7c44e939821776db251596b (diff) | |
download | linux-stable-d7242c4641fba521a1ea9dbccb11a40cf38cd912.tar.gz linux-stable-d7242c4641fba521a1ea9dbccb11a40cf38cd912.tar.bz2 linux-stable-d7242c4641fba521a1ea9dbccb11a40cf38cd912.zip |
pNFS: Add a helper to allocate the array of buckets
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 7bfb6970134a..f6b1099aa151 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -366,6 +366,9 @@ bool nfs4_test_deviceid_unavailable(struct nfs4_deviceid_node *node); void nfs4_deviceid_purge_client(const struct nfs_client *); /* pnfs_nfs.c */ +struct pnfs_commit_array *pnfs_alloc_commit_array(size_t n, gfp_t gfp_flags); +void pnfs_free_commit_array(struct pnfs_commit_array *p); + void pnfs_generic_clear_request_commit(struct nfs_page *req, struct nfs_commit_info *cinfo); void pnfs_generic_commit_release(void *calldata); |