]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
ZNS report zones command fix for large number of zones When there are a large number...
authorJeff Lien <jeff.lien@wdc.com>
Wed, 29 Sep 2021 14:50:47 +0000 (09:50 -0500)
committerDaniel Wagner <dwagner@suse.de>
Mon, 15 Nov 2021 11:06:29 +0000 (12:06 +0100)
commitdae7a5cc23e8d54049271253cd592ac089ebf155
tree820d9aec989bb11da2e31a1dd6df8e6d1ac0676f
parente045379d4db96d45ace98c59fb66492e49db8994
ZNS report zones command fix for large number of zones When there are a large number of zones, the buffer required to contain the data becomes extremely large and the linux os is unable to handle that on all systems. This change will break up the transfer of the zone data into smaller chunks - 1024 zone entries at a time and 64k bytes total.

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
[dwagner: ported from nvme-cli-monolithic]
Signed-off-by: Daniel Wagner <wagner@suse.de>
nvme-print.c
plugins/zns/zns.c