NFSv4.1: Allow SEQUENCE to resize the slot table on the fly
Instead of an array of slots, use a singly linked list of slots that can be dynamically appended to or shrunk. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Tento commit je obsažen v:
@@ -258,10 +258,10 @@ extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
|
||||
extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data,
|
||||
bool sync);
|
||||
|
||||
extern struct nfs4_slot *nfs4_alloc_slots(struct nfs4_slot_table *table,
|
||||
u32 max_slots, gfp_t gfp_flags);
|
||||
extern void nfs41_set_target_slotid(struct nfs4_slot_table *tbl,
|
||||
u32 target_highest_slotid);
|
||||
extern int nfs4_resize_slot_table(struct nfs4_slot_table *tbl,
|
||||
u32 max_reqs, u32 ivalue);
|
||||
|
||||
static inline bool
|
||||
is_ds_only_client(struct nfs_client *clp)
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele