aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorHou Pu <[email protected]>2021-04-16 10:45:21 +0800
committerChristoph Hellwig <[email protected]>2021-04-21 19:13:15 +0200
commit8f864c595bed20ef85fef3e7314212b73800d51d (patch)
tree3dfe784639b677cc6040bf9535ce30f3546e6b21 /include/linux/overflow.h
parentb777f4c47781df6b23e3f4df6fdb92d9aceac7bb (diff)
nvmet: avoid queuing keep-alive timer if it is disabled
Issue following command: nvme set-feature -f 0xf -v 0 /dev/nvme1n1 # disable keep-alive timer nvme admin-passthru -o 0x18 /dev/nvme1n1 # send keep-alive command will make keep-alive timer fired and thus delete the controller like below: [247459.907635] nvmet: ctrl 1 keep-alive timer (0 seconds) expired! [247459.930294] nvmet: ctrl 1 fatal error occurred! Avoid this by not queuing delayed keep-alive if it is disabled when keep-alive command is received from the admin queue. Signed-off-by: Hou Pu <[email protected]> Tested-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions