diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-26 15:49:21 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-29 09:47:31 -0600 |
commit | d241a95f3514a5eb544dfd8d9d141ffd1c89b707 (patch) | |
tree | 4e0545aab26f747bbe890cc9756dff3d276a2de6 /lib/ts_fsm.c | |
parent | b2d0d99135ad145667765cbd27f148c1a4cd50d1 (diff) | |
download | linux-d241a95f3514a5eb544dfd8d9d141ffd1c89b707.tar.gz linux-d241a95f3514a5eb544dfd8d9d141ffd1c89b707.tar.bz2 linux-d241a95f3514a5eb544dfd8d9d141ffd1c89b707.zip |
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 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions