Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions src/pool/srv_pool_chkpt.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* (C) Copyright 2023 Intel Corporation.
* Copyright 2023 Intel Corporation.
* Copyright 2026 Hewlett Packard Enterprise Development LP
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down Expand Up @@ -37,12 +38,6 @@ yield_fn(struct chkpt_ctx *ctx)
return 0;
}

static bool
is_idle()
{
return !dss_xstream_is_busy();
}

static int
wait_fn(struct chkpt_ctx *ctx)
{
Expand Down Expand Up @@ -74,8 +69,7 @@ wait_cb(void *arg, uint64_t chkpt_tx, uint64_t *committed_tx)
/** Sometimes we may need to yield here to make progress such as when we need
* more DMA buffers to prepare entries.
*/
if (!is_idle())
yield_fn(ctx);
yield_fn(ctx);
goto done;
}

Expand Down
Loading