diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-07-02 11:28:53 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-07-02 11:28:53 -0400 |
commit | 82cdd2df759efe2b43183ee954b4a2e10b2c59f4 (patch) | |
tree | 59d49dbf33d2e02b4193c1bebb157f776a388853 | |
parent | f11e8be3e812cdbbc139c1b4e49141378b118dee (diff) | |
download | postgresql-82cdd2df759efe2b43183ee954b4a2e10b2c59f4.tar.gz postgresql-82cdd2df759efe2b43183ee954b4a2e10b2c59f4.zip |
Work a little harder on comments for walsender wakeup patch.
Per gripe from Tom Lane.
-rw-r--r-- | src/backend/access/transam/xlog.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 6ee50d01d52..89e6faee569 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -1027,7 +1027,7 @@ begin:; END_CRIT_SECTION(); - /* wakeup the WalSnd now that we released the WALWriteLock */ + /* wake up walsenders now that we've released heavily contended locks */ WalSndWakeupProcessRequests(); return RecPtr; } @@ -1212,7 +1212,7 @@ begin:; END_CRIT_SECTION(); - /* wakeup the WalSnd now that we outside contented locks */ + /* wake up walsenders now that we've released heavily contended locks */ WalSndWakeupProcessRequests(); return RecPtr; @@ -1800,7 +1800,7 @@ XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch) { issue_xlog_fsync(openLogFile, openLogSegNo); - /* signal that we need to wakeup WalSnd later */ + /* signal that we need to wakeup walsenders later */ WalSndWakeupRequest(); LogwrtResult.Flush = LogwrtResult.Write; /* end of page */ @@ -1868,7 +1868,7 @@ XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch) issue_xlog_fsync(openLogFile, openLogSegNo); - /* signal that we need to wakeup WalSnd later */ + /* signal that we need to wakeup walsenders later */ WalSndWakeupRequest(); } LogwrtResult.Flush = LogwrtResult.Write; @@ -2150,7 +2150,7 @@ XLogFlush(XLogRecPtr record) END_CRIT_SECTION(); - /* wakeup the WalSnd now that we released the WALWriteLock */ + /* wake up walsenders now that we've released heavily contended locks */ WalSndWakeupProcessRequests(); /* @@ -2278,7 +2278,7 @@ XLogBackgroundFlush(void) END_CRIT_SECTION(); - /* wakeup the WalSnd now that we released the WALWriteLock */ + /* wake up walsenders now that we've released heavily contended locks */ WalSndWakeupProcessRequests(); return wrote_something; |