From: Jens Axboe <axboe@kernel.dk>
To: ming.lei@redhat.com
Cc: vincent.fu@samsung.com, linux-block@vger.kernel.org
Subject: Re: [PATCH V2] null_blk: cleanup null_init_tag_set
Date: Fri, 15 Jul 2022 08:42:10 -0600 [thread overview]
Message-ID: <165789613045.273640.16090335610544459299.b4-ty@kernel.dk> (raw)
In-Reply-To: <20220715142847.188275-1-ming.lei@redhat.com>
On Fri, 15 Jul 2022 22:28:47 +0800, Ming Lei wrote:
> The passed 'nullb' can be NULL, so cause null ptr reference.
>
> Fix the issue, meantime cleanup null_init_tag_set for avoiding to add
> similar issue in future.
>
> Meantime set BLK_MQ_F_NO_SCHED if g_no_sched is true in case of NULL
> device, same with BLK_MQ_F_TAG_HCTX_SHARED.
>
> [...]
Applied, thanks!
[1/1] null_blk: cleanup null_init_tag_set
commit: dec7e933d65dbc6eaa6c7fd8f960df164a20dd4d
Best regards,
--
Jens Axboe
next prev parent reply other threads:[~2022-07-15 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-15 14:28 [PATCH V2] null_blk: cleanup null_init_tag_set Ming Lei
2022-07-15 14:42 ` Jens Axboe [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-06 8:21 [PATCH 0/2] blk-mq: fix lockdep warning between sysfs_lock and cpuhotplug lock Ming Lei
2024-12-06 8:21 ` [PATCH V2] null_blk: cleanup null_init_tag_set Ming Lei
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=165789613045.273640.16090335610544459299.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=vincent.fu@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox