Page MenuHomeFreeBSD

D9674.1794820727.diff
No OneTemporary

Authored By
Unknown
Size
439 B
Referenced Files
None
Subscribers
None

D9674.1794820727.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
Mon, Nov 16, 9:18 AM (23 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41770770
Default Alt Text
D9674.1794820727.diff (439 B)

Event Timeline