Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp159124lqo; Wed, 15 May 2024 10:17:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWV2DSAMH1GtaY5tf9dkky6/yDz/NoN9ureeRyOJEneBHsy4hHwtsbONq+t5RfL37+dTTyXOhc8vQ7qC+X76OtY+LmxjHzZrrZwyOYAuA== X-Google-Smtp-Source: AGHT+IFvOm2ZR2PKEcIDNfZZffrKWPFTr58X5UwpWlvyE4TUxHLCVEY+R1xo3UFD1qr5ePw7zgWI X-Received: by 2002:a05:6830:138b:b0:6f0:5c48:edc6 with SMTP id 46e09a7af769-6f0e9115aabmr18262491a34.1.1715793447198; Wed, 15 May 2024 10:17:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715793447; cv=pass; d=google.com; s=arc-20160816; b=ojJTT3vTl+Jb20x8zZA+HExHfaYdvmc9chl2FwkYVx8547KfXCIBKuHOWHtxBdKbsf GL/AunrHHQCCvdeIux/Le0wJjC6EsfQHLsOmLoUJsGlp2272cdC0KUaEC9mg9F/6TYhl /nZxdFOAFgT/mJw7VG3nkCF1IlvulvEnQeQpQhoUUGsVi9Z0h5wGVsMe3takKU/zbHO5 SWZuomp6MfaknyHjUJiooXvAgJLdpvTOUaEndQpUgJpYUvu0cICz4tMSZsaPSV8SGf6g luelMkZ3QtbvYrFNUgKOcxYKgtgnn1hO+nWWQ0b0ZydzsNol9abOvQV+8ew1lu+NSkAv eHKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Ya87/SS7ypILoGzc5H3cX5V3C38M9G0fWSR3Uh6LN9k=; fh=f0N9cgjlwsT7Buf0vepx4DqKOQ6Qmn9LoCPpVv+C1IE=; b=eAAfC7JLRcV3rlJQW+1ab4WbVYUf7Xt5baB8T7QDxKf6XSXDsft//6tlKZpbbNGn5E pdZ+RQmooHEq/YC8M1t00rvWPfq+qnjJCnHtk79hRNrYIAAjh2zQF+lXACQ4t1F5YQUA OTwboHKf+wiqYgmuOgIsYK5BOCUFxRXAtKDW/CziJrQElbR8RgCU3HircARgm4pxbVmu zESVmnB8R0C1ljxnScSZJBp7x8LrjGkr3556kKONOzl2LRSyQCM/u8psvJp+FpJVBkFE wq51kemMvHg95TlVeO7EqTbNWQ5UUlKY48p1hEtQDsczE2fqcd/RJb3SdlTD+XKyeEKh sQRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KujRl6ir; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-179882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 71dfb90a1353d-4df7bf4afddsi2418035e0c.10.2024.05.15.10.17.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 10:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KujRl6ir; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-179882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 078D41C210F3 for ; Wed, 15 May 2024 13:12:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AAF485C42; Wed, 15 May 2024 13:12:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KujRl6ir" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4759D5684; Wed, 15 May 2024 13:12:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715778733; cv=none; b=Op1ts+3Ji2sI4nm1xfb/oR3yaKO3c+f0/CZPTx9Ga/QNhjogHzRFUHGZFTx5zoCoKkb5hVpel/olrdkEKHP5s0QKj1vi/0LV83lGA47zUUKZyGIDAxQqQkxJySZV8KOj8Pg7fXz7+U3PIspz/fsGKFF/J+sQz/dYkV1hDYdbeME= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715778733; c=relaxed/simple; bh=Ya87/SS7ypILoGzc5H3cX5V3C38M9G0fWSR3Uh6LN9k=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QdHSU7DyhbNqgSoLodMirU66XuOKIoP+rQK3iEMsaqMlxYPfvioNYiIBgecFr0qLw6DiPHA9TUHg4SONxwY0yH5WLIV9ZLTKAdvfYrMU85U9KjVUgVLn39zoSeVjwlZSJLYCG5ekWuEb3L7fjyyL/WRI2ZzoS3MRrqQLSBoBLkw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=KujRl6ir; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715778732; x=1747314732; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ya87/SS7ypILoGzc5H3cX5V3C38M9G0fWSR3Uh6LN9k=; b=KujRl6irgYv4H78DFy5K9/tKfLoLGQ3CcYZ06d77n38opHs1RJyEEL1g FeNaUbJGHatx1sx34RRThMv8q4ukbbeac5zf85V4Lx9xzjmwVJSoC5i7Z tpnw2kKMtG9FzSSxW2xoRzTk3rswM+NI5sC8+sSefNkTyGlqOW7xf601F ugPeLUHNEd3O4mNWPb2wYdunKosGI3DuMp+bNp/4+dGceWIWFQjxl4SHq fNc9tEIabTPTxoih4FRharCFm0yjSnWHNZIRqwqHL05yfpkCxxnMa9GTo vsm2mMyMd5rceWAMl1lt87hOtbXoJjId4awwBaTAX28EbdR9kMToOcSKO A==; X-CSE-ConnectionGUID: svOiIqIHQRCVlUIKeD2x+A== X-CSE-MsgGUID: Bb98QNv1QU6rnygAd7zd7g== X-IronPort-AV: E=McAfee;i="6600,9927,11073"; a="37205438" X-IronPort-AV: E=Sophos;i="6.08,161,1712646000"; d="scan'208";a="37205438" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2024 06:12:11 -0700 X-CSE-ConnectionGUID: nqubSkUvRNiKPryFnJEuMA== X-CSE-MsgGUID: C4okDTneSE6NU9Br6QKa1A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,161,1712646000"; d="scan'208";a="35595725" Received: from mtkaczyk-mobl.ger.corp.intel.com (HELO localhost) ([10.245.82.157]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2024 06:12:09 -0700 Date: Wed, 15 May 2024 15:12:04 +0200 From: Mariusz Tkaczyk To: Yu Kuai Cc: linan666@huaweicloud.com, song@kernel.org, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com, houtao1@huawei.com, yangerkun@huawei.co, "yukuai (C)" Subject: Re: [PATCH] md: do not delete safemode_timer in mddev_suspend Message-ID: <20240515151204.0000113d@linux.intel.com> In-Reply-To: <33185f65-b657-b15b-ffa8-e35319fa0a5f@huaweicloud.com> References: <20240508092053.1447930-1-linan666@huaweicloud.com> <33185f65-b657-b15b-ffa8-e35319fa0a5f@huaweicloud.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 9 May 2024 09:34:15 +0800 Yu Kuai wrote: > However, since this behaviour is introduced since 2012, does anybody > really care about array status is 'active' instead of 'clean' while > there is no IO after suspend? It may cause rebuild after reboot (bad but we can live with it) or platform hang (this is bad). mdadm is waiting for transition to clean on shutdown if I remember correctly. Probably nobody tried that as we all know that Linux doesn't like suspending and this is rare to reboot platform just after suspend. Probably any write will fix it. But this is all based on my knowledge, not tested or proved however I believe that it gives light where to look for problems if you want. Mariusz