Searched hist:"06 eb061f48594aa369f6e852b352410298b317a8" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-rq.c | diff 06eb061f48594aa369f6e852b352410298b317a8 Fri Apr 07 18:50:44 CDT 2017 Bart Van Assche <bart.vanassche@sandisk.com> dm mpath: requeue after a small delay if blk_get_request() fails
If blk_get_request() returns ENODEV then multipath_clone_and_map() causes a request to be requeued immediately. This can cause a kworker thread to spend 100% of the CPU time of a single core in __blk_mq_run_hw_queue() and also can cause device removal to never finish.
Avoid this by only requeuing after a delay if blk_get_request() fails. Additionally, reduce the requeue delay.
Cc: stable@vger.kernel.org # 4.9+ Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|
H A D | dm-mpath.c | diff 06eb061f48594aa369f6e852b352410298b317a8 Fri Apr 07 18:50:44 CDT 2017 Bart Van Assche <bart.vanassche@sandisk.com> dm mpath: requeue after a small delay if blk_get_request() fails
If blk_get_request() returns ENODEV then multipath_clone_and_map() causes a request to be requeued immediately. This can cause a kworker thread to spend 100% of the CPU time of a single core in __blk_mq_run_hw_queue() and also can cause device removal to never finish.
Avoid this by only requeuing after a delay if blk_get_request() fails. Additionally, reduce the requeue delay.
Cc: stable@vger.kernel.org # 4.9+ Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|