pnfs: support for non-rpc layout drivers
authorBenny Halevy <bhalevy@panasas.com>
Sun, 22 May 2011 16:52:03 +0000 (19:52 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 17:53:51 +0000 (20:53 +0300)
commitd20581aa4be11407c9eeeb75992df5ef176bba0f
tree277fdff5bc6ad5a5df105abd092c7179d22554fb
parente51b841dd0be9ff53f740c44c32c32679edcb7c8
pnfs: support for non-rpc layout drivers

Non-rpc layout driver such as for objects and blocks
implement their own I/O path and error handling logic.
Therefore bypass NFS-based error handling for these layout drivers.

[fix lseg ref-count bugs, and null de-refs]
[Fall out from: non-rpc layout drivers]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
[get rid of PNFS_USE_RPC_CODE]
[get rid of __nfs4_write_done_cb]
[revert useless change in nfs4_write_done_cb]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/internal.h
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
include/linux/nfs_xdr.h