mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
snapshot: fix checking of merged thin volume
When merging of thin snapshot is taking place, the origin target will be of thin type.
This commit is contained in:
parent
9968be55ed
commit
855b16ce14
@ -763,7 +763,8 @@ int lv_info_with_seg_status(struct cmd_context *cmd,
|
||||
with_open_count, with_read_ahead))
|
||||
return_0;
|
||||
|
||||
if (status->seg_status.type == SEG_STATUS_SNAPSHOT) {
|
||||
if (status->seg_status.type == SEG_STATUS_SNAPSHOT ||
|
||||
(lv_is_thin_volume(olv) && (status->seg_status.type == SEG_STATUS_THIN))) {
|
||||
log_debug_activation("Snapshot merge is in progress, querying status of %s instead.",
|
||||
display_lvname(lv));
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user