Fix one of the lastest commit. This bio_caller1 should also be changed to
bio_driver1 (as all the rest). This introduced a small memory leak, but it wasn't really critical, because maximum memory for g_stripe_zone is always set, so after few requests gstripe was working in "economic" mode.
This commit is contained in:
parent
27f219748e
commit
4792c96714
@ -396,7 +396,7 @@ g_stripe_start_fast(struct bio *bp, u_int no, off_t offset, off_t length)
|
||||
}
|
||||
}
|
||||
if (data != NULL)
|
||||
bp->bio_caller1 = data;
|
||||
bp->bio_driver1 = data;
|
||||
/*
|
||||
* Fire off all allocated requests!
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user