diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2023-11-15 21:55:27 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2024-01-04 18:47:56 +0300 |
commit | e3fd54e7dc5a7f3fb7bb7c33bee1361ca0c36ed3 (patch) | |
tree | d54e5ac5756e0a685e1efea807b03598b86bf371 /fs/nfs/callback.h | |
parent | a10a9233073d984b239e22358ba21825e27e2e88 (diff) | |
download | linux-e3fd54e7dc5a7f3fb7bb7c33bee1361ca0c36ed3.tar.xz |
NFSv4: Track the number of referring calls in struct cb_process_state
When the server gives us a set of referring calls, to tell us that the
NFSv4.1 callback needs to be ordered with respect to those calls, then
we may want to make that information available to the operations. In
certain cases, it may allow them to optimise their behaviour due to the
extra knowledge.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index ccd4f245cae2..cc1b6620a0c2 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h @@ -40,11 +40,12 @@ enum nfs4_callback_opnum { struct nfs4_slot; struct cb_process_state { - __be32 drc_status; struct nfs_client *clp; struct nfs4_slot *slot; - u32 minorversion; struct net *net; + u32 minorversion; + __be32 drc_status; + unsigned int referring_calls; }; struct cb_compound_hdr_arg { |