Re: [PATCH] block: loop: mark bvec as ITER_BVEC_FLAG_NO_REF

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

 



On 3/28/19 9:02 AM, Christoph Hellwig wrote:
>> +	iov_iter_bvec(i, direction, bvec, nr_segs, count);
>> +	i->type |= ITER_BVEC_FLAG_NO_REF;
>> +}
> 
> What about simply providing a iov_iter_bvec_noref in core code and
> also using that in io_uring?
> 
> Otherwise this looks fine to me.

I'd be fine with that helper.

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