pNFS generic device ID cache version 3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | SQUASHME pnfs_submit: generic device ID cachefs/ include/ include/ | +218 | 2 replies | |
| 2/3 | SQUASHME pnfs_submit: fix multiple mount set_pnfs_layoutdriverfs/ | +10 | 0 replies | |
| 3/3 | SQUASHME pnfs-submit: file layout driver generic device ID cachefs/ fs/ fs/ +1 more | +71 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] pNFS generic device ID cache version 3
This patch set implements a shared RCU device ID cache servicing multiple mounts of a single layout type per meta data server (struct nfs_client).
Device id's are referenced by layout segments which hold a pointer to the nfs4_deviceid struct.
An hlist is used for the cache due to the large number of devices used by the object and block layout drivers.
Note that nfs4_deviceid_hash() is the same as the NFSD opaque_hash function. Perhaps they should be shared.
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
These patches apply to the 2.6.34-rc3 pnfs-submit branch.
Testing:
-------CONFIG_NFS_V4_1 set:
NFSv4.1/pNFS mounts:
Connectathon tests pass against GFS2/pNFS with a single AUTH_SYS mount, a double AUTH_SYS mount, and an AUTH_SYS and AUTH_GSS/KRB5 mount (which creates two superblocks under a struct nfs_client and both share the device id cache).
NFSv4.0 mount;
Connectathon tests pass
Did not test with multiple device ID's. I will create a mulitple device ID test with the pynfs file layout server.
CONFIG_NFS_V4_1 not set:
NFSv4.0 mount: Connectathon tests pass.
-->Andy