pnfs: CB_NOTIFY_DEVICEID
authorMarc Eshel <eshel@almaden.ibm.com>
Sun, 22 May 2011 16:47:09 +0000 (19:47 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:52:31 +0000 (20:52 +0300)
commit1be5683b03a766670b3b629bf6bfeab3ca9239d8
tree613f4c0dea8b0d8447a3158b82b3e2046ee9dcb5
parent1775bc342c6eacd6304493cbb2e0cda1a0182246
pnfs: CB_NOTIFY_DEVICEID

Note: This functionlaity is incomplete as all layout segments referring to
the 'to be removed device id' need to be reaped, and all in flight I/O drained.

[use be32 res in nfs4_callback_devicenotify]
[use nfs_client to qualify deviceid for cb_notify_deviceid]
[use global deviceid cache for CB_NOTIFY_DEVICEID]
[refactor device cache _lookup_deviceid]
[refactor device cache _find_get_deviceid]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[Bug in new global-device-cache code]
[layout_driver MUST set free_deviceid_node if using dev-cache]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/callback.h
fs/nfs/callback_proc.c
fs/nfs/callback_xdr.c
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c