mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user