Skip to content

Optimize block_device utilization

Jens Axboe linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: re-arrange the struct block_device fields for better layoutinclude/linux/blk_types.h+8 -82 replies
2/2block: store bdev->bd_disk->fops->submit_bio state in bdevblock/bdev.c block/blk-core.c block/genhd.c +1 more+10 -44 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/2] Optimize block_device utilization

Hi,

First is just a prep patch that moves struct device, which is quite the pig, out of line in block_device, and then shuffles a few fields for better layout. It also saves 16 bytes of space in there while at it.

Second patch caches the bdev->disk->fops->submit_bio state in the bdev, so we can avoid this long dependent memory load chain in the fast path.

Signature · 1 line
Jens Axboe