Whamcloud - gitweb
LU-9960 osd-zfs: don't auto-upgrade quota 24/28924/3
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Mon, 11 Sep 2017 14:14:18 +0000 (10:14 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Sep 2017 06:12:54 +0000 (06:12 +0000)
commitbb6ed7dcde71b3878402f1ad4c2d88bc8edd8557
treeb3397a5763fc2d67067fae499a2f48302d484213
parenta8dcf372f430c308d3e96fb506563068d0a80c2d
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.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I2b0dcba3a230c9b2dec3d07d1b4ca6f1a1717d47
Reviewed-on: https://review.whamcloud.com/28924
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/libmount_utils_zfs.c