nvme/streams: avoid allocating too large a buffer
authorVincent Fu <vincent.fu@samsung.com>
Mon, 5 Aug 2024 18:15:24 +0000 (18:15 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 5 Aug 2024 18:15:24 +0000 (18:15 +0000)
commit8ac0eec77e9c25a054ff1fbff243ffdffcd6e858
tree3e9fd6a8e0983c9430128319d61a5fba24f94332
parent40176e3206288e36f01baea86b15d7ff450c3e00
nvme/streams: avoid allocating too large a buffer

We only need to allocate as many data structures as there were stream
IDs provided.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
dataplacement.c