mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Reset provider-specific fields when resending I/O request in low memory
conditions. This fixes assertion which checks those fields when kernel is compiled with DIAGNOSTIC. Reported by: kib, pho MFC after: 1 week
This commit is contained in:
parent
b42a2049f1
commit
6011443800
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244716
@ -567,6 +567,9 @@ g_io_deliver(struct bio *bp, int error)
|
||||
printf("ENOMEM %p on %p(%s)\n", bp, pp, pp->name);
|
||||
bp->bio_children = 0;
|
||||
bp->bio_inbed = 0;
|
||||
bp->bio_driver1 = NULL;
|
||||
bp->bio_driver2 = NULL;
|
||||
bp->bio_pflags = 0;
|
||||
g_io_request(bp, cp);
|
||||
pace++;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user