From c8f219e6e816bdd115161247e1944bb295e79de5 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 11 Mar 2026 15:20:56 +0100 Subject: [PATCH] Comment why read doesn't refersh the disks info --- cmdline/snapraid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmdline/snapraid.c b/cmdline/snapraid.c index a1256c59..d2715522 100644 --- a/cmdline/snapraid.c +++ b/cmdline/snapraid.c @@ -1968,6 +1968,8 @@ int snapraid_main(int argc, char* argv[]) } else if (operation == OPERATION_READ) { state_read(&state); + /* intentionally DO NOT CALL state_refresh() because it spins up disks */ + memory(); } else if (operation == OPERATION_TOUCH) { state_read(&state);