commit | 462d6fac8960a3ba797927adfcbd29d503eb16fd | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Mon Sep 26 13:56:12 2011 -0400 |
committer | Josef Bacik <josef@redhat.com> | Wed Oct 19 15:12:47 2011 -0400 |
tree | 82e72468a746b55d09246db8272823c2907633e1 | |
parent | ef3be45722317f8c2fb0e861065df0c3830ff9ac [diff] |
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: Josef Bacik <josef@redhat.com>