The following changes since commit 40176e3206288e36f01baea86b15d7ff450c3e00: Merge branch 'qnx-phys-mem' of https://github.com/mvf/fio (2024-07-26 07:56:01 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 8ac0eec77e9c25a054ff1fbff243ffdffcd6e858: nvme/streams: avoid allocating too large a buffer (2024-08-05 18:15:24 +0000) ---------------------------------------------------------------- Vincent Fu (1): nvme/streams: avoid allocating too large a buffer dataplacement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- Diff of recent changes: diff --git a/dataplacement.c b/dataplacement.c index 399659be..fc45cd27 100644 --- a/dataplacement.c +++ b/dataplacement.c @@ -52,7 +52,7 @@ static int init_ruh_info(struct thread_data *td, struct fio_file *f) log_err("fio: stream IDs must be provided for dataplacement=streams\n"); return -EINVAL; } - ruhs = scalloc(1, sizeof(*ruhs) + FIO_MAX_DP_IDS * sizeof(*ruhs->plis)); + ruhs = scalloc(1, sizeof(*ruhs) + td->o.dp_nr_ids * sizeof(*ruhs->plis)); if (!ruhs) return -ENOMEM;