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

dm snapshot: add new persistent store option to support overflow

Commit 76c44f6d

 introduced the possibly for "Overflow" to be reported
by the snapshot device's status.  Older userspace (e.g. lvm2) does not
handle the "Overflow" status response.

Fix this incompatibility by requiring newer userspace code, that can
cope with "Overflow", request the persistent store with overflow support
by using "PO" (Persistent with Overflow) for the snapshot store type.

Reported-by: default avatarZdenek Kabelac <zkabelac@redhat.com>
Fixes: 76c44f6d

 ("dm snapshot: don't invalidate on-disk image on snapshot write overflow")
Reviewed-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 2bffa150
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