Page MenuHomeFreeBSD

D9674.id25380.diff
No OneTemporary

D9674.id25380.diff

Index: sys/kern/vfs_bio.c
===================================================================
--- sys/kern/vfs_bio.c
+++ sys/kern/vfs_bio.c
@@ -2290,7 +2290,7 @@
bdirty(bp);
}
if (bp->b_iocmd == BIO_WRITE && (bp->b_ioflags & BIO_ERROR) &&
- !(bp->b_flags & B_INVAL)) {
+ bp->b_error != ENXIO && !(bp->b_flags & B_INVAL)) {
/*
* Failed write, redirty. Must clear BIO_ERROR to prevent
* pages from being scrapped.

File Metadata

Mime Type
text/plain
Expires
Thu, May 21, 12:02 PM (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33390325
Default Alt Text
D9674.id25380.diff (439 B)

Event Timeline