Skip to content

bcache: Fix block device claiming

Jan Kara linux-bcache linux-block 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesApplied
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Fix compile breakage spotted by 0-day
* Fix error handling path when the second blkdev_get_by_dev() fails
* Fix commit message of patch 2/2

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2bcache: Alloc holder object before async registrationdrivers/md/bcache/super.c+25 -412 replies
2/2bcache: Fix bcache device claimingdrivers/md/bcache/super.c+38 -273 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKent OverstreetColy Li
1/2R-b A-b
2/2R-b A-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] bcache: Fix block device claiming

Hello,

these two patches fix block device claiming for bcache broken by recent Christoph's changes to blkdev_get_*() functions and also cleans up the layering violation inside bcache which was the underlying cause of the breakage.

This time I've actually tested various modified error handling paths (which was good because one of them was indeed wrong!).

Jens, please consider merging these fixes before sending Linus a pull request with blkdev changes.

Changes since v1:
* Fix compile breakage spotted by 0-day
* Fix error handling path when the second blkdev_get_by_dev() fails
* Fix commit message of patch 2/2

Honza
Previous versions: