Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157344208
D9674.id25380.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
439 B
Referenced Files
None
Subscribers
None
D9674.id25380.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9674: Handle ENXIO bufs.
Attached
Detach File
Event Timeline
Log In to Comment