commit | 5d47c89f29eab6e9e224d7ac8c0baf4da72c9493 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu Nov 16 15:42:26 2017 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Nov 16 16:33:55 2017 -0500 |
tree | b5e99cfda4c152744acffce72df6d9508192cf93 | |
parent | 7dea378b23fdc5003379615fc579dbf987ed8128 [diff] |
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: Mike Snitzer <snitzer@redhat.com>