osd: Log only the first ENOSPC write subop failure per slow_log_interval #150

Open
koolkhel wants to merge 1 commits from koolkhel/vitastor:osd-enospc-subop-log into master

1 Commits

Author SHA1 Message Date
cddd6d80af osd: Log only the first ENOSPC write subop failure per slow_log_interval
Clients retry writes that got ENOSPC every client_eio_retry_interval until
space is freed (client_retry_enospc), and the primary OSD printed a line for
every failed write subop of every retry. That is one line per second for
every waiting write, so with many writes waiting the logs can fill the disk
long before space is freed.

Print only the first ENOSPC write subop failure in each slow_log_interval
and report the number of the others from print_slow(). Other subop errors
are still printed one by one.
2026-11-22 19:39:02 +03:00