pnfs: struct pnfs_layout_state to manage layout state
moved state data (stateid, flags, locks, and reference counts) out of struct pnfs_layout, which should represent a layout segment returned by LAYOUTGET struct pnfs_layout_state now holds this state, along with a pointer to a single pnfs_file_layout struct pnfs_file_layout_list is now a list of pnfs_layout_states, and was renamed to pnfs_layout_list Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
d1683ac060
commit
248c14b6ae
4 changed files with 66 additions and 55 deletions
|
|
@ -135,7 +135,7 @@ typedef struct __nfs41_client {
|
|||
SRWLOCK session_lock;
|
||||
nfs41_rpc_clnt *rpc;
|
||||
bool_t is_data;
|
||||
struct pnfs_file_layout_list *layouts;
|
||||
struct pnfs_layout_list *layouts;
|
||||
struct pnfs_file_device_list *devices;
|
||||
struct list_entry root_entry; /* position in nfs41_root.clients */
|
||||
struct __nfs41_root *root;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue