Skip to content
Snippets Groups Projects
  • Jens Axboe's avatar
    399254aa
    block: add BIO_NO_PAGE_REF flag · 399254aa
    Jens Axboe authored
    
    If bio_iov_iter_get_pages() is called on an iov_iter that is flagged
    with NO_REF, then we don't need to add a page reference for the pages
    that we add.
    
    Add BIO_NO_PAGE_REF to track this in the bio, so IO completion knows
    not to drop a reference to these pages.
    
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    399254aa
    History
    block: add BIO_NO_PAGE_REF flag
    Jens Axboe authored
    
    If bio_iov_iter_get_pages() is called on an iov_iter that is flagged
    with NO_REF, then we don't need to add a page reference for the pages
    that we add.
    
    Add BIO_NO_PAGE_REF to track this in the bio, so IO completion knows
    not to drop a reference to these pages.
    
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.