ceph: re-calculate truncate_size for strip object
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 30 Nov 2012 05:49:51 +0000 (13:49 +0800)
committerAlex Elder <elder@inktank.com>
Thu, 17 Jan 2013 18:42:37 +0000 (12:42 -0600)
commita41bad1a9b9f9982eb9b451165724c5f81096683
tree1bc98665b919bb81d68152422484a5af220af4d2
parent6e8575faa8fa680d59404a4d58d12190667be815
ceph: re-calculate truncate_size for strip object

Otherwise osd may truncate the object to larger size.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c