Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147431993
D35037.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
612 B
Referenced Files
None
Subscribers
None
D35037.diff
View Options
diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c
--- a/sys/geom/geom_vfs.c
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 10:59 PM (15 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29554693
Default Alt Text
D35037.diff (612 B)
Attached To
Mode
D35037: g_vfs_done: Report when we switch on ENXIO conversion
Attached
Detach File
Event Timeline
Log In to Comment