Whamcloud - gitweb
LU-18353 utils: prohibit set inode limit to PQ
Prohibit to set inode limit for Pool Quotas.
Without the fix it sent a request at MDT and
failed with following errors:
lfs setquota: Cannot find pool 'ddn_ssd'
lfs setquota: quotactl failed: No such file or directory
With the patch it fails with more suitable message
and returns ENOENT directly from utils without extra
request at MDT:
lt-lfs setquota: inode limits are not supported with Pool Quotas
setquota failed: Invalid argument
Test-Parameters: trivial testlist=sanity-quota
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: If3fae3cee49138b47605bc603e896955f9b73851
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56634
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>