Skip to content
Commit 5d47c89f authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: clear all discard attributes in queue_limits when discards are disabled



Otherwise, it can happen that the QUEUE_FLAG_DISCARD isn't set but the
various discard attributes (which get exposed via sysfs) may be set.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 7dea378b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment