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/27/19 9:05 PM, Ming Lei wrote:
> loop is one block device, for any bio submitted to this device,
> the upper layer does guarantee that pages added to loop's bio won't
> go away when the bio is in-flight.
> 
> So mark loop's bvec as ITER_BVEC_FLAG_NO_REF then get_page/put_page
> can be saved for serving loop's IO.

Curious if this is a noticable win on loop? In any case, looks
fine to me, I'll queue it up for 5.2.

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