Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107460672
D33167.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
822 B
Referenced Files
None
Subscribers
None
D33167.diff
View Options
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1458,9 +1458,16 @@
printf("Final sync complete\n");
/*
- * Unmount filesystems. Swapoff before unmount,
- * because file-backed swap is non-operational after unmount
- * of the underlying filesystem.
+ * Unmount filesystems and perform swapoff, to quiesce
+ * the system as much as possible. In particular, no
+ * I/O should be initiated from top levels since it
+ * might be abruptly terminated by reset, or otherwise
+ * erronously handled because other parts of the
+ * system are disabled.
+ *
+ * Swapoff before unmount, because file-backed swap is
+ * non-operational after unmount of the underlying
+ * filesystem.
*/
if (!KERNEL_PANICKED()) {
swapoff_all();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 15, 11:59 AM (12 h, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15810369
Default Alt Text
D33167.diff (822 B)
Attached To
Mode
D33167: Expand comment explaining reasons for automatic swapoff on shutdown
Attached
Detach File
Event Timeline
Log In to Comment