Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572026

Re: [PATCH] block: queue lock must be acquired when iterating over rls

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] block: queue lock must be acquired when iterating over rls
Date 2017-02-01 23:40 +0100
Message-ID <t6bJf-3KV-13@gated-at.bofh.it> (permalink)
References <t5WKd-2n7-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/31/2017 10:36 PM, Tahsin Erdogan wrote:
> blk_set_queue_dying() does not acquire queue lock before it calls
> blk_queue_for_each_rl(). This allows a racing blkg_destroy() to
> remove blkg->q_node from the linked list and have
> blk_queue_for_each_rl() loop infitely over the removed blkg->q_node
> list node.

Thanks, applied.

-- 
Jens Axboe

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] block: queue lock must be acquired when iterating over rls Tahsin Erdogan <tahsin@google.com> - 2017-02-01 07:40 +0100
  Re: [PATCH] block: queue lock must be acquired when iterating over  rls Jens Axboe <axboe@kernel.dk> - 2017-02-01 23:40 +0100

csiph-web