Whamcloud - gitweb
LU-9403 mdt: prevent HSM leak on re-archive 66/26866/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 27 Apr 2017 15:23:26 +0000 (10:23 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 May 2017 03:47:00 +0000 (03:47 +0000)
commitcd58a3bf6f66feff79728a65e7a416818b23c204
tree8f22fa6c4bd5999c98a0c73ea76a33ffc9862e36
parent945fd61b80f22a4148c4c0953ddc4dfcd75337de
LU-9403 mdt: prevent HSM leak on re-archive

In mdt_hsm_is_action_compat() if the file to be archived already
exists in some backend archive then ensure that the re-archive
uses the same backend archive.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ifc0ef03264a20557c31df7add9e34a1dc1f0c814
Reviewed-on: https://review.whamcloud.com/26866
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_internal.h