Re: [RESEND PATCH] lightnvm: pblk: add asynchronous partial read

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

 



On 6/22/18 12:17 PM, Matias Bjørling wrote:
>> +	/* Re-use allocated memory for intermediate lbas */
>> +	lba_list_mem = (((void *)rqd->ppa_list) + pblk_dma_ppa_size);
>> +
>> +	new_bio = bio_alloc(GFP_KERNEL, nr_holes);
> 
> 
> new_bio can return NULL.

It can't, not if __GFP_WAIT is set like it is for GFP_KERNEL.

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