Re:[PATCH] fuse: Replace hardcoded 4096 with PAGE_SIZE
From: Chunsheng Luo
Date: Tue Aug 19 2025 - 09:34:19 EST
Hi everyone,
I have a question about the historical use of hardcoded 4096 values for
max_read and max_write defaults in FUSE code, rather than using PAGE_SIZE.
fc->max_read = max_t(unsigned, arg->max_read, 4096);
fc->max_write = max_t(unsigned, arg->max_write, 4096);
Is there any historical reason or compatibility concern for keeping the
hardcoded 4096? Would it make sense to use PAGE_SIZE?
Any insights would be appreciated.
Thanks
Chunsheng Luo