This patch was posted last year and if I remember correctly, Jens saidhe is OK with the patch. In function __generic_unplug_deivce(), kernelcan use a cheaper function elv_queue_empty() instead of more expensiveelv_next_request to find whether the queue is empty or not. blk_run_queuecan also made conditional on whether queue's emptiness before callingrequest_fn().