Searched hist:e9cd19c0c198aa1c893e142b015fde6da862ed52 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-merge.c | diff e9cd19c0c198aa1c893e142b015fde6da862ed52 Thu Jun 06 05:29:02 CDT 2019 Christoph Hellwig <hch@lst.de> block: simplify blk_recalc_rq_segments
Return the segement and let the callers assign them, which makes the code a littler more obvious. Also pass the request instead of q plus bio chain, allowing for the use of rq_for_each_bvec.
Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | blk.h | diff e9cd19c0c198aa1c893e142b015fde6da862ed52 Thu Jun 06 05:29:02 CDT 2019 Christoph Hellwig <hch@lst.de> block: simplify blk_recalc_rq_segments
Return the segement and let the callers assign them, which makes the code a littler more obvious. Also pass the request instead of q plus bio chain, allowing for the use of rq_for_each_bvec.
Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | blk-core.c | diff e9cd19c0c198aa1c893e142b015fde6da862ed52 Thu Jun 06 05:29:02 CDT 2019 Christoph Hellwig <hch@lst.de> block: simplify blk_recalc_rq_segments
Return the segement and let the callers assign them, which makes the code a littler more obvious. Also pass the request instead of q plus bio chain, allowing for the use of rq_for_each_bvec.
Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|