Jens Axboe wrote: > We very rarely (if ever) complete more than one command in the > sactive mask at the time, even for extremely high IO rates. So > looping over the entire range of possible tags is pointless, > instead use __ffs() to just find the completed tags directly. > > Updated to clear the tag from the done_mask instead of shifting > done_mask down as suggested by From: Tejun Heo <htejun@xxxxxxxxx> > Verified with a user space tester to produce the same results. > > Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx> Acked-by: Tejun Heo <tj@xxxxxxxxxx> Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html