]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcacb3affba4fab4a0c6442e4f17733844db98bd3
tree7adccd01d994daf78c65799b374b70dfff09ba38
parente43ca2d2c3ac289831f0b5c799654936d9dcff4e
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