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)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2012 13:55:23 +0000 (08:55 -0500)
commit5c0b4129c07b902b27d3f3ebc087757f534a3abd
treee151131804faa70f79baf4ae35d550f638ee22c4
parent0aaaf5c424c7ffd6b0c4253251356558b16ef3a2
pnfs-obj: pNFS errors are communicated on iodata->pnfs_error

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]
CC: Stable Tree <stable@kernel.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/objlayout/objlayout.c