Whamcloud - gitweb
LU-3460 quota: don't schedule adjust when qsd stopped 31/6731/2
authorNiu Yawei <yawei.niu@intel.com>
Fri, 21 Jun 2013 08:05:25 +0000 (04:05 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 10 Jul 2013 02:50:55 +0000 (02:50 +0000)
commit76ddf87488010a38a3e7b0b5923e0fe8e725326a
tree20181e26c230b0f4ff48cc047853af04eefbf7c5
parent826a8ba3e9bacbd48a7b52f715640287f4a9b952
LU-3460 quota: don't schedule adjust when qsd stopped

When the qsd is stopped, we should not schedule quota adjust or
index update anymore, because the writeback thread has been stopped,
and those scheduled requests will never be processed.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I33e0bbc7eb22be8a7edbc031f36ceff666575ebe
Reviewed-on: http://review.whamcloud.com/6731
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/quota/qsd_writeback.c