mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
nilfs2: optimize rec_len functions
This is a similar change to those in ext2/ext3 codebase (commit40a063f669anda4ae309486, respectively). The addition of 64k block capability in the rec_len_from_disk and rec_len_to_disk functions added a bit of math overhead which slows down file create workloads needlessly when the architecture cannot even support 64k blocks. This will cut the corner. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
parent
4138ec2382
commit
ae191838b0
2 changed files with 5 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue