Skip to content

nvme-cli: fixup large log page transfer

Hannes Reinecke linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nvme-discover: Retry discovery log if the generation counter changesfabrics.c+36 -310 replies
2/6nvme-ioctl: retrieve log pages in 4k chunksnvme-ioctl.c+24 -20 replies
3/6nvme-discover: Re-check generation counter after log page transferfabrics.c+18 -40 replies
4/6seagate-nvme: fixup coding styleseagate-nvme.c+1069 -11330 replies
5/6nvme-cli: Add 'rae' argument to nvme_get_log()intel-nvme.c memblaze-nvme.c nvme-ioctl.c +4 more+41 -280 replies
6/6nvme-cli: kill nvme_passthru_admin()nvme-ioctl.c nvme-ioctl.h seagate-nvme.c+18 -550 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] nvme-cli: fixup large log page transfer

Hi all,

on large installations the MDTS value might prevent the controller to transfer the entire log page in one go. This patchset updates nvme_get_log() to retrieve the log page in 4k chunks so as having to avoid checking the MDTS value.
I've also added an 'rae' field to nvme_get_log() to avoid it accidentally clearing outstanding AENs.
And the seagate plugin has been cleaned up :-)

As usual, comments and reviews are welcome.

Hannes Reinecke (6):
nvme-discover: Retry discovery log if the generation counter changes
nvme-ioctl: retrieve log pages in 4k chunks
nvme-discover: Re-check generation counter after log page transfer
seagate-nvme: fixup coding style
nvme-cli: Add 'rae' argument to nvme_get_log()
nvme-cli: kill nvme_passthru_admin()

 fabrics.c       |   89 ++-
 intel-nvme.c    |   12 +-
 memblaze-nvme.c |    3 +-
 nvme-ioctl.c    |   63 +-
 nvme-ioctl.h    |   11 +-
 seagate-nvme.c  | 2223 +++++++++++++++++++++++++++----------------------------
 toshiba-nvme.c  |    2 +-
 wdc-nvme.c      |   10 +-
 8 files changed, 1183 insertions(+), 1230 deletions(-)
Signature · 1 line
2.13.7