Thread (34 messages) 34 messages, 7 authors, 2020-12-08

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

From: Jens Axboe <axboe@kernel.dk>
Date: 2020-12-04 16:43:55
Also in: dm-devel, linux-bcache, linux-block, linux-s390

On 12/1/20 9:54 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.

Note that this series depends on the posted but not merged
"block tracepoint cleanups" series.
Applied, thanks.

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