commit | d241a95f3514a5eb544dfd8d9d141ffd1c89b707 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jun 26 15:49:21 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Jun 29 09:47:31 2019 -0600 |
tree | 4e0545aab26f747bbe890cc9756dff3d276a2de6 | |
parent | b2d0d99135ad145667765cbd27f148c1a4cd50d1 [diff] |
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>