Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62920C87FCB for ; Mon, 4 Aug 2025 08:26:25 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4bwV5C4RrLz3069; Mon, 4 Aug 2025 18:26:23 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=115.124.30.99 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1754295983; cv=none; b=gHGW7NN3mSitQ450sYW3n7IhOi1wWcRC6RCf0KEewJ0UdpHEsoAJBbm9BY64AzZXrF5WQ97/xJiZL50DNCLKWxVScHJw39mgFuHVA9pXlapSnGR1glL2KhjjnnscjI2l2b3/i8pIH2Td+4eC2Z4aBWWC2MMd83m1a5JHVitZd0WoyjL0Fbbwam7Ivq3SV4l9R4G5+qp69kz0YuCB+WTRXL/V55wjNmhkfE+sMTTZ11hXFfAdymEgTXBynlDEowXT0WhZ7+LYNXlyX84dT/078zgmmxtIu0ScYjkq2Q5Nrd/hKJ9r5aPvGZmhEAxtkNTavP54xtoGfLUU1gBFTGqF6A== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1754295983; c=relaxed/relaxed; bh=j10W9Lpd8D92gPWm5A/bFagYrxGhiQhP+JM4BlPbc30=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aK1j/3plSbw2NtKqNQFwPNMFtZIG5Nx+FsH/SR0lKpKmdLp9EmiKtyWq8kHD3RR25sFLoJSrRKqSMoOK67oHciEbWthj8zsU54+m6ZeDGq2eG8U54yGxI5St0x/bzYjEQFbd/ZrS6eDF6TSFn7dcmd2IYUe1x1BGFlbhav7y5vtCPVr1GG+YIiylNOkmGRAO7Kw2cR0yAgcaJrMhBVxwilCodpV++vrAdr8gNm/s1HIxLQmLJj4KQgBx91C/GGa2MgotEYQ07zFu3l5dxJvax3H2AVlq/hoXzTsRLJaDLXHorGliB17DSMn3mCOT0xRsBzeFEWABpCd45XMYq7t98Q== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=HQO3+zQC; dkim-atps=neutral; spf=pass (client-ip=115.124.30.99; helo=out30-99.freemail.mail.aliyun.com; envelope-from=hsiangkao@linux.alibaba.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=HQO3+zQC; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.99; helo=out30-99.freemail.mail.aliyun.com; envelope-from=hsiangkao@linux.alibaba.com; receiver=lists.ozlabs.org) Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4bwV594jXXz2yPS for ; Mon, 4 Aug 2025 18:26:20 +1000 (AEST) DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1754295977; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=j10W9Lpd8D92gPWm5A/bFagYrxGhiQhP+JM4BlPbc30=; b=HQO3+zQCQ5x4eG4KH0dlcehksw4c5Hqq1ZuCsD3P0hx5QF/bI8OIJGQBs+F7cw6lrZl5RhCvRUMBDjnvwUbUbu9Pmoy+Qx4VS346IrN0AoLkdkBGJf5meruXX6veI8m+M1ZxvyOw9sRDkrJfie1Zg/pOgJHH568WsgBIpQ/cYF0= Received: from 30.221.131.110(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0WkxggoW_1754295974 cluster:ay36) by smtp.aliyun-inc.com; Mon, 04 Aug 2025 16:26:15 +0800 Message-ID: Date: Mon, 4 Aug 2025 16:26:14 +0800 X-Mailing-List: linux-erofs@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] erofs: Fallback to normal access if DAX is not supported on extra device To: Yuezhang Mo , xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com, jefflexu@linux.alibaba.com, dhavale@google.com, lihongbo22@huawei.com Cc: linux-erofs@lists.ozlabs.org, Friendy Su , Jacky Cao , Daniel Palmer References: <20250804082030.3667257-2-Yuezhang.Mo@sony.com> From: Gao Xiang In-Reply-To: <20250804082030.3667257-2-Yuezhang.Mo@sony.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2025/8/4 16:20, Yuezhang Mo wrote: > If using multiple devices, we should check if the extra device support > DAX instead of checking the primary device when deciding if to use DAX > to access a file. > > If an extra device does not support DAX we should fallback to normal > access otherwise the data on that device will be inaccessible. > > Signed-off-by: Yuezhang Mo > Reviewed-by: Friendy Su > Reviewed-by: Jacky Cao > Reviewed-by: Daniel Palmer Still looks good to me, will apply after -rc1 is out: Reviewed-by: Gao Xiang Thanks, Gao Xiang