On 08/22/18 21:51, Liu Bo wrote:
Several structs in btrfs are using rb_first() in a while loop, it'd be
more efficient to do this with rb_first_cached() which has the O(1)
complexity.

This patch set updates five structs which may have a large rb tree in
practice

Great idea, works for me with no bad side effects so far. So:

Tested-by: Holger Hoffstätte <hol...@applied-asynchrony.com>

cheers
Holger

Reply via email to