Skip to content
Commit 01fc48e8 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: don't load the block bitmap for block groups which have no space



Add a short circuit check to ext4_mb_group_group() so that we don't
bother to load the block bitmap for a block group which does not have
any space available.  (Or which does not have enough space until we
are in desperation mode, i.e., when cr == 3.)

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=45741
Reported-by: default avatar <mirek@me.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent ecb94f5f
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