From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CsY5VSIX" 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,