CN_CoreSteb and ssongliu
2eaabccf94
fix(dashboard): prevent overlapping df collection and share disk queries ( #13971 )
...
* fix(dashboard): keep disk info working when a mount is stale or broken
The dashboard, the file manager mount list and the alert disk list
enumerated mounts with df. df calls statfs on every mount, so one bad
mount took the whole disk list down: the request hung until the
frontend timed out, or the list came back empty.
- enumerate mounts from /proc/self/mountinfo instead of running df
- read each mount through a guard with a 3s timeout that keeps at most
one call per mount in flight
- fail closed: a mount that cannot be read stays in the list with
errorType and error, and an unreadable mount table is an error
rather than an empty list
- show failed mounts and their reasons on the dashboard and in the
file manager
- cmd: after killing a timed-out command, wait at most 5s for it
instead of forever
* fix(dashboard): distinguish remounted and hidden filesystems
* fix(disk): simplify disk queries and bound timeout handling
* fix(disk): prevent overlapping df collection tasks
---------
Co-authored-by: ssongliu <sloooop1x@gmail.com >
2026-10-09 10:14:16 +08:00
..
2026-07-21 15:39:46 +08:00
2026-05-21 12:35:09 +08:00
2026-09-15 18:36:24 +08:00
2026-08-05 16:35:09 +08:00
2026-06-26 16:17:23 +08:00
2026-04-20 06:08:56 +00:00
2026-04-17 16:36:17 +08:00
2026-08-05 16:35:09 +08:00
2026-05-21 12:35:09 +08:00
2026-07-28 14:20:55 +08:00
2026-06-09 18:53:37 +08:00
2026-09-15 18:36:24 +08:00
2026-07-17 13:47:49 +08:00
2026-09-15 18:36:24 +08:00
2026-05-21 12:35:09 +08:00
2026-10-09 10:14:16 +08:00
2026-09-02 14:49:20 +08:00
2026-10-09 10:14:16 +08:00
2025-07-30 04:06:51 +00:00
2026-09-07 14:56:56 +08:00
2026-05-21 12:32:52 +08:00
2026-09-22 10:11:13 +08:00
2026-09-22 10:11:13 +08:00
2026-09-07 14:56:56 +08:00
2026-08-13 18:28:59 +08:00
2026-07-15 18:06:19 +08:00
2026-09-08 14:20:03 +08:00
2026-07-15 18:06:19 +08:00
2026-07-29 10:42:21 +08:00
2026-07-15 18:06:19 +08:00
2026-02-11 04:17:06 +00:00
2026-07-15 18:06:19 +08:00
2025-03-07 15:43:58 +08:00
2026-07-15 18:06:19 +08:00
2026-07-16 11:21:26 +08:00
2026-06-08 21:47:47 +08:00
2025-10-29 13:36:24 +08:00
2026-08-20 18:28:51 +08:00
2025-11-24 14:35:16 +00:00
2026-09-08 14:20:03 +08:00
2025-12-04 18:07:16 +08:00
2026-09-08 14:20:03 +08:00
2026-09-24 18:23:39 +08:00
2026-09-24 18:23:39 +08:00
2026-09-24 18:23:39 +08:00
2026-10-09 10:14:16 +08:00
2026-02-26 10:01:47 +00:00
2026-05-22 15:17:59 +08:00
2026-07-23 14:44:07 +08:00
2025-12-04 09:56:23 +00:00
2025-11-20 08:35:03 +00:00
2026-04-14 10:40:44 +00:00
2026-08-03 14:06:56 +08:00
2026-10-09 10:14:16 +08:00
2026-08-17 15:20:15 +08:00
2026-05-21 12:35:09 +08:00
2026-06-17 19:09:31 +08:00
2026-10-08 18:19:30 +08:00
2026-10-08 18:19:30 +08:00
2026-08-24 12:51:34 +08:00
2025-01-24 03:00:07 +00:00
2026-04-20 02:58:56 +00:00
2026-05-21 12:39:49 +08:00
2026-08-10 22:07:45 +08:00
2026-10-09 10:14:16 +08:00
2026-10-08 18:19:30 +08:00
2026-10-08 18:19:30 +08:00
2026-10-08 18:19:30 +08:00
2026-10-08 18:19:30 +08:00
2026-10-08 18:19:30 +08:00
2026-07-29 16:41:43 +08:00
2026-02-11 04:17:06 +00:00
2024-07-23 14:48:37 +08:00
2026-06-08 17:33:26 +08:00
2026-03-19 07:25:19 +00:00
2026-05-25 11:38:31 +08:00
2026-09-29 21:36:19 +08:00
2026-07-28 17:07:22 +08:00
2026-07-15 15:53:44 +08:00
2026-05-22 15:17:59 +08:00
2026-09-29 17:29:29 +08:00
2026-09-29 15:34:16 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-09-07 14:42:03 +08:00
2026-05-21 12:35:09 +08:00
2026-09-07 14:42:03 +08:00
2025-01-24 03:00:07 +00:00
2026-08-05 11:22:26 +08:00
2026-04-20 06:44:56 +00:00
2026-07-20 13:55:55 +08:00
2026-09-08 09:52:40 +08:00
2026-09-07 18:26:35 +08:00
2026-09-07 18:30:27 +08:00
2026-10-08 18:19:30 +08:00
2026-10-08 18:19:30 +08:00
2026-07-16 11:21:26 +08:00
2026-08-06 16:08:58 +08:00
2026-01-16 11:09:05 +08:00
2026-05-21 12:35:09 +08:00
2026-10-08 14:06:40 +08:00
2025-09-09 08:38:44 +00:00
2026-05-21 12:37:32 +08:00
2026-06-17 19:09:31 +08:00
2026-09-07 14:56:56 +08:00
2026-06-11 17:25:34 +08:00
2026-03-05 11:55:23 +08:00
2026-09-09 18:27:17 +08:00
2026-02-11 04:17:06 +00:00
2026-09-21 15:09:13 +08:00
2026-02-26 10:01:47 +00:00
2025-12-17 05:52:10 +00:00
2026-03-26 13:42:11 +08:00
2026-06-08 17:33:45 +08:00
2026-07-01 18:14:33 +08:00
2026-08-05 16:56:08 +08:00
2026-09-07 11:39:15 +08:00
2026-09-07 11:39:15 +08:00