NFSv4.1: purge deviceid cache on nfs_free_client
Use the pnfs_layoutdriver_type both as a qualifier for the deviceid, distinguishing deviceid from different layout types on the server, and for freeing the layout-driver allocated structure containing the nfs4_deviceid_node. [BUG in _deviceid_purge_client] [layout_driver MUST set free_deviceid_node if using dev-cache] [let ver < 4.1 compile] Signed-off-by:Boaz Harrosh <bharrosh@panasas.com> [removed EXPORT_SYMBOL_GPL(nfs4_deviceid_purge_client)] Signed-off-by:
Benny Halevy <bhalevy@panasas.com>
Showing
- fs/nfs/client.c 2 additions, 0 deletionsfs/nfs/client.c
- fs/nfs/nfs4filelayout.c 7 additions, 0 deletionsfs/nfs/nfs4filelayout.c
- fs/nfs/nfs4filelayout.h 1 addition, 0 deletionsfs/nfs/nfs4filelayout.h
- fs/nfs/nfs4filelayoutdev.c 5 additions, 4 deletionsfs/nfs/nfs4filelayoutdev.c
- fs/nfs/pnfs.h 11 additions, 0 deletionsfs/nfs/pnfs.h
- fs/nfs/pnfs_dev.c 44 additions, 3 deletionsfs/nfs/pnfs_dev.c
Loading
Please register or sign in to comment