Whamcloud - gitweb
LU-7991 quota: project quota against ZFS backend 40/30540/2
authorFan Yong <fan.yong@intel.com>
Fri, 3 Nov 2017 01:22:12 +0000 (09:22 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 20 Dec 2017 16:11:01 +0000 (16:11 +0000)
commitc5d4599cc56729281ce6d4fc59d17694c84333c8
treef3ceb919b80b3255c9f09d94ab10c2cdd70c4a5f
parentd5a7563a46acf15252929b6a045eef8c58022314
LU-7991 quota: project quota against ZFS backend

This patch enables the project quota feature against ZFS
backend. The project quota patch for ZFS itself will be
landed via https://github.com/zfsonlinux/zfs/pull/6290.
Such patch may be released via zfs-0.7.x (x >= 5).

This patch also cleanup the quota logic for ZFS backend
and sanity-quota.sh

Lustre-change: https://review.whamcloud.com/27093
Lustre-commit: a046e879fcadd601c9a19fd906f82ecbd2d4efd5

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ic488efe19a6e34a3615811f79fb9ea7954ad9263
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/30540
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
13 files changed:
config/lustre-build-zfs.m4
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_quota.h
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_io.c
lustre/osd-zfs/osd_object.c
lustre/osd-zfs/osd_oi.c
lustre/osd-zfs/osd_quota.c
lustre/osd-zfs/osd_xattr.c
lustre/tests/sanity-quota.sh