1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

aio, bufmgr: Comment fixes/improvements

Some of these comments have been wrong for a while (12f3867f55), some I
recently introduced (da7226993f, 55b454d0e1). This includes an update to a
comment in FlushBuffer(), which will be copied in a future commit.

These changes seem big enough to be worth doing in separate commits.

Suggested-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/20250319212530.80.nmisch@google.com
This commit is contained in:
Andres Freund
2025-03-29 14:45:42 -04:00
parent 50cb7505b3
commit 08ccd56ac7
4 changed files with 27 additions and 9 deletions

View File

@@ -4401,7 +4401,7 @@ maybe_adjust_io_workers(void)
++io_worker_count;
}
else
break; /* XXX try again soon? */
break; /* try again next time */
}
/* Too many running? */