Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102682427
D44646.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
389 B
Referenced Files
None
Subscribers
None
D44646.diff
View Options
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -1683,6 +1683,9 @@
* getpages so don't play cute tricks here.
*/
vm_page_invalid(m);
+ if (i < bp->b_pgbefore ||
+ i >= bp->b_npages - bp->b_pgafter)
+ vm_page_free_invalid(m);
} else {
/*
* If a write error occurs, reactivate page
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 7:36 PM (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14663568
Default Alt Text
D44646.diff (389 B)
Attached To
Mode
D44646: swap_pager: Unbusy readahead pages after an I/O error
Attached
Detach File
Event Timeline
Log In to Comment