Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1823405pxy; Mon, 2 Aug 2021 11:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/F11u16EdTRgw7QUG8lRuswfO9JKa68ln0U0rfrjfKm6awp+dG+ZhgDdVyimiYXMPYc+M X-Received: by 2002:a17:907:1b22:: with SMTP id mp34mr16739469ejc.408.1627927561071; Mon, 02 Aug 2021 11:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627927561; cv=none; d=google.com; s=arc-20160816; b=a4EBoc9tqGAFcXXxWXnJXfmlxznkeGSVBp++AUGMBrJ0ZkEV+fGsOVDVSD+/21maHr t2N+IYlYbixoAQbmz52waPzS1FnIonpWX1cIAjOlXHE/hdqj3rrUcU00ltw0KkjTXwkz Wq2YJBrquxPMBB7uU4auYRXJFDiBpXMw9V44pBxQACJ93P/rlOvOrQJcoWptKBx1DO6j D7bTrMc6ePWPu4tuh1r2JsyGx34QyCsbIgZLqIn3nZCc8j/cOhCHujaZoMYYEWsUu86z A0J5qGa5TpM/R22lV5oyKNy8sS67A/RjvhFtwpdo2bCO82KW+2zbqyQdEmMd0JKeM1fj Xjkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pQIWDGP9a0rhAC9UG6X6wi+nYPn1YEkcLjzQtEoPIo0=; b=paGXGXYJXriwGO74N6k3DdGrdWwvlAUAoWS/sJmZ8t4MqEm8uMDPNz3Z0wIghKa0ex 6JFhbInIwD2THZ23djEe1hjcsgzxro/6CIdiil7iM4sMI3AgG/zSsBKaDMyw+LByjefc nvyvdBE06jIDxYAEHT8azQQ5vynd0IGzbgNhf8fTMg4MVtn9DzYgUajjXkdu6rRhBLG2 MNifdWMo1PHRb2BCuZj1s4OlI4rHoSWhivf5txgTxprOPXKFVD9u0K4dkaENKpzmyUyN MOFiVHgEiG5hH9jWt/Wvkbm665mXYNeNqsUJZVS2AEKRacDWnh+SckakOsYLQpcunWep AfNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="IKsQ/MxE"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec45si9967493edb.172.2021.08.02.11.05.24; Mon, 02 Aug 2021 11:06:01 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="IKsQ/MxE"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbhHBSEG (ORCPT + 99 others); Mon, 2 Aug 2021 14:04:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:47168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbhHBSEG (ORCPT ); Mon, 2 Aug 2021 14:04:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5418360F51; Mon, 2 Aug 2021 18:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627927436; bh=lTMHKpuQuKT3SAkLzzKq9A7yZ9z33kMa3cREBEPph/Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IKsQ/MxE3IMEJr7tj0WH6znzJGoVVtYVPVKrJtKNyvPZQOYS8QTpgQS0tIFDTs79N HTeUSB89LKM6zdu0IkYHDEZjVrNw00677BAHZm1yxuKgjL81AEinp2l+EqDA4LAqTP Y2Hv/EzQBXddSgZRpKb/yBJHHzfh1vlDFNsEto+bY/8zxVkS/vymDbFNAB0oELOSUV qhSAVMAWimLJe46bwhNHRwN62fN3YJy9z35nTnkT2I3Fb6tT1NNkh7Dy1oWOyvKFDy Ht4PZgGbwoQHCpMr0CEGSIjENHgfrb7qrinq5WtDSQeVgE/bB3fAMGSBhgKXl4JDvm N0OrdaB3j1eaw== Date: Mon, 2 Aug 2021 11:03:54 -0700 From: Jaegeuk Kim To: Chao Yu Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu Subject: Re: [RFC NO MERGE] f2fs: extent cache: support unaligned extent Message-ID: References: <20210707015815.1978-1-chao@kernel.org> <51565c85-a475-bcb8-bbb2-e3125c5223a3@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51565c85-a475-bcb8-bbb2-e3125c5223a3@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/01, Chao Yu wrote: > On 2021/7/31 3:20, Jaegeuk Kim wrote: > > On 07/07, Chao Yu wrote: > > > Currently, it only works in readonly format f2fs image. > > There wouldn't be any race condition because unaligned extent only works > for ro feature now? Isn't your patch proposing on writable partition? > > > Is there any race condition between the address in extent_cache and the one in > > dnode? I feel that we could synchronize it by locking its dnode block. > > Thanks,