Instead of overloading the passthrough fast path with the deprecated block layer bounce buffering let the users that combine an old undermaintained driver with a highmem system pay the price by always falling back to copies in that case.
Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all
Unified · Split
| @@ -909,7 +909,7 @@ extern int blk_rq_prep_clone(struct request *rq, struct request *rq_src, · 908 unmodified lines | ||
| 909 | 909 | extern void blk_rq_unprep_clone(struct request *rq); |
| 910 | 910 | extern blk_status_t blk_insert_cloned_request(struct request_queue *q, |
| 911 | 911 | struct request *rq); |
| 912 | −extern int blk_rq_append_bio(struct request *rq, struct bio **bio); | |
| 912 | +int blk_rq_append_bio(struct request *rq, struct bio *bio); | |
| 913 | 913 | extern void blk_queue_split(struct bio **); |
| 914 | 914 | extern int scsi_verify_blk_ioctl(struct block_device *, unsigned int); |
| 915 | 915 | extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t, |