summaryrefslogtreecommitdiffstats
path: root/Documentation/block/biodoc.txt
diff options
context:
space:
mode:
authorNeilBrown2017-06-18 06:38:59 +0200
committerJens Axboe2017-06-18 20:40:59 +0200
commit5a136fdf5a0ab3c021ef6d989bb56a361e132234 (patch)
treedca47cf7c7b3baeaf1e47257bc14b3e2b3935d69 /Documentation/block/biodoc.txt
parentxen-blkfront: remove bio splitting. (diff)
downloadkernel-qcow2-linux-5a136fdf5a0ab3c021ef6d989bb56a361e132234.tar.gz
kernel-qcow2-linux-5a136fdf5a0ab3c021ef6d989bb56a361e132234.tar.xz
kernel-qcow2-linux-5a136fdf5a0ab3c021ef6d989bb56a361e132234.zip
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 <hch@lst.de> Acked-by: Kent Overstreet <kent.overstreet@gmail.com> Reviewed-by : Ming Lei <ming.lei@redhat.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block/biodoc.txt')
0 files changed, 0 insertions, 0 deletions