Skip to content

Remove non-file layout code from submit tree version 2

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13SQUASHME pnfs_submit: remove GETDEVICELISTfs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c fs/nfs/pnfs.c +4 more+0 -1910 replies
2/13SQUASHME pnfs_submit: remove CB_NOTIFY_DEVICEIDfs/nfs/callback_proc.c fs/nfs/callback_xdr.c include/linux/nfs4_pnfs.h+1 -1640 replies
3/13SQUASHME pnfs_submit: remove pnfs_mount_type from alloc_layoutfs/nfs/nfs4filelayout.c fs/nfs/pnfs.c include/linux/nfs4_pnfs.h+3 -30 replies
4/13SQUASHME pnfs_submit: remove get_blocksize policy operationfs/nfs/pnfs.c include/linux/nfs4_pnfs.h+4 -430 replies
5/13SQUASHME pnfs_submit: remove ds_wsize, ds_rsize, ds_wpages and ds_rpagesfs/nfs/nfs4filelayout.c fs/nfs/pnfs.c fs/nfs/pnfs.h +4 more+16 -370 replies
6/13SQUASHME pnfs_submit: update uninitialize_mountpointfs/nfs/nfs4filelayout.c fs/nfs/pnfs.c fs/nfs/pnfs.h +2 more+14 -170 replies
7/13SQUASHME pnfs_submit: remove struct pnfs_mount_typefs/nfs/nfs4filelayout.c fs/nfs/pnfs.c include/linux/nfs4_pnfs.h +1 more+10 -630 replies
8/13SQUASHME pnfs_submit: change initialize_mountpoint parametersfs/nfs/nfs4filelayout.c fs/nfs/pnfs.c include/linux/nfs4_pnfs.h+4 -40 replies
9/13SQUASHME pnfs_submit: change nfs_fsino layoutclass namefs/nfs/client.c fs/nfs/nfs4xdr.c include/linux/nfs_xdr.h+3 -30 replies
10/13SQUASHME pnfs_submit: remove pnfs_fs_ltypefs/nfs/client.c fs/nfs/pnfs.c fs/nfs/pnfs.h +2 more+20 -320 replies
11/13SQUASHME pnfs_submit: remove layout_namefs/nfs/super.c+3 -190 replies
12/13SQUASHME pnfs_submit: fall back to MDS on filelayout_commit errorfs/nfs/nfs4filelayout.c+3 -10 replies
13/13SQUASHME pnfs_submit: cleanup nfs4_pnfs_ds_addfs/nfs/nfs4filelayoutdev.c+12 -140 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/13] Remove non-file layout code from submit tree version 2

Applies to 2.6.34-rc5 pnfs-submit branch on top of the "pNFS generic devce ID cache version 3" patches sent April 26 which includes these patches:
0001-SQUASHME-pnfs_submit-generic-device-ID-cache.patch 0002-SQUASHME-pnfs_submit-fix-multiple-mount-set_pnfs_lay.patch 0003-SQUASHME-pnfs-submit-file-layout-driver-generic-devi.patch

This patch set begins separating non-file layout code from file layout code.

Responded to version 1 comments and kept uninitialize_mountpoint. Adjust to using the generic device id cache.
Permanetly remove structure fields and function parameters not used by any layout driver.
The next patch set will restore object and block layout code removed by these patches.

0001-SQUASHME-pnfs_submit-remove-GETDEVICELIST.patch 0002-SQUASHME-pnfs_submit-remove-CB_NOTIFY_DEVICEID.patch 0003-SQUASHME-pnfs_submit-remove-pnfs_mount_type-from-all.patch 0004-SQUASHME-pnfs_submit-remove-get_blocksize-policy-ope.patch 0005-SQUASHME-pnfs_submit-remove-ds_wsize-ds_rsize-ds_wpa.patch 0006-SQUASHME-pnfs_submit-update-uninitialize_mountpoint.patch 0007-SQUASHME-pnfs_submit-remove-struct-pnfs_mount_type.patch 0008-SQUASHME-pnfs_submit-change-initialize_mountpoint-pa.patch 0009-SQUASHME-pnfs_submit-change-nfs_fsino-layoutclass-na.patch 0010-SQUASHME-pnfs_submit-remove-pnfs_fs_ltype.patch 0011-SQUASHME-pnfs_submit-remove-layout_name.patch

File layout code bug fix and cleanup. 0012-SQUASHME-pnfs_submit-fall-back-to-MDS-on-filelayout_.patch 0013-SQUASHME-pnfs_submit-cleanup-nfs4_pnfs_ds_add.patch

Tested:
CONFIG_NFS_V4_1 set

V4.0, V4.1, and pNFS mounts:
Connectathon tests pass.

CONFIG_NFS_V4_1 not set:

Connectathon tests pass.

-->Andy