mbox series

[v2,0/1] ceph: Fix incorrect statfs report

Message ID 20211110180021.20876-1-khiremat@redhat.com (mailing list archive)
Headers show
Series ceph: Fix incorrect statfs report | expand


Kotresh Hiremath Ravishankar Nov. 10, 2021, 6 p.m. UTC
From: Kotresh HR <khiremat@redhat.com>

I have addressed the review comments.

For quota less than CEPH_BLOCK size, smaller block
size of 4K is used.

But if quota is less than 4K, it is decided to go
with binary use/free of 4K block. For quota size
less than 4K size, report the total=used=4K,free=0
when quota is full and total=free=4K,used=0 otherwise.

Kotresh HR (1):
  ceph: Fix incorrect statfs report for small quota

 fs/ceph/quota.c | 14 ++++++++++++++
 fs/ceph/super.h |  1 +
 2 files changed, 15 insertions(+)