Skip to content

Commit 15bf951

Browse files
rmvasukiigaw
authored andcommitted
udev: Add custom udev rules for HPE Alletra Storage
HPE Alletra Storage arrays support NVMe-oF block access. 1. The "round-robin" iopolicy is preferred for performance benefits. 2. Setting ctrl_loss_tmo to -1 for NVMe/TCP controllers enables indefinite reconnect attempts after a path loss, and disables purging of the path on the host. Signed-off-by: Vasuki Manikarnike <[email protected]>
1 parent cb2fcbf commit 15bf951

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ udev_files = [
267267
'65-persistent-net-nbft.rules',
268268
'70-nvmf-autoconnect.rules',
269269
'70-nvmf-keys.rules',
270+
'71-nvme-hpe.rules',
270271
'71-nvmf-netapp.rules',
271272
'71-nvmf-vastdata.rules',
272273
]

nvme.spec.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ touch %{buildroot}@SYSCONFDIR@/nvme/hostid
3333
@UDEVRULESDIR@/65-persistent-net-nbft.rules
3434
@UDEVRULESDIR@/70-nvmf-autoconnect.rules
3535
@UDEVRULESDIR@/70-nvmf-keys.rules
36+
@UDEVRULESDIR@/71-nvmf-hpe.rules
3637
@UDEVRULESDIR@/71-nvmf-netapp.rules
3738
@UDEVRULESDIR@/71-nvmf-vastdata.rules
3839
@DRACUTRILESDIR@/70-nvmf-autoconnect.conf
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set appropriate iopolicy for HPE Alletra Storage MP
2+
ACTION=="add", SUBSYSTEM=="nvme-subsystem", ATTR{subsystype}=="nvm", ATTR{model}=="HPE Alletra", ATTR{iopolicy}="round-robin"
3+
4+
# Set ctrl_loss_tmo to -1 for HPE Alletra Storage MP NVMe/TCP
5+
ACTION!="remove", SUBSYSTEM=="nvme", KERNEL=="nvme*", ATTR{transport}=="tcp", ATTR{model}=="HPE Alletra", ATTR{ctrl_loss_tmo}="-1"

0 commit comments

Comments
 (0)