[PATCH 1/8] cachefiles: Fix incorrect block calculations in __cachefiles_prepare_write()
Zizhi Wo
wozizhi at huawei.com
Thu Oct 10 23:17:26 AEDT 2024
在 2024/10/10 19:36, David Howells 写道:
> Zizhi Wo <wozizhi at huawei.com> wrote:
>
>> For scenarios such as nfs/cifs, the corresponding bsize is PAGE_SIZE aligned
>
> cache->bsize is a property of the cache device, not the network filesystems
> that might be making use of it (and it might be shared between multiple
> volumes from multiple network filesystems, all of which could, in theory, have
> different 'block sizes', inasmuch as network filesystems have block sizes).
>
> David
>
>
Then I was wrong. Thank you for pointing it out. I'll be thinking about
new solutions for non-PAGE_SIZE scenarios.
Thanks,
Zizhi Wo
More information about the Linux-erofs
mailing list