Re: [PATCH 24/26] fs: add support for mapping an ITER_BVEC for O_DIRECT

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

 



On 12/16/18 9:41 AM, Christoph Hellwig wrote:
>> +	if (iov_iter_is_bvec(iter))
>> +		ret = bio_iov_bvec_add_pages(&bio, iter);
>> +	else
>> +		ret = bio_iov_iter_get_pages(&bio, iter);
> 
> Shouldn't this actually be done inside bio_iov_iter_get_pages?

It probably should... Should be trivial, I'll move it there instead.

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