]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: comment on races related with timeout handler
authorMing Lei <tom.leiming@gmail.com>
Mon, 27 Mar 2017 12:06:55 +0000 (20:06 +0800)
committerJens Axboe <axboe@fb.com>
Wed, 29 Mar 2017 14:03:42 +0000 (08:03 -0600)
commit66edac57cdeefc1388123472cff6678b76e8343b
tree11aa011fd37301c78c492322a2fbc5d1afbd75b0
parent4ab1c287b7be8e63ffc92877ea6bf2cf282249d2
blk-mq: comment on races related with timeout handler

This patch adds comment on two races related with
timeout handler:

- requeue from queue busy vs. timeout
- rq free & reallocation vs. timeout

Both the races themselves and current solution aren't
explicit enough, so add comments on them.

Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c