Page MenuHomeFreeBSD

D35037.id105357.diff
No OneTemporary

D35037.id105357.diff

Index: sys/geom/geom_vfs.c
===================================================================
--- sys/geom/geom_vfs.c
+++ sys/geom/geom_vfs.c
@@ -143,8 +143,11 @@
cp = bip->bio_from;
sc = cp->geom->softc;
if (bip->bio_error != 0 && bip->bio_error != EOPNOTSUPP) {
- if ((bp->b_xflags & BX_CVTENXIO) != 0)
- sc->sc_enxio_active = 1;
+ if ((bp->b_xflags & BX_CVTENXIO) != 0) {
+ if (atomic_cmpset_int(&sc->sc_enxio_active, 0, 1))
+ printf("g_vfs_done(): %s converting all errors to ENXIO\n",
+ bip->bio_to->name);
+ }
if (sc->sc_enxio_active)
bip->bio_error = ENXIO;
g_print_bio("g_vfs_done():", bip, "error = %d",

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 8, 4:03 PM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28470493
Default Alt Text
D35037.id105357.diff (647 B)

Event Timeline