nvme: Make controller state visible via sysfs
authorSagi Grimberg <sagi@grimberg.me>
Sun, 27 Nov 2016 23:47:40 +0000 (01:47 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 22 Feb 2017 20:34:00 +0000 (13:34 -0700)
commit8432bdb2905713cb3ef5cbe4a72630fa575565ad
treea70caa934fa285b6077925fa510a3fa04299ed72
parent15fbad96fc5fb1c5a0502e6a10dea671f510de3d
nvme: Make controller state visible via sysfs

Easier for debugging and testing state machine
transitions.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c