]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: Add ctrl attributes for queue_count and sqsize
authorJames Smart <jsmart2021@gmail.com>
Tue, 24 Sep 2019 21:22:08 +0000 (14:22 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Wed, 25 Sep 2019 20:01:44 +0000 (13:01 -0700)
commit5d2b2c3ac62493fd7320222789b6fa07d434bc5d
treede3bd0639425e4acca551f2d27ac82445a9df30c
parent04fbc1c779eda574636fe2e750f2d920ca973a97
nvme: Add ctrl attributes for queue_count and sqsize

Current controller interrogation requires a lot of guesswork
on how many io queues were created and what the io sq size is.
The numbers are dependent upon core/fabric defaults, connect
arguments, and target responses.

Add sysfs attributes for queue_count and sqsize.

Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c