diff options
author | Andres Freund <andres@anarazel.de> | 2023-05-17 11:17:12 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2023-05-17 11:18:30 -0700 |
commit | 52676dc2e016df5cd842a4f6073b25ee8e681b9f (patch) | |
tree | 620b661f59cbca926afcb93e13398827068c1605 /src/include/storage/buf_internals.h | |
parent | 322875597c0c15cd85d03c8621038f4945c8caa3 (diff) | |
download | postgresql-52676dc2e016df5cd842a4f6073b25ee8e681b9f.tar.gz postgresql-52676dc2e016df5cd842a4f6073b25ee8e681b9f.zip |
Update parameter name context to wb_context
For clarity of review, renaming the function parameter "context" in
ScheduleBufferTagForWriteback() and IssuePendingWritebacks() to
"wb_context" is a separate commit. The next commit adds an "io_context"
parameter and "wb_context" makes it more clear which is which.
Author: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/CAAKRu_acc6iL4M3hvOTeztf_ZPpsB3Pqio5aVHgZ5q=Pi3BZKg@mail.gmail.com
Diffstat (limited to 'src/include/storage/buf_internals.h')
-rw-r--r-- | src/include/storage/buf_internals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h index 136cf8fbaf3..f8ac811379b 100644 --- a/src/include/storage/buf_internals.h +++ b/src/include/storage/buf_internals.h @@ -388,8 +388,8 @@ extern PGDLLIMPORT CkptSortItem *CkptBufferIds; */ /* bufmgr.c */ extern void WritebackContextInit(WritebackContext *context, int *max_pending); -extern void IssuePendingWritebacks(WritebackContext *context); -extern void ScheduleBufferTagForWriteback(WritebackContext *context, BufferTag *tag); +extern void IssuePendingWritebacks(WritebackContext *wb_context); +extern void ScheduleBufferTagForWriteback(WritebackContext *wb_context, BufferTag *tag); /* freelist.c */ extern IOContext IOContextForStrategy(BufferAccessStrategy strategy); |