FreeBSD Bugzilla – Attachment 222983 Details for
Bug 242189
ZFS filesystems are not mounted from ATA on startup due to rc <-> kernel race if root is on NVMe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add root_hold_wait to zpool and dumpon
zfs_hold_wait.diff (text/plain), 814 bytes, created by
Oleg Sidorkin
on 2021-03-04 19:25:39 UTC
(
hide
)
Description:
Add root_hold_wait to zpool and dumpon
Filename:
MIME Type:
Creator:
Oleg Sidorkin
Created:
2021-03-04 19:25:39 UTC
Size:
814 bytes
patch
obsolete
>diff --git a/libexec/rc/rc.d/dumpon b/libexec/rc/rc.d/dumpon >index dddbf2af01cc..752f52315f49 100755 >--- a/libexec/rc/rc.d/dumpon >+++ b/libexec/rc/rc.d/dumpon >@@ -42,6 +42,7 @@ dumpon_start() > [Nn][Oo] | '') > ;; > [Aa][Uu][Tt][Oo]) >+ root_hold_wait > dev=$(/bin/kenv -q dumpdev) > if [ -n "${dev}" ] ; then > dumpon_try "${dev}" >@@ -56,6 +57,7 @@ dumpon_start() > return 1 > ;; > *) >+ root_hold_wait > dumpon_try "${dumpdev}" > ;; > esac >diff --git a/libexec/rc/rc.d/zpool b/libexec/rc/rc.d/zpool >index f98693f2cb13..ecfd9b56bb11 100755 >--- a/libexec/rc/rc.d/zpool >+++ b/libexec/rc/rc.d/zpool >@@ -22,6 +22,7 @@ zpool_start() > > for cachefile in /etc/zfs/zpool.cache /boot/zfs/zpool.cache; do > if [ -r $cachefile ]; then >+ root_hold_wait > zpool import -c $cachefile -a -N && break > fi > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242189
:
220145
|
221677
|
221678
| 222983