From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: Daniel Wagner <dwagner@suse.de>, linux-block@vger.kernel.org
Subject: Re: [PATCH] block: fix leaking minors of hidden disks
Date: Mon, 10 Oct 2022 08:49:14 -0600 [thread overview]
Message-ID: <166541335450.5340.12319693019784412348.b4-ty@kernel.dk> (raw)
In-Reply-To: <20221010131857.748129-1-hch@lst.de>
On Mon, 10 Oct 2022 15:18:57 +0200, Christoph Hellwig wrote:
> The major/minor of a hidden gendisk is not propagated to the block
> device because it is never registered using bdev_add. But the lack of
> bd_dev also causes the dynamic major minor number not to be freed.
> Assign bd_dev manually to ensure the dynamic major minor gets freed.
>
> Based on a patch by Keith Busch.
>
> [...]
Applied, thanks!
[1/1] block: fix leaking minors of hidden disks
commit: a0a6314ae774f8a5e52a599946aa2ad0db867b83
Best regards,
--
Jens Axboe
next prev parent reply other threads:[~2022-10-10 14:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 13:18 [PATCH] block: fix leaking minors of hidden disks Christoph Hellwig
2022-10-10 13:34 ` Keith Busch
2022-10-10 14:49 ` Jens Axboe [this message]
2022-10-12 6:20 ` Hannes Reinecke
-- strict thread matches above, loose matches on Subject: below --
2022-10-07 19:32 Keith Busch
2022-10-07 19:36 ` Keith Busch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=166541335450.5340.12319693019784412348.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=dwagner@suse.de \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox