Thread (9 messages) 9 messages, 7 authors, 2017-11-17

Re: [PATCH] bio: ensure __bio_clone_fast copies bi_partno

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-11-17 15:27:40
Also in: linux-bcache, stable

On 11/17/2017 12:47 AM, Michael Lyle wrote:
A new field was introduced in 74d46992e0d9dee7f1f376de0d56d31614c8a17a,
bi_partno, instead of using bdev->bd_contains and encoding the partition
information in the bi_bdev field.  __bio_clone_fast was changed to copy
the disk information, but not the partition information.  At minimum,
this regressed bcache and caused data corruption.
That's not good... Fix looks good to me, I'll queue this up for a pull
today. Thanks for bisecting this, Michael.

-- 
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