summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-26 16:49:21 +0300
committerJens Axboe <axboe@kernel.dk>2019-06-29 18:47:31 +0300
commitd241a95f3514a5eb544dfd8d9d141ffd1c89b707 (patch)
tree4e0545aab26f747bbe890cc9756dff3d276a2de6 /include/linux/compiler.h
parentb2d0d99135ad145667765cbd27f148c1a4cd50d1 (diff)
downloadlinux-d241a95f3514a5eb544dfd8d9d141ffd1c89b707.tar.xz
block: optionally mark pages dirty in bio_release_pages
A lot of callers of bio_release_pages also want to mark the released pages as dirty. Add a mark_dirty parameter to avoid a second relatively expensive bio_for_each_segment_all loop. Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions