Whamcloud - gitweb
LU-3670 mdt: cancel MDS_INODELOCK_XATTR on MDS updates 86/7186/3
authorAndrew Perepechko <andrew_perepechko@xyratex.com>
Wed, 31 Jul 2013 00:23:20 +0000 (04:23 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 26 Sep 2013 19:46:51 +0000 (19:46 +0000)
commit99cf16e16b815702404d1109cd07ade5ff7d656e
treed4e9345b7fd38eea18adaf5a0f34cbecbcd5606f
parentf97446c2bc3dd023e93a7e20c53a264d6ca0cd43
LU-3670 mdt: cancel MDS_INODELOCK_XATTR on MDS updates

In some cases, MDS updates extended attributes
on its own rather than on a client request.
MDS_INODELOCK_XATTR should be taken for this purpose.

Signed-off-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Change-Id: I8d5e947cc05ce5f25c8f128b01ab7458636b55ba
Reviewed-on: http://review.whamcloud.com/7186
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_hsm.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/tests/sanityn.sh