From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-35.ptr.blmpb.com (sg-1-35.ptr.blmpb.com [118.26.132.35]) (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 2B76631AF07 for ; Wed, 4 Feb 2026 16:54:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770224068; cv=none; b=N5Ud6jcJSlfY6BfqzoakrilHDxle/r0YUQC5gv2lslzO+dZY6/r8zosbX5JC047Y2iyxhmCsJChnF5PVXEjwG+vrBot7l8TRPTf8whDgBWZiHuVIBr0hsAAknQt3ojHjP9KMcR9QYvyAHw3XuV8CKxBMRslSf21rQqb2u5+kYFk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770224068; c=relaxed/simple; bh=rDcpCiB755euyeKw3H9RuPXIjv4xVG1EGWdJMaPCKEA=; h=Message-Id:References:Subject:Date:Mime-Version:In-Reply-To: Content-Type:To:Cc:From; b=LYUoR01nPay3Fo4+4jXsCDCBb+/Rv9AnohDVOcrL6JClWSfX6aAGxSh6vzS068gsr5aUuFVaaEXNduCXMSLJ64thpCe67rP2wDJAVLI8lSK/sU5rwmURg7QyNWvkW3vRwqwDvXhZ2vAmmCp95V1y6D6+rG4+rI6lzD0jgpF617w= 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=Z9L1BNuB; arc=none smtp.client-ip=118.26.132.35 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="Z9L1BNuB" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1770224056; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=uButQ8bwmS2AMpzpSbgQWrX+Rz5zRYXwvkk2AZIz8Q8=; b=Z9L1BNuB3FR3RhmtbWPu0sRbsocPSHm85TJkDU3RJAmJD67svZx40r7HNfXWrhpli+ttJm lwx1LXRTyy/mnQIIw+h/YRsvXJ0xDadyh4YzOpswEVA2vrr0nxAoHivEq6qtqyzkzayfaz NDYMSutv8UvlaE2aaSFwm68uAYN+7b2xXON4YP1Krjh+6bQ18uMmP7Zy8WeLTi8FN3lwnh fDT0zbnL2ZHQ2FQBcBLcyc0FC5rKe018bWhkLV69oL7XXT9S+9pp2CDK+PhcA687Ck8Q0A YW9K1w2d6r776gv5zMtOZPxnhwP48T0mN4FVMDpZesFBt4bJqAnMuE1Tsi8ZKw== Message-Id: <32d38b25-ac47-4b0e-a630-abb7a058621f@fnnas.com> References: <20260128075708.2259525-1-linan666@huaweicloud.com> <20260128075708.2259525-9-linan666@huaweicloud.com> User-Agent: Mozilla Thunderbird Received: from [192.168.1.104] ([39.182.0.137]) by smtp.feishu.cn with ESMTPS; Thu, 05 Feb 2026 00:54:14 +0800 Subject: Re: [PATCH v2 08/14] md/raid1: fix IO error at logical block size granularity Date: Thu, 5 Feb 2026 00:54:12 +0800 Content-Language: en-US Reply-To: yukuai@fnnas.com Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 In-Reply-To: <20260128075708.2259525-9-linan666@huaweicloud.com> X-Lms-Return-Path: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To: , Cc: , , , , , From: "Yu Kuai" X-Original-From: Yu Kuai =E5=9C=A8 2026/1/28 15:57, linan666@huaweicloud.com =E5=86=99=E9=81=93: > From: Li Nan > > RAID1 currently fixes IO error at PAGE_SIZE granularity. Fix at smaller > granularity can handle more errors, and RAID will support logical block > sizes larger than PAGE_SIZE in the future, where PAGE_SIZE IO will fail. > > Switch IO error fix granularity to logical block size. > > Signed-off-by: Li Nan > --- > drivers/md/raid1.c | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) Reviewed-by: Yu Kuai --=20 Thansk, Kuai