Re: store a pointer to the block_device in struct bio (again) v2

From
Jens Axboe <axboe@kernel.dk>
Date
2021-01-25 16:25:24
Also in
dm-devel, linux-block, linux-raid, linux-s390
Reply to
Christoph Hellwig, 2021-01-24
On 1/24/21 3:02 AM, Christoph Hellwig wrote:
Hi Jens,

this series switches back from storing the gendisk + partno to storing
a block_device pointer in struct bio.  The reason is two fold:  for one
the new struct block_device actually is always available, removing the
need to avoid originally.  Second the merge struct block_device is much
more useful than the old one, as storing it avoids the need for looking
up what used to be hd_struct during partition remapping and I/O
accounting.
Applied for 5.12, thanks.

-- 
Jens Axboe
Thread (18 messages) 18 messages, 3 authors, last reply 2021-01-26
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