summaryrefslogtreecommitdiff
path: root/Documentation/block
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2021-06-09 04:58:22 +0300
committerJens Axboe <axboe@kernel.dk>2021-06-16 17:41:50 +0300
commita72c374f97a4c7b2f9dde5144c867fec4bdcd798 (patch)
treecddac674799db622785784702ade8e4d34821d9a /Documentation/block
parent2cafe29a8d03f02a3d16193bdaae2f3e82a423f9 (diff)
downloadlinux-a72c374f97a4c7b2f9dde5144c867fec4bdcd798.tar.xz
block: mark queue init done at the end of blk_register_queue
Mark queue init done when everything is done well in blk_register_queue(), so that wbt_enable_default() can be run quickly without any RCU period involved since adding rq qos requires to freeze queue. Also no any side effect by delaying to mark queue init done. Reported-by: Yi Zhang <yi.zhang@redhat.com> Cc: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Tested-by: Yi Zhang <yi.zhang@redhat.com> Link: https://lore.kernel.org/r/20210609015822.103433-3-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions