Restore non-file layout code version 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pnfs_post_submit: restore CB_NOTIFY_DEVICEIDfs/ fs/ fs/ +1 more | +165 | 0 replies | |
| 2/5 | pnfs_post_submit: restore GETDEVICELISTfs/ fs/ fs/ +4 more | +191 | 0 replies | |
| 3/5 | pnfs_post_submit: add getdevicelist io operationfs/ fs/ include/ | +17 | 0 replies | |
| 4/5 | pnfs_post_submit: restore ds_wsize and ds_rsizefs/ fs/ fs/ +3 more | +29 | 0 replies | |
| 5/5 | pnfs_post_submit: restore get_blocksize policy operationfs/ include/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Restore non-file layout code version 2
Applies to 2.6.34-rc5 pnfs-submit branch on top of the "pNFS generic devce ID cache version 3" and " Remove non-file layout code from submit tree version 2"
This patch set restores object and block functionality removed in the pnfs-submit tree.
Adjust to using the generic device id cache.
Permanetly remove structure fields and function parameters not used by any layout driver.
Note: struct nfs_server pnfs_mount_type pointer was removed as it was unused due to the generic deviceid cache. The file layout driver does not need a private data pointer in struct nfs_server, and currently, neither does the object nor block layout driver. Once code is submitted that needs a private data pointer, (as I'm told is on the way) we can add one.
Note: The CB_NOTIFY_DEVICEID code is incomplete in that all layout segments referring to the 'to be removed device id' need to be reaped, and all in-flight I/O drained prior to device id removal.
Note: The generic device id cache means that there is no longer any need for a per layout driver delete_deviceid call. 0001-pnfs_post_submit-restore-CB_NOTIFY_DEVICEID.patch
For the block layout driver: Please review and test.
Note: new getdevicelist layoutdriver_io_operation. 0002-pnfs_post_submit-restore-GETDEVICELIST.patch 0003-pnfs_post_submit-add-getdevicelist-io-operation.patch
For the object layout driver. Please review and test.
Note: Just removed the unused ds_wpages and ds_rpages. 0004-pnfs_post_submit-restore-ds_wsize-and-ds_rsize.patch 0005-pnfs_post_submit-restore-get_blocksize-policy-operat.patch
Testing:
-------
The file layout driver does not use this code, so I could not test, and the code has changed due to the generic device id cache.
I did run Connectathon to smoke test that the file layout functionality has not changed.
-->Andy