From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: Re: [PATCH] mdadm: put journal device in right place of --detail Date: Fri, 12 Aug 2016 10:59:41 -0400 Message-ID: References: <1470960853-2859579-1-git-send-email-songliubraving@fb.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1470960853-2859579-1-git-send-email-songliubraving@fb.com> (Song Liu's message of "Thu, 11 Aug 2016 17:14:13 -0700") Sender: linux-raid-owner@vger.kernel.org To: Song Liu Cc: linux-raid@vger.kernel.org, yizhan@redhat.com, Shaohua Li List-Id: linux-raid.ids Song Liu 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 > Signed-off-by: Song Liu > Signed-off-by: Shaohua Li > --- > 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.