Whamcloud - gitweb
LU-10680 mdd: fix run_gc_task uninitialized 47/31347/2
authorBruno Faccini <bruno.faccini@intel.com>
Sun, 18 Feb 2018 19:13:04 +0000 (20:13 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 03:43:45 +0000 (03:43 +0000)
commit25cdbbb475b8a42e3a1f594898d2ac1406b466f6
tree68c292db4b79b595c3dbe8c59d67b8f9f9a967c0
parent905d37787638b94d02e58798f47677230253274a
LU-10680 mdd: fix run_gc_task uninitialized

run_gc_task has been mistakenly left uninitialized in previous
patch for LU-7340. This has been silently ignored by gcc even
if -Wall option is used during build, possibly because no
optimization level/option requested where -Wuninitialized
option/check may only pe performed.
The side effect is that generated assembly code completelly
avoids run_gc_task usage from source, and thus a kthread
for ChangeLogs garbage-collection is created upon each
record creation and this without any of the garbage-collection
conditions are triggered.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Ieb9ce062ba6ebf0c365c1e6f8a57f89dd39e0a9d
Reviewed-on: https://review.whamcloud.com/31347
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
lustre/mdd/mdd_dir.c