Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5489504iog; Wed, 22 Jun 2022 22:06:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sqqwd8aP0DRzW4qOzm91FY49G22R2ykuZ85QYF31Vp15dIL738GvWuqtBxNevxgV4+m+zM X-Received: by 2002:a17:903:110c:b0:168:9cab:bfb with SMTP id n12-20020a170903110c00b001689cab0bfbmr37121560plh.101.1655960787604; Wed, 22 Jun 2022 22:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655960787; cv=none; d=google.com; s=arc-20160816; b=KKRW7o+Z8gKQVOkcStN/N8/Kb78U43TNesWXbgnYqj8qovJILzq6iVVLZNg3PwRFaU vOdpu4HOloubDJmnYniPi+MpTTKW/tZWA8gEv5rZO5aJVHYfjHUdjEnQzrfLfu4JF83+ y2jCFnR7Ivn2YxWSvZuCpmt/9rbNEMi9YW6Ljz2M9iIYSlCbd8q54tUvKbX1Gxx5hxet wxRt0tZkpMWkqiRlqIUY8LQCCsDxKHAUDaU7RMD6YpXyHY0f1kAsU62VJJo8vm3L0hLI kVHM/1UE27ORGWdNUCQk2mMyA8j/keC5Dxo781rR5llPC9rfBxvByMFaMNr54xFAfrMI aRGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bekEvBrAwf7ehOt0TA5QrhCy5PmAltJgEblnufPH3EM=; b=RvcfWCUESncYBUV07vmr6Eb3wA5gPfs5p0JXUsMFvFz2yTCOWbaLw623TEIcaepguJ 4s9wM6fZYzA7XlvVE8oABkD1E8FNOis0njhGBSHYnirPnIzvBxMvgrN2ploY6B8X2eHh 6Kj6QESo71Zpa/c8wvUMf4zEUtFFhA2MlTbEA4op2vLctMgvKIVOzRvxbmT9PtxxmW4o pZ0KAtvoz9iKTwGoSu1liJd1coFeujYtkWUtqnv29sXzDpzhRG1gJ1VWUBSDwoicC9K9 3ZHz5X68rkfyZ0OHiNRqilmqFyjdM5gt2RZvLwd8jKMNMmmMJds/bzKImb6D/p3A/d16 +Ngg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="KdK//VDD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ns21-20020a17090b251500b001ec83ddf867si1872611pjb.185.2022.06.22.22.06.14; Wed, 22 Jun 2022 22:06:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="KdK//VDD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232096AbiFWEoB (ORCPT + 99 others); Thu, 23 Jun 2022 00:44:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346223AbiFWEYM (ORCPT ); Thu, 23 Jun 2022 00:24:12 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43AF72DAB6 for ; Wed, 22 Jun 2022 21:24:10 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id r1so17097041plo.10 for ; Wed, 22 Jun 2022 21:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bekEvBrAwf7ehOt0TA5QrhCy5PmAltJgEblnufPH3EM=; b=KdK//VDD6kx3P/ZIaXk4K6S5ZpICov0tsGYyxei43BtZQKnuyDJxSU0cnYIifkHFzx BKXti9irzZRt0NTnpWEneOktfgc8vg/c3JJzUGg7NpkTgfzaJ6bRsm+hcjjCpGvZM217 WcZtWX5NY2NHXn57moxaN6df9Vhca/gICgKM6qIuBIsV2Yyb9xLKBo6xywFHxXJD9JsI k3FFGu6LdvBM73ckEccNe8IZazkeuCpi24N5NTCpR88xbY5xGQkcU1D2VQTqYi6jjeMg 7cZHzaShitlKiM/kpo1E0QJeknFfXoBBZd/knDBKCknfmaogY8RCJms/gwAAbKuaVB8r bbeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bekEvBrAwf7ehOt0TA5QrhCy5PmAltJgEblnufPH3EM=; b=37YksUetLt0ju45lKaNSrbThpP17Eh8PRfLyv0N4Wajo385UfRN6lUaZhTOBL/RD0q z7/qQvOn/v7Z4+LVUnyZIPCHUBxxnMQ+2Byk+R/cGOJnEkK+z8B2qN4RMZKoWyZFyDYN t8cowVbXqTDoVRHhb2Xq/nL/ZjPSG/r5YXfmJUXGsByOkyCFEDx/8SgfX9Bq8d907M85 rbJ4kQkI97BcBUdQcCcgGx2QA2QIkt6+VsH7CJC4Ip8lgJP/6DZ08wr4+dERa1Yw7FQ1 ysafaKvxTqlknquEFNFp/aQgvPBmm+PcG79fzDwwi21qb4UkAF4jibwFAD7kao4su3Bd FCHQ== X-Gm-Message-State: AJIora+rHIjXNLxHEEkUkdMCgwk31U7BnzXEzym2eoCqAclNIy58GCi4 xQ7SgXfMNtb1b1HaEL4GSxs= X-Received: by 2002:a17:903:2585:b0:16a:3c86:c76b with SMTP id jb5-20020a170903258500b0016a3c86c76bmr10134891plb.88.1655958249566; Wed, 22 Jun 2022 21:24:09 -0700 (PDT) Received: from liuchao-VM ([156.236.96.165]) by smtp.gmail.com with ESMTPSA id jb11-20020a170903258b00b0016a18ee30b5sm8208734plb.293.2022.06.22.21.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 21:24:08 -0700 (PDT) Date: Thu, 23 Jun 2022 12:24:04 +0800 From: Chao Liu To: Chao Yu Cc: Jaegeuk Kim , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Yue Hu , Wayne Zhang , Chao Liu Subject: Re: [PATCH] f2fs: allow compression of files without blocks Message-ID: References: <20220621064202.1078536-1-chaoliu719@gmail.com> <7fb689d9-11ba-a173-8ad4-a328a03298a8@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7fb689d9-11ba-a173-8ad4-a328a03298a8@kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 22, 2022 at 08:50:33PM +0800, Chao Yu wrote: > On 2022/6/21 14:42, Chao Liu wrote: > > From: Chao Liu > > > > Files created by truncate have a size but no blocks, so > > I didn't get it, how can we create file by truncation... I'm sorry I didn't make it clear. We can create a file by passing a FILE parameter that does not exist to the user command truncate(1) [1]. How about using truncate(1) instead of truncate in the description of the change? Thanks, [1] truncate(1): https://man7.org/linux/man-pages/man1/truncate.1.html