Whamcloud - gitweb
LU-18936 quota: correct limits for squashed root 86/58886/5
authorSergey Cheremencev <scherementsev@ddn.com>
Fri, 18 Apr 2025 18:19:30 +0000 (21:19 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:22:46 +0000 (02:22 +0000)
commit154a5a66e5bc550bb9463b4f602ebfdf072bef3c
treed1baf136f897ba05d76fcc937ec258706d5c2ddb
parentff7917e0fb62678150e23e9b0a70fcd3ad5ef771
LU-18936 quota: correct limits for squashed root

As root doesn't have quota limits, it's limits have been always set to
zero at client side. However, qid=0 can be changed according to the
nodemap at the MDT. As clients don't know about the mapping, quota
limits must to be set to zero only on the MDT.

Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: Ibdfd70d0cf4987a6e99e4ee07d7308a6865116ad
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58886
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh
lustre/utils/lfs.c