Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp726522pxy; Sun, 1 Aug 2021 00:04:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0klYzp78jPrEIXcfI/n/+Af5Ln+8Uljk0nWGc8oQz20fsJQQXPRFIjTkyzaam2LTuIWQR X-Received: by 2002:a02:cc90:: with SMTP id s16mr654272jap.131.1627801499789; Sun, 01 Aug 2021 00:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627801499; cv=none; d=google.com; s=arc-20160816; b=tiBeZ3/YXz+7UHNxPM/TvXgD3mY+Hfo7PsZe1JDdHBfSRFL4tu5czs9ZFf3N4js4+E fpyi/jZQgyaznYb0UV7AfVyS5ayXUD/Yh76FwmvOh7zsIFJKuV3rVv9v8sybWLUb4gsc 4dXO3zoxoToVeHASjM3wJF8cQqgIiUXXAsrPSoIzEy0iyAxrgypsb6xg2SBjYw5FRQUn IzAZiPn56WUUD0fGstKLcFybSI3jlv2z153yabosnGH4hWVCYjEjvjeXGFhCUEstrBV5 4AbkIHtW24jEKktm9gATFQHsrFV8eeqCGRxpUsJSzHMAmZjNVfeQ7ABoroETH60iYyPQ o/hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=GC5kyfNHf0uebyQTOXFEbg26ZhVQQXtbrK2nbuuOZyc=; b=CkXzsjUrtoe/Y78VZESEBYfrGE40dajO4wX3ah2Ugq2gNKDOdA1oy0GS/hjjIEnJJQ q/vzWke0B62gr1EDpNDvA22sEHbOoLvqLku+ZTKPUy/lbWcgB8uR6YHA0RQ6lj4Dg3v6 53IF7EbdswoIK3+17skQSSS+4GkUdQrz/2FZXHhCU1tITovUMksOmOFnXTwP507rpLEg 4LT8JXDleghMLspsJ4yomVApZBa6Y6e2xgfqKRMzZIR6KIS6BogqL7Ry5+hDhRHQZWRs H8CG2s6YTFKpUc8v4xK0cynmaOIVMCC5GC/DaGw+pvyXmvYHhv/zPiZb8tHASyQLHLBT smwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lXWT+EDR; 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 ay16si8169581jab.96.2021.08.01.00.04.47; Sun, 01 Aug 2021 00:04:59 -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=lXWT+EDR; 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 S229610AbhHAHEI (ORCPT + 99 others); Sun, 1 Aug 2021 03:04:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:54078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbhHAHEH (ORCPT ); Sun, 1 Aug 2021 03:04:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 248A1601FC; Sun, 1 Aug 2021 07:03:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627801439; bh=GC5kyfNHf0uebyQTOXFEbg26ZhVQQXtbrK2nbuuOZyc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=lXWT+EDRqJ17uyfPuxC4HACMEsAKTP+Vce6lFEWAnpOJ3n8oba0vKI65E2hW+f6yU SdhhN5aisKocX+zvBBQF3gXes4KLsyeaB78z5sY2jQMujl8+WHTq3kuA4LZ+62Lbq3 OG37nJmtfh2ieYuhRnEfzAfM0doOQEaaG1eP5VTzAJ5WVdZg5sSBXWH38nPJviBgGQ xfa0W3huyceFHPNiQem5jLLYt8NFb4DBZfTI4ODyEB3rFU2NMtpiZntLYQTZlsI+Aw UPUeDIROqFdbVJIJEE4kYuhe9LELGwtxeBBIfR8ZHj/nnVR/tHlIdDKykFMANbF86S Wrbn1os3+0AkQ== Subject: Re: [RFC NO MERGE] f2fs: extent cache: support unaligned extent To: Jaegeuk Kim Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu References: <20210707015815.1978-1-chao@kernel.org> From: Chao Yu Message-ID: <51565c85-a475-bcb8-bbb2-e3125c5223a3@kernel.org> Date: Sun, 1 Aug 2021 15:03:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > 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,