Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp417177lqp; Sat, 13 Apr 2024 02:52:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURRhscXJI2he7UGfKOoqvaJJUnhZJg2b3jjV2l1zEJFu05U2e2GYalc/SkHguG+yAH/ud1aSP9QyirAEwRxBn2dQ+l8qN9l29ZF4dPXw== X-Google-Smtp-Source: AGHT+IEp2UV3er5Ot5JNWFAV1XiXO4iyGZsN1PY4/MFSYMTFsLnUimNmgGhjKn8WcxLaP4M+yie1 X-Received: by 2002:a50:ed8a:0:b0:570:1678:ac97 with SMTP id h10-20020a50ed8a000000b005701678ac97mr187438edr.16.1713001976978; Sat, 13 Apr 2024 02:52:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713001976; cv=pass; d=google.com; s=arc-20160816; b=CiKt0f4H0XAjwiOOu9aitkYm9c9MT/iSstPnBdjzKtOmzJw8slB9BEyWBn4q5GuNve 9F4Ypdu/g12kIrlI2hO9LrC7+Qo88Ml+Ho0ve6MktQ2EF0rm9N1iU3EUSyrcxtbIFySK SnPFr9cZJyIN2DNscbXxnnIygA1vr5AbJ2YtzeM1j2nMZssNBp2JNHUDaa7bCUfcBfTi RUfk2XB2fPL4kNMhSzGhcvRa3vJJLbe3uvSXD0r0HvdR9JC8byHeD1Ex5tkwpb72stR3 1s5ECGzTEQnK0NBwAdzSZijhNwkClqr247DVGS0yrp8Myz2Cl801ybLJjckEqpbLNmDX 439A== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=OT0WF9ptpCCk6PinIrKBfiglmciPrzBVfIXXLOzh3xo=; fh=G4Pxduviz9cgWyQEq1k2zqRNcx1tgxoAEtGH9VlDFJM=; b=CfMy3ocgDkVN/5z/cgTLeh+shWGmXPUVdYpKqQnKCZxH7ZwznURUIJPJdOHwTR/XPc vl1k7lzLW7ewdNI6YlJRaHWiAGCZ78gAx/3RDIEqVyLjldk9q6KSIaH1nUBNtudkTPZT ebFH84g1oXcbcqatk0wd1elnjI0B+ImeeoR47pRLuJ4R2jRI59WKT3R7nQyOE49kYfhj /djP3XyLLX3N36kcjBaNf8d7V8sLRKhCrjQtRjKA3ls3gzcAloTIWL2vMLWH9SzDV07U 138q3vhFI3/wzZSAWrf4BKNQOxmnH63U0KtaLUborHa6qb6MeP+fM2CqQGo6OUqKMYFG yC0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="H/baFDjr"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143660-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143660-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v16-20020a509550000000b0056e219b4d29si2548496eda.679.2024.04.13.02.52.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 02:52:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143660-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="H/baFDjr"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143660-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143660-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B33911F21F3A for ; Sat, 13 Apr 2024 09:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07D063E47F; Sat, 13 Apr 2024 09:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H/baFDjr" 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 33D873E462 for ; Sat, 13 Apr 2024 09:52:49 +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=1713001970; cv=none; b=sqOOfahMs+vwIwolHnRuxm3XGAcMWq+w7CCPdV7Z3hY37rxA+L+snKBCml0t/dg1TFgZNvRI/rUQ+AlQY1UlSMROU+FFug5aRVQUJBNGLA/WcBYdBiYSsAwx7oILJOWEM2uADevp8DZjppLIFSYdhLkE54QSdx2FnR5semeqtpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713001970; c=relaxed/simple; bh=Mp/k7oxUFkv2UFyK/q+jMiwjME21YAKpLNPyj5vic3M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Xb7xIgGvftWqs6+6cJW38HAw3Ow0cvI1BriB3FijNoM9CYE1SqCx0QIYFczs5isUYb1LP/mWhjSM+c7QTcR73cEYZfB7jstQNw1iRi2e6PS65rhCYl3kMtPAvBqSK3mC1cm80uTLxd0ACfA6ncYSFy75cUvgAmNlvPGutgx+7C4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=H/baFDjr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6179DC4AF13; Sat, 13 Apr 2024 09:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713001969; bh=Mp/k7oxUFkv2UFyK/q+jMiwjME21YAKpLNPyj5vic3M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=H/baFDjrcnsD3y0M27D9f32q5FfOaxBaVIKAp+xYLOxz/I28hP1axDTkLF3+b4BUR pHDKate8WfXYlB8PpFy/Mhx4j4pvg3rcv2DOpluoWAtCaum7Nk1dnms9ASGebOg0tZ JP6DnHDWXSyz/bNTO+wsZ9qKBeeJWCXCyBaBKnpQRubOg4QOqPyG+wwrDH31JY9Bop qyI29Hzi1K27JKKsV/WhtE4IyvFgYB9Sd2xW4B3k+pK08Fk0eA6JtKMX7r2XZSSk27 TkuLbNbxLav25m9JcS8iPuWzyozeoJIeZuOl1oraabPg5rc/rK7utHM/GyFzadD6G2 VVplByDUV7TRQ== Message-ID: Date: Sat, 13 Apr 2024 17:52:45 +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 writing without fallocate() for pinned files To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong References: <20240411175410.2406710-1-daeho43@gmail.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20240411175410.2406710-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/4/12 1:54, Daeho Jeong wrote: > From: Daeho Jeong > > In a case writing without fallocate(), we can't guarantee it's allocated > in the conventional area for zoned stroage. To make it consistent across > storage devices, we disallow it regardless of storage device types. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,