Skip to content

pnfs_submit file layout client device management

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14SQUASHME: pnfs_submit: remove unused getdevicelist functionsfs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+0 -310 replies
2/14SQUASHME pnfs-submit: call get_device_info from filelayout_checkfs/nfs/nfs4filelayout.c fs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+14 -301 reply
3/14SQUASHME pnfs_submit: remove multilist4 cachingfs/nfs/nfs4filelayout.c fs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+81 -1260 replies
4/14SQUASHME pnfs_submit: wait for I/O for data server connectfs/nfs/nfs4filelayoutdev.c+16 -180 replies
5/14SQUASHME pnfs_submit: remove xdr macrosfs/nfs/nfs4filelayout.c fs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+22 -300 replies
6/14SQUASHME pnfs_submit: remove unused nfs4_pnfs_device_putfs/nfs/nfs4filelayoutdev.c+0 -210 replies
7/14SQUASHME pnfs_submit: change get_device_info parameterfs/nfs/nfs4filelayout.c fs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+6 -71 reply
8/14SQUASHME pnfs_submit: change decode_and_add_device parameterfs/nfs/nfs4filelayoutdev.c+5 -50 replies
9/14SQUASHME pnfs_submit: change decode_device parameterfs/nfs/nfs4filelayoutdev.c+5 -40 replies
10/14SQUASHME pnfs_submit: change decode_and_add_ds parameterfs/nfs/nfs4filelayoutdev.c+3 -40 replies
11/14SQUASHME pnfs_submit: change nfs4_pnfs_ds_add parameterfs/nfs/nfs4filelayoutdev.c+3 -30 replies
12/14SQUASHME pnfs_submit: remove filelayout CB_NOTIFY_DEVICE supportfs/nfs/nfs4filelayout.c fs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+0 -361 reply
13/14SQUASHME pnfs_submit: stand alone data server cachefs/nfs/nfs4filelayout.h fs/nfs/nfs4filelayoutdev.c+22 -380 replies
14/14SQUASHME pnfs_submit: remove kfree from under spinlockfs/nfs/nfs4filelayoutdev.c+3 -30 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/14] pnfs_submit file layout client device management

Apply against 2.6.34-rc3 pnfs branch. For pNFS client submission. Only touches the file layout driver.

This set of patches implements several design changes enmerated at
http://wiki.linux-nfs.org/wiki/index.php/Porposed_Device_ Manangement_Design.

- Only call GETDEVICEINFO from one place
- Only cache the first data server in the multipath_list4 array.
- Wait to connect to data server when needed for I/O
- Move data server cache to stand alone cache

Also some cleanup, and function interfaces are changed in preparation for the soon to come generic deviceid cache.

0001-SQUASHME-pnfs_submit-remove-unused-getdevicelist-fun.patch 0002-SQUASHME-pnfs-submit-call-get_device_info-from-filel.patch 0003-SQUASHME-pnfs_submit-remove-multilist4-caching.patch 0004-SQUASHME-pnfs_submit-wait-for-I-O-for-data-server-co.patch 0005-SQUASHME-pnfs_submit-remove-xdr-macros.patch 0006-SQUASHME-pnfs_submit-remove-unused-nfs4_pnfs_device_.patch 0007-SQUASHME-pnfs_submit-change-get_device_info-paramete.patch 0008-SQUASHME-pnfs_submit-change-decode_and_add_device-pa.patch 0009-SQUASHME-pnfs_submit-change-decode_device-parameter.patch 0010-SQUASHME-pnfs_submit-change-decode_and_add_ds-parame.patch 0011-SQUASHME-pnfs_submit-change-nfs4_pnfs_ds_add-paramet.patch 0012-SQUASHME-pnfs_submit-remove-filelayout-CB_NOTIFY_DEV.patch 0013-SQUASHME-pnfs_submit-stand-alone-data-server-cache.patch 0014-SQUASHME-pnfs_submit-remove-kfree-from-under-spinloc.patch

Testing:
CONFIG_NFS_V4_1 set:
pNFS mount, NFSv4.1 mount, NFSv4.0 mount:
Connecatathon tests pass. pyNFS testclient tests pass.

CONFIG_NFS_V4_1 not set:
Connecatahon tests pass.

-->Andy