diff options
author | Christoph Hellwig <hch@lst.de> | 2024-03-04 07:04:53 -0700 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-03-04 08:24:56 -0800 |
commit | d60c23e4552b04fda600c6a8681dfe57b3ee2bd8 (patch) | |
tree | 42d180042b1c4d8684725d38d255845258ab2c10 /scripts/gdb/linux/stackdepot.py | |
parent | a5b1cd61820e88d90454ad87154856a7a20aafbf (diff) |
nvme: move setting the write cache flags out of nvme_set_queue_limits
nvme_set_queue_limits is used on the admin queue and all gendisks
including hidden ones that don't support block I/O. The write cache
setting on the other hand only makes sense for block I/O. Move the
blk_queue_write_cache call to nvme_update_ns_info_block instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions