mbox series

[v2,0/2] bcache: Fix block device claiming

Message ID 20230622164149.17134-1-jack@suse.cz (mailing list archive)
Headers show
Series bcache: Fix block device claiming | expand

Message

Jan Kara June 22, 2023, 4:46 p.m. UTC
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:
Link: http://lore.kernel.org/r/20230621162024.29310-1-jack@suse.cz # v1

Comments

Jens Axboe June 23, 2023, 10:10 p.m. UTC | #1
On Thu, 22 Jun 2023 18:46:53 +0200, Jan Kara wrote:
> 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!).
> 
> [...]

Applied, thanks!

[1/2] bcache: Alloc holder object before async registration
      commit: abcc0cbd49283fccd20420e86416b2475b00819c
[2/2] bcache: Fix bcache device claiming
      commit: 2c5555983bd27d24162534b682b10654639a5576

Best regards,