All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: yukuai3@huawei.com
Cc: linux-block@vger.kernel.org, yi.zhang@huawei.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] blk-mq: fix possible creation failure for 'debugfs_dir'
Date: Tue, 19 Apr 2022 20:10:40 -0600	[thread overview]
Message-ID: <165042064016.532249.4832316049346088891.b4-ty@kernel.dk> (raw)
In-Reply-To: <20220415035607.1836495-1-yukuai3@huawei.com>

On Fri, 15 Apr 2022 11:56:07 +0800, Yu Kuai wrote:
> 'q->debugfs_dir' is created in blk_register_queue(), however, it's not
> removed in blk_unregister_queue() and is delayed to blk_release_queue().
> Thus it's possible that del_gendisk() is done and blk_release_queue()
> is not called yet, and in the mean time blk_register_queue() is called
> for the new device with the same name. In this case, kernel will
> compalin about creation failure for 'debugfs_dir' like following:
> 
> [...]

Applied, thanks!

[1/1] blk-mq: fix possible creation failure for 'debugfs_dir'
      commit: a87c29e1a85e64b28445bb1e80505230bf2e3b4b

Best regards,
-- 
Jens Axboe



  reply	other threads:[~2022-04-20  2:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15  3:56 [PATCH RESEND] blk-mq: fix possible creation failure for 'debugfs_dir' Yu Kuai
2022-04-20  2:10 ` Jens Axboe [this message]
2022-04-20  3:40 ` Williams, Dan J

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=165042064016.532249.4832316049346088891.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai3@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.