diff options
author | NeilBrown <[email protected]> | 2017-06-18 14:38:59 +1000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-18 12:40:59 -0600 |
commit | 5a136fdf5a0ab3c021ef6d989bb56a361e132234 (patch) | |
tree | dca47cf7c7b3baeaf1e47257bc14b3e2b3935d69 /tools/perf/scripts/python/stackcollapse.py | |
parent | 4559fa55193f71d715319b841f8613d8442283d6 (diff) |
bcache: use kmalloc to allocate bio in bch_data_verify()
This function allocates a bio, then a collection
of pages. It copes with failure.
It currently uses a mempool() to allocate the bio,
but alloc_page() to allocate the pages. These fail
in different ways, so the usage is inconsistent.
Change the bio_clone() to bio_clone_kmalloc()
so that no pool is used either for the bio or the pages.
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Kent Overstreet <[email protected]>
Reviewed-by : Ming Lei <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions