On Mon, Feb 07, 2011 at 10:59:54PM +0200, Amir Goldstein wrote: > it says alloc_sem protects against lazy init of adjacent groups > and says nothing about protecting block group specific data structures... > > what am I missing??? You're missing ext4_mb_load_buddy(), which takes grp->alloc_sem, and which is released by ext4_mb_unload_buddy(). No, it's not the most obvious code in the world... - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html