Re: [PATCH v2] brd: reduce the brd_devices_mutex scope

From
Jens Axboe <axboe@kernel.dk>
Date
2021-10-17 12:52:41
Reply to
Tetsuo Handa, 2021-09-07
On Tue, 7 Sep 2021 19:18:00 +0900, Tetsuo Handa wrote:
As with commit 8b52d8be86d72308 ("loop: reorder loop_exit"),
unregister_blkdev() needs to be called first in order to avoid calling
brd_alloc() from brd_probe() after brd_del_one() from brd_exit(). Then,
we can avoid holding global mutex during add_disk()/del_gendisk() as with
commit 1c500ad706383f1a ("loop: reduce the loop_ctl_mutex scope").


[...]
Applied, thanks!

[1/1] brd: reduce the brd_devices_mutex scope
      commit: f7bf35862477d6d4f8a9746c645a4380de984700

Best regards,
-- 
Jens Axboe

Thread (4 messages) 4 messages, 3 authors, last reply 2021-10-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help