From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-2-58.ptr.blmpb.com (va-2-58.ptr.blmpb.com [209.127.231.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E1FD6BB5B for ; Sun, 19 Apr 2026 06:06:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.231.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776578817; cv=none; b=WJspfTd0o1pJkKRpb1Grb4sNzTfw9ryo++3uWi0yJo/nnNLNYyeE4FgKOCkYL3nD4bmz8VPiOu4EHvYewBfR7MTV9E/X4BlsWf7gvOEb86s7xrpBhW1+0OFi45XmaypNGwp3Ej95ROD7mp65ivT118nmVsKJhRY4EI/gtNR5bvM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776578817; c=relaxed/simple; bh=JndVFHM2TTUNhIkPAtkrDQ3MPvQM8m9cV4oYYXLUKVE=; h=To:Subject:Date:Message-Id:In-Reply-To:From:Mime-Version: Content-Type:Cc:References; b=cOdlS15WuS4yNT8NfccXgR+VoT6pnOSjtdTNa92o3I1ygnMFxGckEPIWBe7KwH+nxYWopi3a8V06cUN/i0sJrfBaeVp+BqpHo+LdPysYyKcd9ljqEU01RQMiCejpHFpX2H8Pq5poY88GBMaggBvUqgo8VMNpl4BYlxvWiQsjuuI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=pass smtp.mailfrom=fnnas.com; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b=JsI1q9rE; arc=none smtp.client-ip=209.127.231.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fnnas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b="JsI1q9rE" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1776578810; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=1lpwmprIYYttd+yvZgPHrLTgewuGig/lJCi0mkeCFy8=; b=JsI1q9rEWKNiMch2YIl29yJ4/eYCPuWlu6Aive7rpGQNCRHJOxV7TVTb/UtiqFP6/c7Khd mfKd1n+RbB87xVMntSFlLDl0ycrr8YIGbnjhx7ne9sDLldyeD5caKSgnckGHI2iDfxaG6b j1+ZoGvxMxQPtX2415LUDErbbF7Yy7N2c7zZO3vY97tUK58iYPFybX0nGGmBhLcpZ9/rYe zTIfkQxch+De5axkQyJEgNXkG1UvUgGFp2Jd0P/pYOZf8WxZMknkYHzqtP5EGp++4XBM1G J+f8J0qVpQxCLVLZGyO2i40deZhWEjSzidKXrDFnsQs+ox5YW7VH1roCwTEFxQ== X-Original-From: Yu Kuai Received: from [192.168.1.104] ([39.182.0.144]) by smtp.feishu.cn with ESMTPS; Sun, 19 Apr 2026 14:06:47 +0800 To: "Abd-Alrhman Masalkhi" , Subject: Re: [PATCH 0/2] md: small cleanups in MD driver Date: Sun, 19 Apr 2026 14:06:45 +0800 Message-Id: <86d980c3-7736-4645-9c61-236f5527405c@fnnas.com> X-Lms-Return-Path: In-Reply-To: <20260415140319.376578-1-abd.masalkhi@gmail.com> Reply-To: yukuai@fnnas.com From: "Yu Kuai" 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=UTF-8 Cc: , , User-Agent: Mozilla Thunderbird Content-Language: en-US References: <20260415140319.376578-1-abd.masalkhi@gmail.com> Content-Transfer-Encoding: quoted-printable =E5=9C=A8 2026/4/15 22:03, Abd-Alrhman Masalkhi =E5=86=99=E9=81=93: > Hi, > > This small series contains two cleanups in the MD driver. > > Patch 1: replaces a wait loop in md_handle_request() with wait_event() > Patch 2: replaces a mutex_lock() with mddev_lock_nointr() > > Thanks, > Abd-Alrhman > > Abd-Alrhman Masalkhi (2): > md: replace wait loop with wait_event() in md_handle_request() > md: use mddev_lock_nointr() in mddev_suspend_and_lock_nointr() > > drivers/md/md.c | 10 +--------- > drivers/md/md.h | 2 +- > 2 files changed, 2 insertions(+), 10 deletions(-) Applied --=20 Thansk, Kuai