]> www.infradead.org Git - users/hch/nvmetcli.git/commit
nvmetcli: support inline_data_size port parameter
authorSteve Wise <swise@opengridcomputing.com>
Mon, 9 Jul 2018 17:00:26 +0000 (10:00 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 17 Jul 2018 13:24:16 +0000 (06:24 -0700)
commit8b9ce6be23788c80ff692ccb9d985cf97afc936e
tree5bfa61caef662cfa154b03a2b4ded371f564971c
parente926868d78a6f03d6637190b31c651f6dc395ddf
nvmetcli: support inline_data_size port parameter

The port parameter attribute param_inline_data_size allows adjusting
the amount of inline data that can be included in a write IO. Setting
it to < 0 (or not setting it at all) allows the transport to choose a
reasonable default, which will be 0 if that transport does not support
inline.  Setting it to 0 disables the transport from using inline_data.
And setting it to > 0 configures that port/transport to use that inline
data size, in bytes, if the transport supports it.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmet/nvme.py
nvmetcli