aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-08-01 15:50:43 -0700
committerJens Axboe <[email protected]>2019-08-04 21:41:29 -0600
commit708b25b344fd9bedd02ccc0f8eee71f7006d7d07 (patch)
tree10e66635ab399a06a933807a59db788164a18fb4 /drivers/fpga/fpga-bridge.c
parentff9811b3cf2092fe6c39cf694e5e7f949f3b2c16 (diff)
block: Simplify blk_bio_segment_split()
Move the max_sectors check into bvec_split_segs() such that a single call to that function can do all the necessary checks. This patch optimizes the fast path further, namely if a bvec fits in a page. Cc: Christoph Hellwig <[email protected]> Cc: Ming Lei <[email protected]> Cc: Hannes Reinecke <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions