Mike Snitzer 3ee25485ba dm snapshot: fix oversights in optional discard support
__find_snapshots_sharing_cow() should always be used with _origins_lock
held so fix snapshot_io_hints() accordingly.  Also, once a snapshot is
being merged discards must not be allowed -- otherwise incorrect or
duplicate work will be performed.

Fixes: 2e6023850e177d ("dm snapshot: add optional discard support features")
Reported-by: Nikos Tsironis <ntsironis@arrikto.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2019-07-17 11:12:30 -04:00
..
2017-06-09 09:27:32 -06:00
2019-05-25 10:11:23 -07:00
2019-04-30 16:37:19 -04:00
2019-03-12 10:15:18 -07:00
2019-03-12 10:04:02 -07:00