As discussed on the list, it'd be really nice to rework this so we have more flexibility (in particular in the presence of SQPOLL). Please poke some holes in this one. Patch 2 is the meat of it, patch 1 is just a prep patch. The basic idea is explained in that patch, so I won't repeat that here. -- Jens Axboe