From: Kotresh HR <khiremat@xxxxxxxxxx> The statfs reports incorrect free/available space for quota less then CEPH_BLOCK size (4M). The approach chosen is to go with binary use/free of full block instead of chosing the smaller block size. For quota size less than CEPH_BLOCK size, report the total=used=CEPH_BLOCK,free=0 when quota is full and total=free=CEPH_BLOCK, used=0 otherwise. Kotresh HR (1): ceph: Fix incorrect statfs report for small quota fs/ceph/quota.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.31.1