diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-04 00:06:56 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:41 -0500 |
commit | 38ced43bb04ac59b1417f520f4d5a5c3bc3d1e57 (patch) | |
tree | ca82b048b407eabf2396690cff42f8848a68171e /fs/bcachefs/fsck.c | |
parent | 09caeabe1a5daa3b667b797c401d43206d583f23 (diff) | |
download | linux-stable-38ced43bb04ac59b1417f520f4d5a5c3bc3d1e57.tar.gz linux-stable-38ced43bb04ac59b1417f520f4d5a5c3bc3d1e57.tar.bz2 linux-stable-38ced43bb04ac59b1417f520f4d5a5c3bc3d1e57.zip |
bcachefs: Inline btree write buffer sort
The sort in the btree write buffer flush path is a very hot path, and
it's particularly performance sensitive since it's single threaded and
can block every other thread on a multithreaded write workload.
It's well worth doing a sort with inlined cmp and swap functions.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fsck.c')
0 files changed, 0 insertions, 0 deletions