nvme: cache controller attributes
authorSagi Grimberg <sagi@grimberg.me>
Fri, 2 Nov 2018 17:28:14 +0000 (10:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:55 +0000 (22:26 -0700)
commit3e53ba38a9404434a8b57683825279f4305b5a76
treef34cc4de097835043618fe5e0b7249192be9259e
parent12b2117161ddbdcdb69777404c5aa2a9fe6ad7d5
nvme: cache controller attributes

We get the controller attributes in identify, cache them as we'll need
them for traffic based keep alive support.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h