NACK, this change will significantly increase mds load. Inaccuracy is inherent in current quota design. 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 >