Revision 38e87880666091fe9c572a7a2ed2e771d97ca5aa authored by Chris Mason on 10 June 2011, 20:36:57 UTC, committed by Chris Mason on 10 June 2011, 20:36:57 UTC
Josef recently changed the free extent cache to look in
the block group cluster for any bitmaps before trying to
add a new bitmap for the same offset.  This avoids BUG_ON()s due
covering duplicate ranges.

But it didn't go quite far enough.  A given free range might span
between one or more bitmaps or free space entries.  The code has
looping to cover this, but it doesn't check for clustered bitmaps
every time.

This shuffles our gotos to check for a bitmap in the cluster
for every new bitmap entry we try to add.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 3473f3c
History
File Mode Size
ac97
ali5451
asihpi
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda
ice1712
korg1212
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652
trident
vx222
ymfpci
Kconfig -rw-r--r-- 23.9 KB
Makefile -rw-r--r-- 2.1 KB
ad1889.c -rw-r--r-- 26.4 KB
ad1889.h -rw-r--r-- 7.9 KB
ak4531_codec.c -rw-r--r-- 17.1 KB
als300.c -rw-r--r-- 23.2 KB
als4000.c -rw-r--r-- 31.4 KB
atiixp.c -rw-r--r-- 45.5 KB
atiixp_modem.c -rw-r--r-- 35.9 KB
azt3328.c -rw-r--r-- 85.5 KB
azt3328.h -rw-r--r-- 15.5 KB
bt87x.c -rw-r--r-- 29.7 KB
cmipci.c -rw-r--r-- 101.9 KB
cs4281.c -rw-r--r-- 64.6 KB
cs5530.c -rw-r--r-- 7.1 KB
ens1370.c -rw-r--r-- 79.0 KB
ens1371.c -rw-r--r-- 38 bytes
es1938.c -rw-r--r-- 55.5 KB
es1968.c -rw-r--r-- 77.2 KB
fm801.c -rw-r--r-- 46.5 KB
intel8x0.c -rw-r--r-- 90.6 KB
intel8x0m.c -rw-r--r-- 37.7 KB
maestro3.c -rw-r--r-- 85.2 KB
rme32.c -rw-r--r-- 57.8 KB
rme96.c -rw-r--r-- 66.6 KB
sis7019.c -rw-r--r-- 38.9 KB
sis7019.h -rw-r--r-- 13.3 KB
sonicvibes.c -rw-r--r-- 51.8 KB
via82xx.c -rw-r--r-- 77.0 KB
via82xx_modem.c -rw-r--r-- 34.5 KB

back to top