Re: [PATCH 16/22] block: add BIO_HOLD_PAGES flag

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

 



On 12/21/18 4:30 AM, Christoph Hellwig wrote:
> On Tue, Dec 18, 2018 at 08:42:24AM -0700, Jens Axboe wrote:
>> For user mapped IO, we do get_user_pages() upfront, and then do a
>> put_page() on each page at end_io time to release the page reference. In
>> preparation for having permanently mapped pages, add a BIO_HOLD_PAGES
>> flag that tells us not to release the pages, the caller will do that.
>>
>> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> 
> This looks sensible, but I'm not sure it makes sense on its own.
> The changes are a lot more obvious if merged into the next patch.

I'll fold with the next one.

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