Whamcloud - gitweb
LU-1842 quota: add quotactl support on qmt
authorJohann Lombardi <johann.lombardi@intel.com>
Tue, 2 Oct 2012 16:11:21 +0000 (18:11 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 4 Oct 2012 18:59:31 +0000 (14:59 -0400)
commit294aa9cb666c48e02da1057c222fe5f206ce38fc
tree72c24cb054aba7bca368e899f88690be8f299c92
parent852cd92ab282875ef00d6e1401920cbe6d99c644
LU-1842 quota: add quotactl support on qmt

This patch implements quotactl ({get,set}{quota,info}) support on the
QMT. This involves defining the lqe operations for the qmt as well as
pool operations in order to support per-pool quota in the future.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: I122e7cb85eb6d1d3460e86217e2a6723763c8cbf
Reviewed-on: http://review.whamcloud.com/4160
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lustre/ldlm/ldlm_resource.c
lustre/quota/Makefile.in
lustre/quota/lproc_quota.c
lustre/quota/lquota_disk.c
lustre/quota/lquota_entry.c
lustre/quota/lquota_internal.h
lustre/quota/lquota_lib.c
lustre/quota/qmt_dev.c
lustre/quota/qmt_entry.c [new file with mode: 0644]
lustre/quota/qmt_handler.c
lustre/quota/qmt_internal.h
lustre/quota/qmt_pool.c [new file with mode: 0644]