cvs commit: src/sys/geom/bde g_bde_work.c
Poul-Henning Kamp
phk at FreeBSD.org
Fri Apr 25 14:20:59 PDT 2003
phk 2003/04/25 14:20:57 PDT
FreeBSD src repository
Modified files:
sys/geom/bde g_bde_work.c
Log:
Fix a problem and slightly improve the ENOMEM handling:
Give up the entire bio as soon as we detect a problem.
When we detect a problem, give up the bio by contributing the
remainder with ENOMEM, rather than kicking the bio back right
away.
If we failed on a non-first iteration we previously could end up
modifying fields in the bio after we delivered it. This could
account for memory corruption (none directly reported) on machines
with GBDE.
Revision Changes Path
1.11 +12 -11 src/sys/geom/bde/g_bde_work.c
More information about the cvs-src
mailing list