Whamcloud - gitweb
LU-9960 osd-zfs: don't auto-upgrade quota 54/28954/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Mon, 11 Sep 2017 14:14:18 +0000 (10:14 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 14 Sep 2017 20:39:57 +0000 (20:39 +0000)
commitc62476e202d7bd31e959b9682292319d20dd4dce
tree49f912077c792dd4c308818530f3fade41c5bf63
parente153b833a62663c805bcdbc1faa52c50e37a62a9
LU-9960 osd-zfs: don't auto-upgrade quota

To preserve the ability to down-grade from 0.7.x to 0.6.x,
don't auto-upgrade quotas.
Print warning if quotas haven't been upgraded when mouting with 0.7.0.
Do check based on zpool feature in sanity-quota instead of just
version.

Lustre-change: https://review.whamcloud.com/#/c/28924/
Lustre-commit: 0bbef0afc16081e1af3529642436864954a73e3c

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I2b0dcba3a230c9b2dec3d07d1b4ca6f1a1717d47
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28954
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h
lustre/tests/sanity-quota.sh
lustre/utils/mount_utils_zfs.c