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
6fire
caiaq
misc
usx2y
Kconfig -rw-r--r-- 3.4 KB
Makefile -rw-r--r-- 518 bytes
card.c -rw-r--r-- 19.2 KB
card.h -rw-r--r-- 4.6 KB
clock.c -rw-r--r-- 8.8 KB
clock.h -rw-r--r-- 316 bytes
debug.h -rw-r--r-- 251 bytes
endpoint.c -rw-r--r-- 12.8 KB
endpoint.h -rw-r--r-- 297 bytes
format.c -rw-r--r-- 14.6 KB
format.h -rw-r--r-- 317 bytes
helper.c -rw-r--r-- 2.8 KB
helper.h -rw-r--r-- 1.1 KB
midi.c -rw-r--r-- 61.8 KB
midi.h -rw-r--r-- 1.5 KB
mixer.c -rw-r--r-- 61.1 KB
mixer.h -rw-r--r-- 1.6 KB
mixer_maps.c -rw-r--r-- 11.8 KB
mixer_quirks.c -rw-r--r-- 15.9 KB
mixer_quirks.h -rw-r--r-- 367 bytes
pcm.c -rw-r--r-- 24.9 KB
pcm.h -rw-r--r-- 282 bytes
power.h -rw-r--r-- 375 bytes
proc.c -rw-r--r-- 6.0 KB
proc.h -rw-r--r-- 211 bytes
quirks-table.h -rw-r--r-- 61.6 KB
quirks.c -rw-r--r-- 18.4 KB
quirks.h -rw-r--r-- 682 bytes
urb.c -rw-r--r-- 25.2 KB
urb.h -rw-r--r-- 696 bytes
usbaudio.h -rw-r--r-- 2.8 KB

back to top