Whamcloud - gitweb
LU-5683 clio: add CIT_DATA_VERSION 49/14649/5
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 30 Apr 2015 20:57:59 +0000 (15:57 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 May 2015 13:14:44 +0000 (13:14 +0000)
commitfcd45488711ac7341eef2a1bed9c7a8021c57436
treee1d46a01d526d79c9c318e87eb54ec491e4000db
parentd20d17e9cb62333616b2ba197c727887d5d8f77c
LU-5683 clio: add CIT_DATA_VERSION

Add a new cl_io type CIT_DATA_VERSION to get file data version. Remove
the old data version code (cl_object_obd_info_get() and
cl_object_data_version()). Add test_37() to sanity-hsm.sh to ensure
that data version is computed under the correct layout.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: If371c8e8c18e91d476f94de2e0170199252c088d
Reviewed-on: http://review.whamcloud.com/14649
Tested-by: Jenkins
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
16 files changed:
lustre/include/cl_object.h
lustre/include/obd.h
lustre/llite/file.c
lustre/lov/lov_internal.h
lustre/lov/lov_io.c
lustre/lov/lov_merge.c
lustre/lov/lov_obd.c
lustre/lov/lov_object.c
lustre/lov/lov_request.c
lustre/obdclass/cl_io.c
lustre/obdclass/cl_object.c
lustre/osc/osc_internal.h
lustre/osc/osc_io.c
lustre/osc/osc_object.c
lustre/osc/osc_request.c
lustre/tests/sanity-hsm.sh