Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp784223lql; Mon, 11 Mar 2024 18:43:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmosXmxbrUE12XZGBcH4G17IKj1xeEg+aGRIgWVhW7QJfEFXFYuYQz+ZcC21L9MUi+C8KLQ6uXChI44SKw1diBkcQcVaaVynov9m5H1w== X-Google-Smtp-Source: AGHT+IGJEtpITeTkWBJp/ES28klSgcwRbOQJUW2Oe425w7F7mS6fs7tThh6FcYq/FnTCr2n/w3fe X-Received: by 2002:a17:903:22d0:b0:1dd:a12e:15ae with SMTP id y16-20020a17090322d000b001dda12e15aemr4046103plg.10.1710207829262; Mon, 11 Mar 2024 18:43:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710207829; cv=pass; d=google.com; s=arc-20160816; b=I4UAlLLP/fW8+2YbR0qbv722jXwcku2vvAgAWri7g4q34hR1deP8diG4ANYXV8Vr+2 AwlpMF/zerucmnQAkoExj6ib5N9aAGoh+FQg2cLRGc9FmTPj8giXrJYElmA5MidK+iSy FCWWZ4EnNlxZtPWG7QCpfq/NzALYT75Q/H1nxU+p/D6cHs8ktw5H7IiOn4vvZBvKnIqW svYiT9lWd/OwVzOfGRGe2MoJ8vlLSB+peArAmpq3d5o2cvBo7LW0TRHV8AV9f7tJzwwn A69pRcZaGMEEzr2WQsjFClBYyM5+3U++YzkPDqXj60txFvJ0INpZI+TkACjWvaOJ2EN9 WVEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=8BZSjC+Ux8hZgfF4HjYEstYy41OsJfwqW+dcoveBIdw=; fh=G4Pxduviz9cgWyQEq1k2zqRNcx1tgxoAEtGH9VlDFJM=; b=R/cXiOBfrZEcePlULWGgBuYjPm3L7FL8wrQa6DteygzQgNFkbtK5icLtlKlq4V0C91 DkiPC+1yE7bCPo716Ph2LC/MRW0q7MIvBfS8UydrjoqCIiRx5rsEC2H82Cgim1H6zjnA 5aDhoh0aisn/11kBEK8fC80PXLPTwuVw+wBw+dXG5A06jFu6WJki2cQ+3OUjAIm9WO/t 26yHtK6L5jvxISQ7CQzWF33aDf3ywGsSq0ydHUutNXWL1aIgLwlf3cbGyzhF+pocO12f V89KZFDQ/NctQtmX4UwIbrRtbKsUQRB//H94h8AHXQ1wGJvD+RYWrukbozsO1VNZ6KPG e6iQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dFCQx0JA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y14-20020a17090322ce00b001dd9f6e3e70si2754988plg.263.2024.03.11.18.43.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 18:43:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dFCQx0JA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F0C18283DDB for ; Tue, 12 Mar 2024 01:43:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9E3ABA28; Tue, 12 Mar 2024 01:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dFCQx0JA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D91AAB66B for ; Tue, 12 Mar 2024 01:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710207815; cv=none; b=W+Q2Ma1O8SezGJYU4DvnQyHMh/VYqiT/TxxC5k9R8Ig9nbIgAhGc3vMq5vojRWxiASpRblcUuLPI+W01AhBbZsTZaadpwRr2/wfvnz6od6RHvXKo6zYWCtUGF/+2NdTVaV9yNjFWN2agBxjPmE5szKaNT0AApAacI1TbPK3wmoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710207815; c=relaxed/simple; bh=LTza99Xtbwi+Bmy3Kob27BW6F74NLEb1FZWr7xFLdMY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=iyt/JmbQTQOnoXVLJ50JoWsQtBoH4KPR277sV7TVew0o8QwvJuY8rYsQ4qFP/t+0aQn0B7klY9n6oISzc80KIl+u6iXH49ORJos4kiUezMI8FXf8f6OZdHPad7pjg2Cns6HXQoJ85j3U+XxQjgrjD1t1kTijLaZN7PtXkl6rg0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dFCQx0JA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F24EEC433C7; Tue, 12 Mar 2024 01:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710207815; bh=LTza99Xtbwi+Bmy3Kob27BW6F74NLEb1FZWr7xFLdMY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=dFCQx0JAtEPq2R8Cqk4acEGfo+Bf2OrJFrSQju1WQALYQHXwvxbTNDujza4lgY9JC zJkfKx6Gz7AJ4ZBegt9EjDTujoIjrI+tWj465a7f1lanwm6wDygiRqOAgB8jSEj1sJ 4eA21fTlL6UO+95aNTZ7QDmMQ4o8j8A53zgqYfQcmi7FJSJcBPvaUCN4W0BZ/Au58B EIOuTNR5GxYvHosgEW8PE/BtAZP8VzGG3iPR2wKOCrX6taEUPAF3yOeCmgLIuUxOlF wIrcOeYAzBcXlWjNzJTIL1OkN/OicQGnCeekIOJTUMHoxeWxcBdsS49YtBeZeSircy 9HRF3tTryuc7g== Message-ID: <0a206e73-6d93-4e86-966e-994bff627997@kernel.org> Date: Tue, 12 Mar 2024 09:43:33 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: prevent atomic write on pinned file Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong References: <20240311235921.1832684-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20240311235921.1832684-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/3/12 7:59, Daeho Jeong wrote: > From: Daeho Jeong > > Since atomic write way was changed to out-place-update, we should > prevent it on pinned files. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,