diff options
author | Daniel Wagner <dwagner@suse.de> | 2020-07-28 15:29:51 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-28 09:37:09 -0600 |
commit | 08c875cbf481d74db82d6bba2fbcf580087dee24 (patch) | |
tree | 8ed4f010c4352c514d3deff6462b8d7a2423d587 /ipc | |
parent | ef45fe470e1e5410db4af87abc5d5055427945ac (diff) | |
download | linux-08c875cbf481d74db82d6bba2fbcf580087dee24.tar.gz linux-08c875cbf481d74db82d6bba2fbcf580087dee24.tar.bz2 linux-08c875cbf481d74db82d6bba2fbcf580087dee24.zip |
block: Use non _rcu version of list functions for tag_set_list
tag_set_list is only accessed under the tag_set_lock lock. There is
no need for using the _rcu list functions.
The _rcu list function were introduced to allow read access to the
tag_set_list protected under RCU, see 705cda97ee3a ("blk-mq: Make it
safe to use RCU to iterate over blk_mq_tag_set.tag_list") and
05b79413946d ("Revert "blk-mq: don't handle TAG_SHARED in restart"").
Those changes got reverted later but the cleanup commit missed a
couple of places to undo the changes.
Fixes: 97889f9ac24f ("blk-mq: remove synchronize_rcu() from blk_mq_del_queue_tag_set()"
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions