Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp668612lqe; Sat, 6 Apr 2024 20:18:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2aJ8BQlgzJnNvhEut4A8M6M9wtVLqkd04cMc1tYwxNm3X7vM89aoTr6QcF4bc+l4mE1q9CO+OgcPDH9ul2m/kCniaALiM4waaQ3Xw+w== X-Google-Smtp-Source: AGHT+IFh+wibstFkaTojI1egV83vvDoOE6F8X3kaNYc3Z/R5DpBxkBAsCOeVYfrJ2/w7J/SlkEaY X-Received: by 2002:a05:6a00:84f:b0:6ec:f2df:32d6 with SMTP id q15-20020a056a00084f00b006ecf2df32d6mr6949482pfk.20.1712459930498; Sat, 06 Apr 2024 20:18:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712459930; cv=pass; d=google.com; s=arc-20160816; b=s4hN9Zw9rUyCHis9sPIHrJtw1zRhHZWGulHMiyDxBWhTuvs2sy3LQY1043ti8NyJgY Lzi/fcEoS0/AHsD3w9DMQP79LAE0SNRAltc1qIw/TFUeOPLh+sRAzVPx5xYEVOuAIBM2 GmR2LEZf9jy8L8Xg4lKw+vi11UR1LiPEIqgrMefHop69d8BkziTHWEH7pZBdO+PeUvgA cn+TW7Fa4kvT7/kmjo8t/SypfUytobcV0Jg2G/aO6FiTJinpWP33e07z6ZF2cSHN0F3Z gSEqIAWQKcotuGhWwhruJaKLpnCgue6k2rUPyjDt/DC7GATyiQB0Ku4wvTL5/NMVd81B XKsw== 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=U/YfNSkvuQnVHTfi3qY1kFAU8bNwQF7uMtlObGRKIYk=; fh=G4Pxduviz9cgWyQEq1k2zqRNcx1tgxoAEtGH9VlDFJM=; b=PJxw+uDLOMvyE53mbfWf0VD/BSe0+MyAIM/CwSjO6kTgIzMuY8vpfSy6rArfGdjw49 WSMYOeg45KqABXvD/4LtmVK9ipQDczWJ+pMCikMEPbf7i5X5BOtRFeOn0Qt2RrI0Q287 KenxIlly2aG/5xy75BefsqfttrBWseorKX9S/cvLiKYSa/3Vz5/1bg3uONfy6BlkymQU N5X46qElisL5l09eWQFs627Fl9RCb0nKltELTSfblnJcuxWgNOR99+l0Xn007Ebt3clo m9+AFXTKVUmlHH/d+D7aOSBSdY/8bveFWF5YHkr8WzLUphVw/rNpHWQvs2uQkrXzUu7h jOSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CsY5VSIX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134147-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 w4-20020aa78584000000b006eadc68e932si3994824pfn.205.2024.04.06.20.18.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 20:18:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134147-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=CsY5VSIX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134147-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 26BC7281476 for ; Sun, 7 Apr 2024 03:18:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD47F1876; Sun, 7 Apr 2024 03:18:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CsY5VSIX" 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 D21AE1C0DD2 for ; Sun, 7 Apr 2024 03:18:44 +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=1712459924; cv=none; b=X5dzboS8P4BiDcBm8m3ZCExT/1t0xZ5wMNp1es19bZ4XaD04mPeFFtCmh2N+5XlT+qYmCH0dX5pMafbpxQ0Gu5HYDd8ien2GnWoEozLC6F3DBL/zSxiA6V6N2OxehAL8oo7aNLQGKkfcwLjN02FpyOT6yjNgA3S99iaSisLbbU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712459924; c=relaxed/simple; bh=GfHdM845LVYN0VF6JBM4aQ/V9T9fVQ4Q9Q1cqF4MPfs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LWEQ6+Cyd9fR14HryS851g596TxYsz/dr1r2fVTcSfqmC/knIOsPNhYOMiv6KEIwe0Y1sJ2pHSJZOhYZ1Tr5pcmGhnEJirgQk19DTe/RB+BdKy+BPLpCdnR8kghX/opAMlpxr9oOpsWVRR1uWRdNPzq0RdYHa7KaWUim9NAeNdw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CsY5VSIX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEDD9C433F1; Sun, 7 Apr 2024 03:18:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712459924; bh=GfHdM845LVYN0VF6JBM4aQ/V9T9fVQ4Q9Q1cqF4MPfs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CsY5VSIXCwd9RjyKto8s+bj5xSu9koFkrbsW3JSFb9Lgjf4dp2FLBXM51Y6t6WWLO DyVJGPTWPh8Ku4mCHD68+a07fcPntCkegZVFlorwFC/IFOZGtcRS7PEAoei/t8TAfA OcBtS5Pi0CB1f4B5iqzwLcueBWPSyNIa8ke0B5ZucFcogEdmBjK8kzg3va2V87W3+d T6CYH+o/VYHblE13Xz/oQaa4j9O1r2qK8ZltMbPnBCYw+pJTjkj+/I/ynLQuz6wleu hBuMNQozMSL3xzvZmTO7T3XSVzYnw1ozReplSMss89Nn9JEeHFy5HXlz4WdDkMBo1j l10rbrGpwrmeg== Message-ID: Date: Sun, 7 Apr 2024 11:18:37 +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 v7] 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: <20240401151351.248913-1-daeho43@gmail.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20240401151351.248913-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/4/1 23:13, 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,