pnfs-obj: pNFS errors are communicated on iodata->pnfs_error
commit8edf7c13515fa2dee528ab348919058b14454457
authorBoaz Harrosh <bharrosh@panasas.com>
Fri, 6 Jan 2012 07:28:12 +0000 (6 09:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 01:25:02 +0000 (25 17:25 -0800)
tree1563ae001b581b44e6f2dc6c2d2dfc3e2587e6cd
parentac631973a9ad6bba3d666f687288ebeb819c0df0
pnfs-obj: pNFS errors are communicated on iodata->pnfs_error

commit 5c0b4129c07b902b27d3f3ebc087757f534a3abd upstream.

Some time along the way pNFS IO errors were switched to
communicate with a special iodata->pnfs_error member instead
of the regular RPC members. But objlayout was not switched
over.

Fix that!
Without this fix any IO error is hanged, because IO is not
switched to MDS and pages are never cleared or read.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/objlayout/objlayout.c