From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40971C4338F for ; Mon, 2 Aug 2021 18:03:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1398760F36 for ; Mon, 2 Aug 2021 18:03:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbhHBSEG (ORCPT ); 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, From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04018C4338F for ; Mon, 2 Aug 2021 18:04:05 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B981D60F51 for ; Mon, 2 Aug 2021 18:04:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B981D60F51 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.92.3) (envelope-from ) id 1mAcIG-0000zn-75; Mon, 02 Aug 2021 18:04:04 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1mAcIF-0000zh-EG for linux-f2fs-devel@lists.sourceforge.net; Mon, 02 Aug 2021 18:04:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pQIWDGP9a0rhAC9UG6X6wi+nYPn1YEkcLjzQtEoPIo0=; b=G9N7375rjKIWN6hGjBBw+it/Q5 xekc+8eFuuAAPUD6EY8abuMrbayNL8Alrwxs+6GeVRwCdfV/cVik0EDHoUaxj/0fS6Te3kWyzR61a OTe0Pns0Fzw5qDRwGf0s33FqyR+d9oGwzmCC+NgTouCJweBwqLcc8k5EhMM+w+H1xofg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=pQIWDGP9a0rhAC9UG6X6wi+nYPn1YEkcLjzQtEoPIo0=; b=E2zxfknvb8SC3FAh2vcntkG7df +xp4wBeLZaVGrkeKEQtLl5qL9wTcPqwMYgVMfGsJDKaIr8E5sfHR0Ou0apMoDOYYuNN2qFbVo2hMZ PTDkw35kdMzNxB+ytUZUWRXS67iYUsPcER4st+RKLG+5/+bAIONnVOGdvw4O0HyerTes=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1mAcID-00ASdj-SN for linux-f2fs-devel@lists.sourceforge.net; Mon, 02 Aug 2021 18:04:03 +0000 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 Message-ID: References: <20210707015815.1978-1-chao@kernel.org> <51565c85-a475-bcb8-bbb2-e3125c5223a3@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <51565c85-a475-bcb8-bbb2-e3125c5223a3@kernel.org> X-Headers-End: 1mAcID-00ASdj-SN Subject: Re: [f2fs-dev] [RFC NO MERGE] f2fs: extent cache: support unaligned extent X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chao Yu , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net 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, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel