Re: [PATCH] block: null_blk: only set set->nr_maps as 3 if active poll_queues is > 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux