Christoph Hellwig d241a95f35 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>
2019-06-29 09:47:31 -06:00
..
2019-06-20 13:03:51 -06:00
2019-05-07 18:14:36 -07:00
2019-05-07 18:14:36 -07:00
2019-06-20 10:29:22 -06:00
2019-06-15 01:46:09 -06:00
2018-11-07 13:42:32 -07:00