Whamcloud - gitweb
LU-1842 quota: add per-filesystem information
authorJohann Lombardi <johann.lombardi@intel.com>
Mon, 1 Oct 2012 19:17:32 +0000 (21:17 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 4 Oct 2012 18:58:19 +0000 (14:58 -0400)
commitc40c7939c0110ca53151c47249d85e56a6e0f24d
tree58d093240b967cc4996f19e91b91f05ec4c206e8
parenta0d49d7368d4f97cb1abc2afe6048da809edd4b2
LU-1842 quota: add per-filesystem information

Add a global list to track per-filesystem quota information which
will be used by slaves to determine whether quota enforcement is
enabled.
This patch also enables test 22 in sanity-quota.sh which should now
pass and avoids spurious test failures due to sync_all_data.

Signed-off-by: Johann Lombardi <johann.lombardi@intel.com>
Change-Id: I336e7704d3e16dc3f5a92350c652cd6f2f25f25a
Reviewed-on: http://review.whamcloud.com/4156
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
16 files changed:
lustre/include/lquota.h
lustre/mgs/mgs_llog.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_handler.c
lustre/quota/Makefile.in
lustre/quota/lquota_entry.c
lustre/quota/lquota_lib.c
lustre/quota/qsd_config.c [new file with mode: 0644]
lustre/quota/qsd_entry.c
lustre/quota/qsd_internal.h
lustre/quota/qsd_lib.c
lustre/quota/qsd_lock.c
lustre/quota/qsd_reint.c
lustre/quota/qsd_request.c
lustre/quota/qsd_writeback.c
lustre/tests/sanity-quota.sh