Thread (11 messages) 11 messages, 3 authors, 2018-02-27

Re: [PATCH 0/6 v2] block: Fix races in bdev - gendisk handling

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-02-26 16:04:40

On 2/26/18 5:01 AM, Jan Kara wrote:
Hello,

these patches fix races happening when devices are frequently destroyed and
recreated in association of block device inode with corresponding gendisk.
Generally when such race happen it results in use-after-free issues, block
device page cache inconsistencies, or other problems. I have verified these
patches fix use-after-free issues that could be reproduced by frequent creation
and destruction of loop device. Hou Tao has verified that races reported by
him in [1] related to gendisk-blkdev association were also fixed. Jens, can
you please merge these patches? Thanks!
What are you thinking in terms of target? I'd like to get it into 4.16,
but I'd need to know if you are comfortable with that.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help