pnfs-obj: Fix the comp_index != 0 case
commit9af7db3228acc286c50e3a0f054ec982efdbc6c6
authorBoaz Harrosh <bharrosh@panasas.com>
Thu, 4 Aug 2011 04:52:51 +0000 (3 21:52 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Aug 2011 15:54:48 +0000 (4 11:54 -0400)
treecaf8fee7b55477d3710b08436c3d3285013bbc09
parent20618b21da0796115e81906d24ff1601552701b7
pnfs-obj: Fix the comp_index != 0 case

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.

[Needed in v3.0]
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/objio_osd.c
fs/nfs/objlayout/pnfs_osd_xdr_cli.c