pnfs-obj: Fix the comp_index != 0 case
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 4 Aug 2011 04:52:51 +0000 (21:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Aug 2011 20:29:07 +0000 (13:29 -0700)
commit3be1216c9e9976074d49414a53abf572ec4b4a24
treefa82ec95f4562b46baf3ea9b05539ffae0d9616a
parentf06a93fffac579694b0bb67fa81154b75b99f26e
pnfs-obj: Fix the comp_index != 0 case

commit 9af7db3228acc286c50e3a0f054ec982efdbc6c6 upstream.

There were bugs in the case of partial layout where olo_comp_index
is not zero. This used to work and was tested but one of the later
cleanup SQUASHMEs broke it and was not tested since.

Also add a dprint that specify those received layout parameters.
Everything else was already printed.

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/objio_osd.c
fs/nfs/objlayout/pnfs_osd_xdr_cli.c