Re: [PATCH] mdadm: put journal device in right place of --detail

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

 



Song Liu <songliubraving@xxxxxx> writes:
> When there is failed HDDs, journal device showed in wrong place
> of --detail:
>
>     Number   Major   Minor   RaidDevice State
>        4       8       24        -      journal   /dev/sdb8
>        1       8       18        1      active sync   /dev/sdb2
>        2       8       19        2      active sync   /dev/sdb3
>        3       8       21        3      active sync   /dev/sdb5
>
>        0       8       17        -      faulty   /dev/sdb1
>
> This patch fixed the output as:
>
>     Number   Major   Minor   RaidDevice State
>        -       0        0        0      removed
>        1       8       18        1      active sync   /dev/sdb2
>        2       8       19        2      active sync   /dev/sdb3
>        3       8       21        3      active sync   /dev/sdb5
>
>        0       8       17        -      faulty   /dev/sdb1
>        4       8       24        -      journal   /dev/sdb8
>
> Reported-by: Yi Zhang <yizhan@xxxxxxxxxx>
> Signed-off-by: Song Liu <songliubraving@xxxxxx>
> Signed-off-by: Shaohua Li <shli@xxxxxx>
> ---
>  Detail.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks!

Jes

PS: If you CC me directly in mdadm patches I am likely to see them
faster, ie. before I get to the linux-raid list.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux