nfs41: Correct offset for LAYOUTCOMMIT
authorVitaliy Gusev <gusev.vitaliy@gmail.com>
Thu, 19 May 2011 21:34:46 +0000 (01:34 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 May 2011 21:42:01 +0000 (17:42 -0400)
commit4b8ee2b82e8b0b6e17ee33feb74fcdb5c6d8dbdd
treea8b0eda00ea2376598431808af901872808c014e
parent60c16ea877546e559988a8b1e4f4256afbbd83e6
nfs41: Correct offset for LAYOUTCOMMIT

A client sends offset to MDS as it was seen by DS. As result,
file size after copy is only half of original file size in case
of 2 DS.

Signed-off-by: Vitaliy Gusev <gusev.vitaliy@nexenta.com>
Cc: stable@kernel.org [2.6.39]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c