diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-13 16:40:11 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-22 12:00:07 -0600 |
commit | 81481eb423c295c5480a3fab9bb961cf286c91e7 (patch) | |
tree | 3d4f0eaed9f784ba5beb41aa9fec3e76b867c1e8 /lib/syscall.c | |
parent | c8a446ad695ada43a885ec12b38411dbd190a11b (diff) | |
download | linux-stable-81481eb423c295c5480a3fab9bb961cf286c91e7.tar.gz linux-stable-81481eb423c295c5480a3fab9bb961cf286c91e7.tar.bz2 linux-stable-81481eb423c295c5480a3fab9bb961cf286c91e7.zip |
blk-mq: fix and simplify tag iteration for the timeout handler
Don't do a kmalloc from timer to handle timeouts, chances are we could be
under heavy load or similar and thus just miss out on the timeouts.
Fortunately it is very easy to just iterate over all in use tags, and doing
this properly actually cleans up the blk_mq_busy_iter API as well, and
prepares us for the next patch by passing a reserved argument to the
iterator.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions