diff options
author | Christoph Hellwig <[email protected]> | 2024-03-04 07:04:53 -0700 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-03-04 08:24:56 -0800 |
commit | d60c23e4552b04fda600c6a8681dfe57b3ee2bd8 (patch) | |
tree | 42d180042b1c4d8684725d38d255845258ab2c10 /tools/perf/scripts/python | |
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 <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions