Mariusz Zaborski
11647c669e
Flush RRD only when TXGs contain data
...
This change modifies the behavior of spa_sync_time_logger when
flushing the RRD database.
Previously, once the sync interval elapsed, a flush would always
be generated. On solid-state devices, especially when the pool was
otherwise idle, this caused disks to wake up solely to write RRD
data. Since RRD is best-effort telemetry, this behavior is
unnecessary and wasteful.
With this change, spa_sync_time_logger delays flushing until a TXG
that already contains data is being synced. The RRD update is
appended to that TXG instead of forcing the creation of
a new write-only TXG.
During pool export, flushing is forced regardless of whether
the TXG contains user data. At that stage, data durability takes
precedence and a write must be issued.
Sponsored by: [Wasabi Technology, Inc.; Klara, Inc.]
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov >
Signed-off-by: Mariusz Zaborski <mariusz.zaborski@klarasystems.com >
Closes #18082
Closes #18138
2026-02-11 11:41:13 -08:00
..
2025-12-10 10:21:29 -08:00
2025-03-13 17:56:27 -07:00
2026-02-05 13:48:30 -08:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-11-12 13:04:58 -08:00
2025-11-12 13:04:58 -08:00
2025-03-13 17:56:27 -07:00
2025-11-12 13:07:09 -08:00
2025-08-07 11:41:42 -07:00
2025-08-08 16:43:26 -07:00
2025-03-13 17:56:27 -07:00
2026-02-05 13:48:31 -08:00
2026-02-05 13:48:31 -08:00
2025-03-13 17:56:27 -07:00
2026-02-05 13:48:31 -08:00
2026-02-05 13:48:31 -08:00
2025-08-06 10:36:07 -07:00
2025-08-07 11:41:42 -07:00
2025-08-07 11:41:42 -07:00
2025-12-10 10:21:29 -08:00
2026-02-05 13:48:31 -08:00
2025-11-12 13:04:58 -08:00
2025-08-07 11:41:42 -07:00
2025-08-06 10:36:07 -07:00
2025-08-07 11:40:59 -07:00
2025-05-13 14:26:55 -07:00
2025-11-12 13:07:09 -08:00
2025-08-07 11:41:42 -07:00
2025-11-12 13:05:40 -08:00
2025-08-07 11:41:42 -07:00
2025-08-07 11:41:42 -07:00
2026-02-05 13:48:30 -08:00
2025-08-13 15:56:25 -04:00
2025-08-07 11:40:59 -07:00
2025-08-07 11:41:42 -07:00
2025-08-07 11:40:59 -07:00
2025-08-07 11:41:37 -07:00
2025-08-07 11:40:59 -07:00
2026-02-05 13:48:31 -08:00
2025-05-28 10:28:59 -07:00
2025-08-07 11:40:59 -07:00
2025-03-13 17:56:27 -07:00
2025-08-07 11:40:59 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:46 -07:00
2025-03-13 17:56:46 -07:00
2025-03-13 17:56:27 -07:00
2025-11-12 13:04:58 -08:00
2026-02-10 17:01:29 -08:00
2025-08-12 13:36:03 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-09-29 16:50:53 -07:00
2025-05-02 15:32:18 -07:00
2025-08-07 11:41:37 -07:00
2026-02-05 13:48:31 -08:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-11-12 13:04:58 -08:00
2025-11-12 13:06:54 -08:00
2025-08-06 10:36:07 -07:00
2025-11-12 13:04:58 -08:00
2025-03-13 17:56:27 -07:00
2026-02-10 17:01:29 -08:00
2025-08-07 11:40:59 -07:00
2026-02-11 11:41:13 -08:00
2025-11-12 13:04:58 -08:00
2025-08-07 11:40:59 -07:00
2018-06-06 09:35:59 -07:00
2018-06-06 09:35:59 -07:00
2025-05-28 10:27:46 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:57:31 -07:00
2025-09-10 15:31:30 -07:00
2025-09-10 15:01:32 -07:00
2025-11-12 13:04:58 -08:00
2025-11-12 13:04:58 -08:00
2025-08-07 11:41:42 -07:00
2025-11-12 13:06:54 -08:00
2026-02-10 17:01:29 -08:00
2025-08-06 10:36:07 -07:00
2025-05-02 15:32:18 -07:00
2025-08-07 11:41:42 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-05-28 16:50:22 -07:00
2026-02-05 13:48:31 -08:00
2025-11-12 13:06:54 -08:00
2025-11-12 13:06:54 -08:00
2025-05-02 15:32:18 -07:00
2025-11-12 13:06:54 -08:00
2026-02-05 13:48:31 -08:00
2025-03-13 17:56:27 -07:00
2026-02-05 13:48:31 -08:00
2026-02-05 13:48:31 -08:00
2025-05-27 20:04:37 -04:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00
2025-06-10 14:53:10 -07:00
2025-08-07 11:41:42 -07:00
2025-09-09 17:03:27 -07:00
2025-03-13 17:56:27 -07:00
2025-12-10 10:21:29 -08:00
2025-09-15 12:43:34 -07:00
2025-04-18 09:22:16 -04:00
2025-12-10 10:21:29 -08:00
2025-11-12 13:04:58 -08:00
2025-03-13 17:56:27 -07:00
2026-02-11 11:41:13 -08:00
2025-08-08 16:43:20 -07:00
2025-03-13 17:56:27 -07:00
2026-02-05 13:48:31 -08:00
2025-03-13 17:56:27 -07:00
2025-03-18 16:04:22 -07:00
2025-08-07 11:41:25 -07:00
2025-08-08 16:43:09 -07:00
2025-08-08 16:43:09 -07:00
2025-04-03 10:35:22 -07:00
2025-08-14 08:50:17 -07:00
2025-08-07 11:40:59 -07:00
2025-08-06 17:10:03 -07:00
2025-11-12 13:06:54 -08:00
2026-02-05 13:48:31 -08:00
2025-03-13 17:56:27 -07:00
2025-08-07 11:41:42 -07:00
2025-08-07 11:41:42 -07:00
2025-11-12 13:06:54 -08:00