diff options
author | Mike Snitzer <snitzer@redhat.com> | 2012-12-21 20:23:32 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 20:23:32 +0000 |
commit | 018debea8de9b8f17a9637e07c98c61517eb2a6b (patch) | |
tree | 80fa9a7e9b79e09e31081db699d1ad449cb7f46a /drivers/md/dm-raid1.c | |
parent | e3cbf94513c21516fbb44561857b155d1c599625 (diff) |
dm thin: emit ignore_discard in status when discards disabled
If "ignore_discard" is specified when creating the thin pool device then
discard support is disabled for that device. The pool device's status
should reflect this fact rather than stating "no_discard_passdown"
(which implies discards are enabled but passdown is disabled).
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions