Skip to content

Conversation

@sc108-lee
Copy link

effects-log and show-regs require nvme character device

effets-log
When using the "effects-log" command in nvme-cli without specifying the "csi" argument,
a default action is added to check the ctrl register,
allowing only character devices like nvme0.

In older versions of nvme-cli, the default value of csi was set to 0 and issued without any problems
But it has been fixed now.
It can be used regardless of the version when used as a character device.

show-regs
The documentation says:
The parameter is mandatory and must be the nvme admin character device (ex: /dev/nvme0)

Reference:
linux-nvme/nvme-cli#2742

When using the "effects-log" command in nvme-cli without specifying the "csi" argument,
a default action is added to check the ctrl register,
allowing only character devices like nvme0.

In older versions of nvme-cli, the default value of csi was set to 0 and issued without any problems
But it has been fixed now.
It can be used regardless of the version when used as a character device.

Reference:
linux-nvme/nvme-cli#2742

Signed-off-by: Steven Seungcheol Lee <[email protected]>
The documentation says:
The <device> parameter is mandatory and must be the nvme admin character device (ex: /dev/nvme0)

Reference:
linux-nvme/nvme-cli#2742

Signed-off-by: Steven Seungcheol Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant