freebsd-nq/sys/geom/bde
Poul-Henning Kamp 37f5e4a6c2 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.
2003-04-25 21:20:57 +00:00
..
g_bde_crypt.c Use sys/endian.h instead of geom_enc.c for endian-agnostfication. 2003-04-03 11:33:51 +00:00
g_bde_lock.c Use sys/endian.h instead of geom_enc.c for endian-agnostfication. 2003-04-03 11:33:51 +00:00
g_bde_work.c Fix a problem and slightly improve the ENOMEM handling: 2003-04-25 21:20:57 +00:00
g_bde.c Remove all references to BIO_SETATTR. We will not be using it. 2003-04-03 19:19:36 +00:00
g_bde.h Optimize the size of the work-items by letting the mapping function 2003-01-02 19:29:49 +00:00