nvme: remove support or stream based temperature hint
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Mar 2022 17:55:55 +0000 (18:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 19:45:56 +0000 (12:45 -0700)
commit85e6c775762aa4067d2c2b8121e59a06564d0dc4
tree7adccd01d994daf78c65799b374b70dfff09ba38
parent82911009637e5b0bc3fdc003f72b4acd50b8840f
nvme: remove support or stream based temperature hint

This support was added for RocksDB, but RocksDB ended up not using it.
At the same time drives on the open marked (vs those build for OEMs
for non-Linux support) that actually support streams are extremly
rare.  Don't bloat the nvme driver for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20220304175556.407719-1-hch@lst.de
[axboe: fold in ctrl->nr_streams removal from Keith]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h