Correctly set bio_data in cloned children when cutting up large requests.
This commit is contained in:
parent
fe84a7c1b9
commit
96365d3dcf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110766
@ -212,7 +212,7 @@ g_disk_start(struct bio *bp)
|
||||
do {
|
||||
bp2->bio_offset += off;
|
||||
bp2->bio_length -= off;
|
||||
bp2->bio_data -= off;
|
||||
bp2->bio_data += off;
|
||||
if (bp2->bio_length > dp->d_maxsize) {
|
||||
/*
|
||||
* XXX: If we have a stripesize we should really
|
||||
|
Loading…
Reference in New Issue
Block a user