Whamcloud - gitweb
LU-11425 quota: support quota for DoM 57/33257/8
authorHongchao Zhang <hongchao@whamcloud.com>
Sun, 14 Oct 2018 17:44:30 +0000 (13:44 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 13 Nov 2018 06:17:34 +0000 (06:17 +0000)
commitd30f9e6b6c5df9dcf1510b5c2414600165d904a8
tree4030a58a888cd00f3ac7521634cb2c9a25f4fde8
parent1ada2c947b894f97ac4e7e9c6435a8b4e42ca1fa
LU-11425 quota: support quota for DoM

Support block quota enforcement on MDT to accommodate the data
writing introduced by DoM.

This patch adds a new qsd_instance on the OSD device at MDT to
implement the quota enforcement on block data, for there is only
one type of quota (meta data or block data) to be handled in one
qsd_instance in the current quota design of Lustre, it's much more
changes to adapt the qsd_instance to support more quota type than
to use a separated qsd_instance to enfore meta data on MDT.

Change-Id: I7c57f383d338cf0070e05ecc318d42586c39371e
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33257
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
16 files changed:
lustre/include/lustre_quota.h
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/mdt/mdt_io.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_quota.c
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_object.c
lustre/osd-zfs/osd_quota.c
lustre/quota/lquota_disk.c
lustre/quota/lquota_lib.c
lustre/quota/qsd_handler.c
lustre/quota/qsd_lib.c
lustre/tests/conf-sanity.sh
lustre/tests/sanity-quota.sh