Re: [PATCH] fuse: make foffset alignment opt-in for optimum backend performance

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

 



On Fri, 5 Jul 2024 at 14:00, Jingbo Xu <jefflexu@xxxxxxxxxxxxxxxxx> wrote:
> I'm okay with resuing max_pages as the alignment constraint.  They are
> the same in our internal scenarios.  But I'm not sure if it is the case
> in other scenarios.

max_pages < alignment makes little sense.

max_pages = n * alignment could make sense, i.e. allow writes that are
whole multiples of the alignment.

I'm not against adding a separate alignment, but it could be just
uint8_t to take up less space in init_out.   We could have done that
with max_stack_depth too.   Oh well...

Thanks,
Miklos




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux