Correctly set bio_data in cloned children when cutting up large requests.
This commit is contained in:
parent
fe84a7c1b9
commit
96365d3dcf
@ -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…
x
Reference in New Issue
Block a user