mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
parent
29a0fb2157
commit
b6eb8dde6b
1 changed files with 3 additions and 3 deletions
|
|
@ -257,9 +257,9 @@ pgaio_worker_submit_internal(int num_staged_ios, PgAioHandle **staged_ios)
|
||||||
if (!pgaio_worker_submission_queue_insert(staged_ios[i]))
|
if (!pgaio_worker_submission_queue_insert(staged_ios[i]))
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Do the rest synchronously. If the queue is full, give up and
|
* Do the rest synchronously. If the queue is full, give up
|
||||||
* do the rest synchronously. We're holding an exclusive lock
|
* and do the rest synchronously. We're holding an exclusive
|
||||||
* on the queue so nothing can consume entries.
|
* lock on the queue so nothing can consume entries.
|
||||||
*/
|
*/
|
||||||
synchronous_ios = &staged_ios[i];
|
synchronous_ios = &staged_ios[i];
|
||||||
nsync = (num_staged_ios - i);
|
nsync = (num_staged_ios - i);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue