Whamcloud - gitweb
LU-1333 hsm: Add hsm_release feature. 28/7028/8
authorJinshan Xiong <jinshan.xiong@intel.com>
Fri, 19 Jul 2013 22:27:30 +0000 (15:27 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 29 Jul 2013 17:41:06 +0000 (17:41 +0000)
commitb82b1b17c38709014a6a15e4dbb7d50558ad81a4
treeb5a0f6dbd413fb243e6caf44b799820799f34d1b
parentb36de486200154ca82194e2159ff0f96c41c7069
LU-1333 hsm: Add hsm_release feature.

HSM Release is one of the key feature of HSM. To perform HSM
release, clients need to acquire the file lease exclusivelt and
flush dirty cache from clients. A special close REQ will be sent
to the MDT to release the lease and get rid of OST objects.

Signed-off-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I77eeccf81a852955354a382d80b887df00d1c4fc
Reviewed-on: http://review.whamcloud.com/7028
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
23 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustre_user.h
lustre/include/lustre_req_layout.h
lustre/include/obd.h
lustre/lclient/lcommon_misc.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/vvp_object.c
lustre/lod/lod_qos.c
lustre/lov/lov_cl_internal.h
lustre/lov/lov_object.c
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_object.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_open.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c
lustre/tests/sanity-hsm.sh
lustre/utils/req-layout.c