pnfs-obj: pNFS errors are communicated on iodata->pnfs_error
authorBoaz Harrosh <bharrosh@panasas.com>
Fri, 6 Jan 2012 07:28:12 +0000 (09:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:13 +0000 (16:13 -0800)
commit246a6b572458af000a216f1e00ba1dea9414c7d6
treeb573f2d9c11d17ad0d2e2a6ca5c7b4d9678ec525
parent27bdee9ac306dbc12036706cbf767a27cb34ca7d
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.

[Applies to 3.2.0. Same bug different patch for 3.1/0 Kernels]
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