]> www.infradead.org Git - users/hch/nvme-cli.git/commit
nvme-ioctl: retrieve log pages in 4k chunks
authorHannes Reinecke <hare@suse.de>
Thu, 20 Sep 2018 09:09:35 +0000 (11:09 +0200)
committerKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 15:08:20 +0000 (09:08 -0600)
commit465a4d5ab209bb20ea4b3ba808438747773edd2b
treee9917be41843e88a780e2a649904d68875707a38
parent3cbcd165b470a1b86e323e2b256cde8f05a9b5dd
nvme-ioctl: retrieve log pages in 4k chunks

Some log pages increase with the scale of the subsystem, so the
overall size might be larger than the MDTS value for that controller.
In order to avoid having to pass in the MDTS value we should restrict
the transfer size to 4k and retrieve the log page in 4k chunks.

Signed-off-by: Hannes Reinecke <hare@suse.com>
nvme-ioctl.c