Whamcloud - gitweb
LU-9385 mdt: remove XATTR locking from mdt_add_dirty_flag() 70/26870/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 27 Apr 2017 16:12:37 +0000 (11:12 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 May 2017 03:47:10 +0000 (03:47 +0000)
commite5eec257c4daf9e2f538f13c7f7ff121acbc0195
treeb9e18c6a0d402ad01b13e4fc844e5b8a6945e12e
parent77a60b06f4538e8dc88897f8703d2f242f215990
LU-9385 mdt: remove XATTR locking from mdt_add_dirty_flag()

Clients use the MDS_HSM_STATE_{GET,SET} RPCs to get and set the HSM
state of a file rather than accessing the HSM xattr directly. So
remove the use of MDS_INODELOCK_XATTR around the setting of HSM
attributes in mdt_add_dirty_flag().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I4374671ac5d4828480060de56c95ff7e1601fe59
Reviewed-on: https://review.whamcloud.com/26870
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_reint.c