Whamcloud - gitweb
LU-4640 mdt: implement Remove Archive on Last Unlink policy 46/18946/18
authorBruno Faccini <bruno.faccini@intel.com>
Wed, 16 Mar 2016 09:10:47 +0000 (10:10 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 7 Jun 2017 20:31:01 +0000 (20:31 +0000)
commitdd4b034540d7dda499ebbb8c465d3435ad46b82a
tree87a9d52e3a752c3c645bc232c1cace6dec54669e
parentd238e5d049e2b73f7997fa0add1a094fec432cb2
LU-4640 mdt: implement Remove Archive on Last Unlink policy

This reverts commit d9f95aa201341d972eeb610471e3c45f1ba12202 which
had already reverted original commit
74d92933108dc64b110a843352cf3336dca249d0 for LU-4640, to rebase
and re-integrate original patch changes.

In addition, necessary changes (LU-7881) have been added to make
sanity-hsm/test_26b comply with LU-7136 recent changes in
sanity-hsm internal framework/functions. And also to comply with
concurrent changes that had caused object to become unavailable
earlier than expected in original patch version, by moving
mdt_handle_last_unlink() call in mdt_mfd_close() now.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: I172d778dad494d36a6f5d03e261b2ba584fb6542
Reviewed-on: https://review.whamcloud.com/18946
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_open.c
lustre/tests/sanity-hsm.sh