Re: [PATCH v2 0/2] ceph: switch to 4KB block size if quota size is not aligned to 4MB

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

 




On 6/30/22 11:30 AM, Yan, Zheng wrote:
On Thu, Jun 30, 2022 at 11:05 AM Xiubo Li <xiubli@xxxxxxxxxx> wrote:

On 6/30/22 10:39 AM, Yan, Zheng wrote:
NACK,  this change will significantly increase mds load. Inaccuracy is
inherent in current quota design.
Yeah, I was also thinking could we just allow the quota size to be
aligned to 4KB if it < 4MB, or must be aligned to 4MB ?

Any idea ?
make sense

Cool, Thanks Zheng.

I will work on that.

-- Xiubo


- Xiubo


On Mon, Jun 27, 2022 at 10:06 AM <xiubli@xxxxxxxxxx> wrote:
From: Xiubo Li <xiubli@xxxxxxxxxx>

V2:
- Switched to IS_ALIGNED() macro
- Added CEPH_4K_BLOCK_SIZE macro
- Rename CEPH_BLOCK to CEPH_BLOCK_SIZE

Xiubo Li (3):
    ceph: make f_bsize always equal to f_frsize
    ceph: switch to use CEPH_4K_BLOCK_SHIFT macro
    ceph: switch to 4KB block size if quota size is not aligned to 4MB

   fs/ceph/quota.c | 32 ++++++++++++++++++++------------
   fs/ceph/super.c | 28 ++++++++++++++--------------
   fs/ceph/super.h |  5 +++--
   3 files changed, 37 insertions(+), 28 deletions(-)

--
2.36.0.rc1





[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