Whamcloud - gitweb
LU-13359 quota: make used for pool correct 98/39298/7
authorSergey Cheremencev <sergey.cheremencev@hpe.com>
Tue, 7 Jul 2020 20:19:48 +0000 (23:19 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 13 Aug 2020 05:58:31 +0000 (05:58 +0000)
commit6b9f849fd5f49ce68e6102f9c79f52eb11bf949d
treec759b96fd0fd72d18fe0298f240a3cbc644cc118
parent726897c87c42c1a74cae46795acda1a88ef43605
LU-13359 quota: make used for pool correct

Before this patch used space for quota pool
was a sum of a space used by user at all OSTs
in a system. Now it is fixed and lfs quota --pool
takes into account only OSTs form the pool.
With option -v it also shows only OSTs from the pool.

Change-Id: Idf1c8ed66fca7caec70246ea4182df883bcef23c
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Reviewed-on: https://review.whamcloud.com/39298
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/dir.c
lustre/lod/lod_pool.c
lustre/lov/lov_internal.h
lustre/lov/lov_obd.c
lustre/lov/lov_pool.c
lustre/ptlrpc/Makefile.in
lustre/tests/sanity-quota.sh
lustre/utils/lfs.c