Whamcloud - gitweb
LU-1842 quota: add quota locks support on QMT
authorJohann Lombardi <johann.lombardi@intel.com>
Wed, 3 Oct 2012 13:02:42 +0000 (15:02 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 6 Oct 2012 06:30:52 +0000 (02:30 -0400)
commit2d61b338d9990f2098ca646ecfe818668579ca76
tree06703014759bd2abfde7f5d8743ffde241136b12
parent58edc686a47033349c061a55b780a14c4303b92b
LU-1842 quota: add quota locks support on QMT

This patch adds methods for the quota lock lvb management and
implements an intent policy for quota locks.
It also introduces the rebalance thread which is in charge of
sending glimpse callbacks to slave to notify them of new quota
settings.

This patch also enables sanity-quota.sh test 36 which should now
pass.

Signed-off-by: Johann Lombardi <johann.lombardi@intel.com>
Change-Id: I0cf7f86d480296f7e8fe774ed8937aae27736f88
Reviewed-on: http://review.whamcloud.com/4166
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/mdt/mdt_handler.c
lustre/quota/qmt_dev.c
lustre/quota/qmt_handler.c
lustre/quota/qmt_internal.h
lustre/quota/qmt_lock.c
lustre/tests/Makefile.am
lustre/tests/sanity-quota.sh