Page MenuHomeFreeBSD

p9fs: Implement msize mount option and bump default to 128 KiB
Needs ReviewPublic

Authored by arichardson on Sat, Apr 18, 5:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 18, 11:44 AM
Unknown Object (File)
Sat, Apr 18, 9:45 AM
Subscribers

Details

Reviewers
markj
kib
Summary

QEMU warns when msize is <= 8192 due to degraded performance.
This change bumps our default msize to 128 KiB, matching the
Linux Kernel v5.15 and newer default. Linux supports even larger values,
but 128 KiB is a sensible default.

We also add a new 'msize' mount option to allow users to override
this value, and we validate it against our maximum supported MTU
(currently fixed by the UMA zone size).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 72317
Build 69200: arc lint + arc unit