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
Fri, Aug 7, 7:59 AM (19 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36151768
Default Alt Text
D9674.id25380.diff (439 B)

Event Timeline