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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux