public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Ming Lei <ming.lei@redhat.com>
Cc: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
	linux-block@vger.kernel.org
Subject: Re: [PATCH] block: null_blk: only set set->nr_maps as 3 if active poll_queues is > 0
Date: Thu, 23 Dec 2021 22:06:09 -0700	[thread overview]
Message-ID: <164032236905.919063.8882037687804425617.b4-ty@kernel.dk> (raw)
In-Reply-To: <20211224010831.1521805-1-ming.lei@redhat.com>

On Fri, 24 Dec 2021 09:08:31 +0800, Ming Lei wrote:
> It isn't correct to set set->nr_maps as 3 if g_poll_queues is > 0 since
> we can change it via configfs for null_blk device created there, so only
> set it as 3 if active poll_queues is > 0.
> 
> Fixes divide zero exception reported by Shinichiro.
> 
> 
> [...]

Applied, thanks!

[1/1] block: null_blk: only set set->nr_maps as 3 if active poll_queues is > 0
      commit: 19768f80cf23834e65482f1667ff54192d469fee

Best regards,
-- 
Jens Axboe



      parent reply	other threads:[~2021-12-24  5:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24  1:08 [PATCH] block: null_blk: only set set->nr_maps as 3 if active poll_queues is > 0 Ming Lei
2021-12-24  4:28 ` Shinichiro Kawasaki
2021-12-24  5:06 ` Jens Axboe [this message]

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=164032236905.919063.8882037687804425617.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=shinichiro.kawasaki@wdc.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