From 4a60d768e1fb9359a615a0b7dad3ce63c5d70e3b Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Wed, 22 Jan 2025 15:17:03 +0100 Subject: [PATCH] [Filesystems] fix typo in udev rules + make GOTO more robust --- filesystems.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/filesystems.nix b/filesystems.nix index 9d7fb1b..71597f2 100644 --- a/filesystems.nix +++ b/filesystems.nix @@ -74,7 +74,7 @@ in ) (optional (!(builtins.isNull cfg.slowFlashScheduler)) '' - SUBSYSTEM!="block", GOTO="end" + SUBSYSTEM!="block", GOTO="aviallon_slowflash_end" KERNEL!="sd[a-z]|nvme[0-9]*n[0-9]*|mmcblk[0-9]", GOTO="end" ATTR{queue/rotational}!="0", GOTO="end" @@ -84,18 +84,18 @@ in ACTION!="remove", TEST=="queue/iosched/back_seek_penalty", ATTR{queue/iosched/back_seek_penalty}="0" # BEGIN: NCQ disabled - ACTION!="remove", ATTR{device/queue_depth}!="1", GOTO="no_ncq_end" + ACTION!="remove", ATTR{device/queue_depth}!="1", GOTO="aviallon_no_ncq_end" # Increase maximum requests in software queue ACTION!="remove", ATTR{queue/nr_requests}="256" # If possible, prefer throughput over latency - ACTION!="remove", TEST=="queue/iosched/low_latency", ATTR{queue/iosched/low_latency}="1" + ACTION!="remove", TEST=="queue/iosched/low_latency", ATTR{queue/iosched/low_latency}="0" - LABEL="no_ncq_end" + LABEL="aviallon_no_ncq_end" # END: NCQ disabledf - LABEL="end" + LABEL="aviallon_slowflash_end" '' ) (optional (!(builtins.isNull cfg.nvmeScheduler))