commit | 399254aaf4892113c806816f7e64cf40c804d46d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Feb 27 13:13:23 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 18 10:44:48 2019 -0600 |
tree | 319206f280d9b57c45dfa2a42e869b25270611f4 | |
parent | 875f1d0769cdcfe1596ff0ca609b453359e42ec9 [diff] |
block: add BIO_NO_PAGE_REF flag 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: Jens Axboe <axboe@kernel.dk>