Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151789146
D23755.id68530.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
628 B
Referenced Files
None
Subscribers
None
D23755.id68530.diff
View Options
Index: sys/vm/vnode_pager.c
===================================================================
--- sys/vm/vnode_pager.c
+++ sys/vm/vnode_pager.c
@@ -629,7 +629,7 @@
bwait(bp, PVM, "vnsrd");
if ((bp->b_ioflags & BIO_ERROR) != 0)
- error = EIO;
+ error = bp->b_error;
/*
* free the buffer header back to the swap buffer pool
@@ -1113,7 +1113,7 @@
off_t tfoff, nextoff;
int i, error;
- error = (bp->b_ioflags & BIO_ERROR) != 0 ? EIO : 0;
+ error = (bp->b_ioflags & BIO_ERROR) != 0 ? bp->b_error : 0;
object = bp->b_vp->v_object;
if (error == 0 && bp->b_bcount != bp->b_npages * PAGE_SIZE) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 4:48 PM (16 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31299262
Default Alt Text
D23755.id68530.diff (628 B)
Attached To
Mode
D23755: Don't convert all lower-layer errors to EIO.
Attached
Detach File
Event Timeline
Log In to Comment