diff options
author | 2016-10-29 16:08:06 +0800 | |
---|---|---|
committer | 2016-11-21 09:51:58 -0500 | |
commit | 0dae7fe59749ba3a3644f717315097422bea9680 (patch) | |
tree | 4c8a286ed56fcb7ae2d9c84800c68f3d5f4c939e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm io: use bvec iterator helpers to implement .get_page and .next_page (diff) | |
download | linux-dev-0dae7fe59749ba3a3644f717315097422bea9680.tar.xz linux-dev-0dae7fe59749ba3a3644f717315097422bea9680.zip |
dm crypt: use bio_add_page()
Use bio_add_page(), the standard interface for adding a page to a bio,
rather than open-coding the same.
It should be noted that the 'clone' bio that is allocated using
bio_alloc_bioset(), in crypt_alloc_buffer(), does _not_ set the
bio's BIO_CLONED flag. As such, bio_add_page()'s early return for true
bio clones (those with BIO_CLONED set) isn't applicable.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions