blk-mq: set default timeout as 30 seconds
authorMing Lei <ming.lei@canonical.com>
Thu, 16 Jul 2015 11:53:22 +0000 (19:53 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 16 Jul 2015 14:39:11 +0000 (08:39 -0600)
commite56f698bd0720e17f10f39e8b0b5b446ad0ab22c
tree3fdbc929bb1bfaffff5bc28aba742352094a99dc
parent7bee607472aa2e5a36dfe143e5a625be06125f53
blk-mq: set default timeout as 30 seconds

It is reasonable to set default timeout of request as 30 seconds instead of
30000 ticks, which may be 300 seconds if HZ is 100, for example, some arm64
based systems may choose 100 HZ.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Fixes: c76cbbcf4044 ("blk-mq: put blk_queue_rq_timeout together in blk_mq_init_queue()"
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c