回复: 回复: [PATCH 1/2] btrfs: convert to spinlock guards in btrfs_update_ioctl_balance_args()
From: 李扬韬
Date: Thu Apr 17 2025 - 09:39:41 EST
> Yeah, there always is. The open coded rb_tree searches can be converted to the rb_find() helpers. It ends up as the same asm code due to inlining and reads a bit better when there's just one rb_find instead of the while loop and left/right tree moves.
OK, thank you very much for the detailed idea!
I will spend time on this.
MBR,
Yangtao