All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] ceph: Fix incorrect statfs report
@ 2021-11-10 18:00 khiremat
  2021-11-10 18:00 ` [PATCH v2 1/1] ceph: Fix incorrect statfs report for small quota khiremat
  0 siblings, 1 reply; 8+ messages in thread
From: khiremat @ 2021-11-10 18:00 UTC (permalink / raw)
  To: jlayton; +Cc: pdonnell, idryomov, xiubli, vshankar, ceph-devel, Kotresh HR

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(+)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-15  6:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 18:00 [PATCH v2 0/1] ceph: Fix incorrect statfs report khiremat
2021-11-10 18:00 ` [PATCH v2 1/1] ceph: Fix incorrect statfs report for small quota khiremat
2021-11-10 19:18   ` Jeff Layton
2021-11-11  7:02     ` Kotresh Hiremath Ravishankar
2021-11-15  2:53   ` Xiubo Li
2021-11-15  5:30     ` Kotresh Hiremath Ravishankar
2021-11-15  5:42       ` Xiubo Li
2021-11-15  6:31         ` Kotresh Hiremath Ravishankar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.