Whamcloud - gitweb
LU-1154 clio: pass fid for OST setattr 02/12902/5
authorBobi Jam <bobijam.xu@intel.com>
Tue, 2 Dec 2014 06:55:45 +0000 (14:55 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 Jan 2015 20:03:33 +0000 (20:03 +0000)
commit3f09c2b10e0aef9b20df18ca3cf2e4638159d3db
tree5cf39286053933240113642d070b19c943a60da3
parent65e067d5d90270d4237a7271008561a4b432b94d
LU-1154 clio: pass fid for OST setattr

Store inode's fid in cl_setattr_ost() and OSC packs this info on the
wire (via lustre_set_wire_obdo) so that OST can use.

NOTE: currently lu_fid::f_ver and obdo::o_parent_ver are not used on
OFD device, and we use obdo::o_stripe_idx as
filter_fid::ff_parent::f_ver and save it to the device.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Ib396d19da0a7049f76b80e4d73bcad82b73f06df
Reviewed-on: http://review.whamcloud.com/12902
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/include/cl_object.h
lustre/llite/lcommon_cl.c
lustre/lov/lov_io.c
lustre/osc/osc_io.c