summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-10-02 23:12:23 +0300
committerChris Mason <clm@fb.com>2015-10-22 04:55:41 +0300
commit0584f718ed1f351fca5047a4b1ebba9b5ea41215 (patch)
tree201ced5ececf47ac59e358973b73fd376388e8a1 /fs/btrfs/disk-io.c
parentcef404837002103584c7c82f1e3fc3ec5961f47b (diff)
downloadlinux-0584f718ed1f351fca5047a4b1ebba9b5ea41215.tar.xz
Btrfs: don't do extra bitmap search in one bit case
When we make ctl->unit allocations from a bitmap there is no point in searching for the next 0 in the bitmap. If we've found a bit we're done and can just exit the loop. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions