Whamcloud - gitweb
LU-6449 mdt: broadcast orphan hsm_remove requests 91/20991/6
authorBruno Faccini <bruno.faccini@intel.com>
Mon, 27 Jun 2016 09:25:20 +0000 (11:25 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Aug 2016 05:51:17 +0000 (05:51 +0000)
commitfc84852e990dd3174b63ab8e16e6bc3c0b1b092a
tree57e670d4ef5f7fb14efe3fd8f4ddfcae9446bebf
parentaa9938a26b2fd58afc53bd25020e8940464d1855
LU-6449 mdt: broadcast orphan hsm_remove requests

If a hsm_remove request is received for an unlinked file with
no/0 archive_id specified and no Agent/CT has registered to serve
all archive_ids, broadcast the request once to each registered
archive_id.

Also created specific sanity-hsm/test_29d sub-test using
"lfs hsm_remove <fid>" capability introduced by LU-6494.

Test-Parameters: clientcount=4
Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Ice5acaa5116dc036d5a98d76368eba2023a29f49
Reviewed-on: http://review.whamcloud.com/20991
Reviewed-by: Frank Zago <fzago@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_hsm_cdt_actions.c
lustre/mdt/mdt_hsm_cdt_agent.c
lustre/tests/sanity-hsm.sh