Skip to content

pnfs-submit Re-initialize pnfs_layout_type when segs list is empty

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SQUASHME pnfs-submit: reinitialize pnfs_layout_typefs/nfs/pnfs.c include/linux/nfs4_pnfs.h+32 -31 reply
2/2SQUASHME pnfs-submit file layout free_layout init_onlyfs/nfs/nfs4filelayout.c+12 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] pnfs-submit Re-initialize pnfs_layout_type when segs list is empty

e keep the nfs_inode->layout when the segs list is empty, and we remove it from the nfs_client cl_layouts list, but we fail to reset the other fields. Re-initialize the layout (all except for the refcount) so that the next layoutget with potentially new deviceid.... sets the layout fields.

Note: API change to layoutdriver_io_operations free_layout

0001-SQUASHME-pnfs-submit-reinitialize-pnfs_layout_type.patch 0002-SQUASHME-pnfs-submit-file-layout-free_layout-init_on.patch

Tested

CONFIG_V4_I set:
Connectathon tests pass against GFS2/pNFS and pyNFS file layout servers. Both return-on-close and not return-on-close tested.

CONFIG_V4_I not set:
NFSv4.0 mount passes Connectathon tests.

-->Andy