]> Git Repo - linux.git/commit - block/bio.c
block: rename __bio_add_pc_page to bio_add_hw_page
authorChristoph Hellwig <[email protected]>
Tue, 12 May 2020 08:55:46 +0000 (17:55 +0900)
committerJens Axboe <[email protected]>
Wed, 13 May 2020 02:36:28 +0000 (20:36 -0600)
commite4581105771b3523ced88f781eb2672195d217aa
tree2dbfc03873daddeb558d7093f770d8bd66660989
parent02992df822e7e36685593aad10721a5a9f8d3402
block: rename __bio_add_pc_page to bio_add_hw_page

Rename __bio_add_pc_page() to bio_add_hw_page() and explicitly pass in a
max_sectors argument.

This max_sectors argument can be used to specify constraints from the
hardware.

Signed-off-by: Christoph Hellwig <[email protected]>
[ jth: rebased and made public for blk-map.c ]
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/bio.c
block/blk-map.c
block/blk.h
This page took 0.045679 seconds and 4 git commands to generate.