[linux-lvm] [PATCH] lib/metadata: add new api lv_is_available()

heming.zhao at suse.com heming.zhao at suse.com
Thu Aug 27 16:07:48 UTC 2020


please ignore this patch. I forgot to add [patch v2] & history info.

On 8/28/20 12:05 AM, Zhao Heming wrote:
> It commit is enhancement for 1d0dc74f9147e3c1f3681efa4166cbe2edcb6571
> 1d0dc74f9147 only supports all raid type, this commit adds new api
> and extends support scope with linear/mirror type.
> 
> This patch introduced a new flag NOT_AVAIL_LV, when a lv (includeing
> sub-lv or child-lv) doesn't work, this flag will set.
> 
> With this patch, for linear type LV, one of two disks missing,
> lvdisplay will show
> from:
>    LV Status              available (partial)
> to:
>    LV Status              NOT available (partial)
> 
> Signed-off-by: Zhao Heming <heming.zhao at suse.com>




More information about the linux-lvm mailing list