Whamcloud - gitweb
LU-7991 quota: project quota against ZFS backend 93/27093/40
authorFan Yong <fan.yong@intel.com>
Fri, 3 Nov 2017 01:22:12 +0000 (09:22 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 Nov 2017 20:06:45 +0000 (20:06 +0000)
commita046e879fcadd601c9a19fd906f82ecbd2d4efd5
tree996f1c14a12ecadbbb4742713edafad4c2e8338a
parentb75ac467c5221971d71ee34a56a0d09a0550a7e2
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

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ic488efe19a6e34a3615811f79fb9ea7954ad9263
Reviewed-on: https://review.whamcloud.com/27093
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
config/lustre-build-zfs.m4
lustre/include/lustre_quota.h
lustre/include/uapi/linux/lustre/lustre_idl.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