Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167015975
D58230.id181987.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
479 B
Referenced Files
None
Subscribers
None
D58230.id181987.diff
View Options
diff --git a/sys/cam/nvme/nvme_da.c b/sys/cam/nvme/nvme_da.c
--- a/sys/cam/nvme/nvme_da.c
+++ b/sys/cam/nvme/nvme_da.c
@@ -773,9 +773,9 @@
* do nothing.
*/
if (sectorsize != softc->disk->d_sectorsize)
- disk_media_changed(softc->disk, M_WAITOK);
+ disk_media_changed(softc->disk, M_NOWAIT);
else if (mediasize != softc->disk->d_mediasize)
- disk_resize(softc->disk, M_WAITOK);
+ disk_resize(softc->disk, M_NOWAIT);
break;
}
case AC_ADVINFO_CHANGED:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 2:45 PM (1 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35110458
Default Alt Text
D58230.id181987.diff (479 B)
Attached To
Mode
D58230: nda: Don't sleep with non-sleepable lock held
Attached
Detach File
Event Timeline
Log In to Comment