pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: aio: Regularize IO worker internal naming.
2+ messages / 1 participants
[nested] [flat]

* pgsql: aio: Regularize IO worker internal naming.
@ 2025-07-12 02:49 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2025-07-12 02:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

aio: Regularize IO worker internal naming.

Adopt PgAioXXX convention for pgaio module type names.  Rename a
function that didn't use a pgaio_worker_ submodule prefix.  Rename the
internal submit function's arguments to match the indirectly relevant
function pointer declaration and nearby examples.  Rename the array of
handle IDs in PgAioSubmissionQueue to sqes, a term of art seen in the
systems it emulates, also clarifying that they're not IO handle
pointers as the old name might imply.

No change in behavior, just type, variable and function name cleanup.

Back-patch to 18.

Discussion: https://postgr.es/m/CA%2BhUKG%2BwbaZZ9Nwc_bTopm4f-7vDmCwLk80uKDHj9mq%2BUp0E%2Bg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/01d618bcd782b7984a4289fef25867c681f3ebbf

Modified Files
--------------
src/backend/storage/aio/method_worker.c | 54 ++++++++++++++++-----------------
src/tools/pgindent/typedefs.list        |  6 ++--
2 files changed, 30 insertions(+), 30 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: aio: Regularize IO worker internal naming.
@ 2025-07-12 02:50 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2025-07-12 02:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

aio: Regularize IO worker internal naming.

Adopt PgAioXXX convention for pgaio module type names.  Rename a
function that didn't use a pgaio_worker_ submodule prefix.  Rename the
internal submit function's arguments to match the indirectly relevant
function pointer declaration and nearby examples.  Rename the array of
handle IDs in PgAioSubmissionQueue to sqes, a term of art seen in the
systems it emulates, also clarifying that they're not IO handle
pointers as the old name might imply.

No change in behavior, just type, variable and function name cleanup.

Back-patch to 18.

Discussion: https://postgr.es/m/CA%2BhUKG%2BwbaZZ9Nwc_bTopm4f-7vDmCwLk80uKDHj9mq%2BUp0E%2Bg%40mail.gmail.com

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b2afb06763379aec35e5b34982db3a63591c8cfe

Modified Files
--------------
src/backend/storage/aio/method_worker.c | 54 ++++++++++++++++-----------------
src/tools/pgindent/typedefs.list        |  6 ++--
2 files changed, 30 insertions(+), 30 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-07-12 02:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-12 02:49 pgsql: aio: Regularize IO worker internal naming. Thomas Munro <tmunro@postgresql.org>
2025-07-12 02:50 pgsql: aio: Regularize IO worker internal naming. Thomas Munro <tmunro@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox