Home
last modified time | relevance | path

Searched hist:e9cd19c0c198aa1c893e142b015fde6da862ed52 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/block/
H A Dblk-merge.cdiff 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 Dblk.hdiff 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 Dblk-core.cdiff 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>