[PATCH v1 0/1] ceph: Fix incorrect statfs report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux