Three patches here: 1) Ensure that we align ->map properly 2) v2 of the sbitmap clear cost ammortization. Updated to do a wakeup check AFTER we're done swapping free/cleared masks. Kept the separate alignment for ->word, as it is faster in testing. 3) Cost reduction of having to do wait queue checks. -- Jens Axboe