Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142738460
D31549.id93729.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
D31549.id93729.diff
View Options
Index: sys/cam/scsi/scsi_da.c
===================================================================
--- sys/cam/scsi/scsi_da.c
+++ sys/cam/scsi/scsi_da.c
@@ -49,6 +49,7 @@
#include <sys/cons.h>
#include <sys/endian.h>
#include <sys/proc.h>
+#include <sys/reboot.h>
#include <sys/sbuf.h>
#include <geom/geom.h>
#include <geom/geom_disk.h>
@@ -6251,6 +6252,9 @@
union ccb *ccb;
int error;
+ if ((howto & RB_NOSYNC) != 0)
+ return;
+
CAM_PERIPH_FOREACH(periph, &dadriver) {
softc = (struct da_softc *)periph->softc;
if (SCHEDULER_STOPPED()) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 10:41 PM (12 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27890318
Default Alt Text
D31549.id93729.diff (559 B)
Attached To
Mode
D31549: Don't sync DAs if reboot type is RB_NOSYNC
Attached
Detach File
Event Timeline
Log In to Comment