Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4106886pxu; Mon, 21 Dec 2020 04:35:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMyzxAWVtzQjvb+tKLRah/d0Jx/D/w4cXfN+53LQDiLDy0hUYszdFy/EIUZCulq7acxnj0 X-Received: by 2002:a17:907:20cc:: with SMTP id qq12mr15699988ejb.316.1608554129860; Mon, 21 Dec 2020 04:35:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608554129; cv=none; d=google.com; s=arc-20160816; b=cjvxfrbYs4h9fG2g4Ue1Pez92MnuUBj//dIiqTLztRfFe7QtahH6VLcBExOKdPTJYn 1fr7Zo09mDmPXmd2gdCgu4uFROuo8yHG0ObLgo7XYEPwf9UlNm8BFA0yfkT0YXmL3WUa iSGkURtOlh3/3EDTOEdjTI3y7eC3V019tbXNaPBbIuTUsoMnGsMuv+8KvWFG48j7/WpE Qz8FUQs5GUDrJkhRErta0c24SQou1AZzs2VtJbArgDPC14GF3ekN+3Y5qEznhq+5i9pM b9JynLjDLqARWSISqV0mM1E9pbLWml3Bkp6XQzM/Ze0ZYlpSEAcstri55ngKEj6Vce3r K5Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:to :from:subject; bh=VZSnBg4qgA0cbMhYZyDR7JmJw3hICAUri2robQYvQ68=; b=fiZDteaSfLE0KqrwqKOFp5uMduGKi4yl8VSARnKqEk1rfFickOA5CqsEazYgQA2Npe gPz83O9hXRpZn+mt4w7PoGxUpuhf76d5j6z2a06xvIGW8hxepZIoZfzTbGdf82j6NPOV X6z7NfRpSq6h/HGF040QjhVEeHMJgiZQAdMg/y416+CuDndT/UD+CvCjChmbWzReLRt4 tu6N2rbYBr4sSqLV7hsihbAzPamXo1z3WZZDyjgN18/pdQ4sBdA/a2WE997tvvCdLJxu mu7lHttnK6Mu974L0jnDxWXUJfA70bRoBMvUkY0/BAPRygmaLEFCSi1eSt5ynT0qlL5k 0fpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb9si10532838edb.580.2020.12.21.04.35.06; Mon, 21 Dec 2020 04:35:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgLUMel (ORCPT + 99 others); Mon, 21 Dec 2020 07:34:41 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:40291 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725807AbgLUMel (ORCPT ); Mon, 21 Dec 2020 07:34:41 -0500 Received: from [192.168.0.8] (ip5f5aef0c.dynamic.kabel-deutschland.de [95.90.239.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: buczek) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 171622064784C; Mon, 21 Dec 2020 13:33:59 +0100 (CET) Subject: Re: md_raid: mdX_raid6 looping after sync_action "check" to "idle" transition From: Donald Buczek To: Guoqing Jiang , Song Liu , linux-raid@vger.kernel.org, Linux Kernel Mailing List , it+raid@molgen.mpg.de References: <95fbd558-5e46-7a6a-43ac-bcc5ae8581db@cloud.ionos.com> <77244d60-1c2d-330e-71e6-4907d4dd65fc@molgen.mpg.de> <7c5438c7-2324-cc50-db4d-512587cb0ec9@molgen.mpg.de> <37c158cb-f527-34f5-2482-cae138bc8b07@molgen.mpg.de> Message-ID: Date: Mon, 21 Dec 2020 13:33:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <37c158cb-f527-34f5-2482-cae138bc8b07@molgen.mpg.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Guoging, I think now that this is not an issue for md. I've driven a system into that situation again and have clear indication, that this is a problem of the member block device driver. With md0 in the described errornous state (md0_raid6 busy looping, echo idle > .../sync_action blocked, no progress in mdstat) and md1 operating normally: root:deadbird:/scratch/local/# for f in /sys/devices/virtual/block/md?/md/rd*/block/inflight;do echo $f: $(cat $f);done /sys/devices/virtual/block/md0/md/rd0/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd1/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd10/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd11/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd12/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd13/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd14/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd15/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd2/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd3/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd4/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd5/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd6/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd7/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd8/block/inflight: 1 0 /sys/devices/virtual/block/md0/md/rd9/block/inflight: 1 0 /sys/devices/virtual/block/md1/md/rd0/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd1/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd10/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd11/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd12/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd13/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd14/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd15/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd2/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd3/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd4/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd5/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd6/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd7/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd8/block/inflight: 0 0 /sys/devices/virtual/block/md1/md/rd9/block/inflight: 0 0 Best Donald