summaryrefslogtreecommitdiff
path: root/rust/zerocopy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorGuzebing <guzebing1612@gmail.com>2026-06-21 09:40:30 +0800
committerJens Axboe <axboe@kernel.dk>2026-07-01 19:07:20 -0600
commit1e56f30a73f304fe26a272742c398aedd88a1a6c (patch)
tree8181b67476546aeaa86eae19a5888a1b0af6db7a /rust/zerocopy/git@git.tavy.me:linux-stable.git
parent3dd63dba8f9cb6990a40af7ed66ee0159f475819 (diff)
block: Make WBT latency writes honor enable state
queue/wbt_lat_usec controls both the stored WBT latency target and the effective WBT enable state. The old no-op check skipped updates whenever the converted latency matched the stored min_lat_nsec. That check ignored whether the current WBT state already matched the state requested by the write. For a queue disabled by default, attempting to enable WBT by writing the default value through sysfs could return success while the enable state was left unchanged. Treat a write as a no-op only when both the stored latency and the effective WBT enabled state already match the converted value. Signed-off-by: Guzebing <guzebing1612@gmail.com> Link: https://patch.msgid.link/20260621014030.1625306-1-guzebing1612@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions