aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd/nvmf.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/devd/nvmf.conf')
-rw-r--r--sbin/devd/nvmf.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/devd/nvmf.conf b/sbin/devd/nvmf.conf
new file mode 100644
index 000000000000..eaf3ebe86cec
--- /dev/null
+++ b/sbin/devd/nvmf.conf
@@ -0,0 +1,7 @@
+# Attempt to reconnect NVMeoF host devices when requested
+notify 100 {
+ match "system" "nvme";
+ match "subsystem" "controller";
+ match "type" "RECONNECT";
+ action "nvmecontrol reconnect $name";
+};