Re: [PATCH 0/2] null_blk: make sure submit_queues > 0

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

 



On 08/07/2017 06:36 AM, weiping zhang wrote:
> On Thu, Aug 03, 2017 at 12:26:00AM +0800, weiping zhang wrote:
>> Hi,
>>
>> two misc patch for null_blk,
>>
>> null_blk: simplify logic for use_per_node_hctx
>> simplify code logic, if use_per_node_hctx set submit_queues same as
>> nr_online_nodes.
>>
>> null_blk: make sure submit_queues > 0
>> set submit_queues to 1 by default, and add a handle for it's value < 0,
>> no matter what user want, otherwise kmalloc has a negtive parameters.
>>
>> weiping zhang (2):
>>   null_blk: simplify logic for use_per_node_hctx
>>   null_blk: make sure submit_queues > 0
>>
>>  drivers/block/null_blk.c | 11 ++++-------
>>  1 file changed, 4 insertions(+), 7 deletions(-)
> 
> Hi Jens,
> 
> Have you had a chance to look these two misc changes at your
> convinience.

Looks fine/trivial to me, I've added them for 4.14. Thanks.

-- 
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