Skip to content
Commit 462d6fac authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: introduce convert_extent_bit



If I have a range where I know a certain bit is and I want to set it to another
bit the only option I have is to call set and then clear bit, which will result
in 2 tree searches.  This is inefficient, so introduce convert_extent_bit which
will go through and set the bit I want and clear the old bit I don't want.
Thanks,

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent ef3be457
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment