Re: [PATCH] lvdisplay: dispaly correct status on linear type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Same as the commit writing, this commit is code enhancement not bugfix.

Last commit 1d0dc74f9147e3c1f3681efa4166cbe2edcb6571 had been verified by one of suse customer.
They did test for types: mirror, raid0, raid1, raid5, linear.

For this commit, I only verified linear & raid cases. I have little experience with type: snapshot, thin, vdo, cache etc. So I am not sure whether this commit contains any bug when LV type is not linear & raid.


On 8/26/20 11:50 PM, Zhao Heming wrote:
> It commit is enhancement for 1d0dc74f9147e3c1f3681efa4166cbe2edcb6571
> 1d0dc74f9147 only supports all raid type, this commit adds linear type.
> 
> 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@xxxxxxxx>
> ---
>   lib/display/display.c            |  7 ++-
>   lib/metadata/lv_manip.c          | 76 ++++++++++++++++++++++++++++++++
>   lib/metadata/metadata-exported.h |  1 +
>   lib/metadata/segtype.h           |  1 -
>   lib/raid/raid.c                  | 54 -----------------------
>   5 files changed, 80 insertions(+), 59 deletions(-)

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux