Whamcloud - gitweb
LU-9960 osd-zfs: don't auto-upgrade quota 24/28924/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Mon, 11 Sep 2017 14:14:18 +0000 (10:14 -0400)
committerNathaniel Clark <nathaniel.l.clark@intel.com>
Mon, 11 Sep 2017 20:20:04 +0000 (16:20 -0400)
commit0bbef0afc16081e1af3529642436864954a73e3c
tree91a22a62563c6031d8dfffe1e417f184e83ccb60
parente1679d0348856bc68589493e7ea86f1aaf21e1af
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
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h
lustre/tests/sanity-quota.sh
lustre/utils/libmount_utils_zfs.c