Whamcloud - gitweb
LU-9727 lustre: record if enable_audit is set on nodemap 14/28314/18
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 2 Aug 2017 14:47:47 +0000 (23:47 +0900)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 03:46:02 +0000 (03:46 +0000)
commit9dffcdd2fa07520aab89edd15f627518d3f6cff2
tree65f11700dbfb0a4e3887a5cf358ab31955bf31a8
parent0b63291fa05abcce02f23d57b51401fe51b78791
LU-9727 lustre: record if enable_audit is set on nodemap

Record changelogs from a client only if it pertains to a nodemap
on which enable_audit is set, and changelogs are activated.
If client is not explicitely assigned to a nodemap, enable_audit value
from default nodemap is used.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I31d361cfd8cc69db68b60298934cbbef4af0d75d
Reviewed-on: https://review.whamcloud.com/28314
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
lustre/include/md_object.h
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_object.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_lib.c