Files
android_kernel_xiaomi_sm8450/fs/btrfs
Josef Bacik 357b9784b7 Btrfs: make sure a bitmap has enough bytes
We have only been checking for min_bytes available in bitmap entries, but we
won't successfully setup a bitmap cluster unless it has at least bytes in the
bitmap, so in the common case min_bytes is 4k and we want something like 2MB, so
if there are a bunch of bitmap entries with less than 2mb's in them, we'll
search all them anyway, which is suboptimal.  Fix this check.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2012-01-26 15:01:11 -05:00
..
2012-01-04 16:26:38 +01:00
2011-12-22 16:22:27 +01:00
2012-01-16 15:29:43 -05:00
2011-07-26 16:49:47 -07:00
2008-09-25 11:04:06 -04:00
2012-01-16 15:38:24 -05:00
2012-01-16 15:29:43 -05:00
2012-01-16 22:04:49 +02:00
2011-10-20 18:10:50 +02:00
2011-06-17 14:54:18 -04:00
2012-01-16 15:29:43 -05:00
2011-05-28 07:00:39 -04:00
2012-01-16 15:38:24 -05:00