Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp290110lqp; Thu, 4 Apr 2024 13:17:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCViNMtRv8nw27NdXws1mASqAtwDpYWohcwCz5nlwwM/qBfJseOVBCPg15rzCJok66IgfMCRgw4WvpEKzD+4QwgMNfJzsCTVhc3tYGJxaw== X-Google-Smtp-Source: AGHT+IFRsr1gnk867Nt3GpneqRfupAe7fhanl3hLoQ/2fVBMEUmZ4SEpKn6pZugNfSIFmK/JfMZk X-Received: by 2002:a05:622a:c6:b0:431:442b:244e with SMTP id p6-20020a05622a00c600b00431442b244emr1133070qtw.23.1712261834492; Thu, 04 Apr 2024 13:17:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712261834; cv=pass; d=google.com; s=arc-20160816; b=dekV4+7Ww6o2PurU8USiwxV028VNw5m0U3oZfKrTB8BmQNuSxYXH3VITKjY+v+Yrxs Zh0Fue2Mz/I7SYf/SUsq3FpCvEKKHYnXjIIrtGB7p+KKcxMqCuEkqtTEmz5vWIflWUK7 GX4D7aX3gIqUjgKLLXlRbXOIEaoU7kYd8X1gpuvz1lDWz266F8IgSSMaXjjig+iGOUjD +4cdv5cesGVFmRnYR7xPOMnNjnbPch2WyURgaiRA2E9UYmsRtSy2d8jQVmy3hWFh8q+q FdQo5fm/lnXmffJqZmjfdqZtiM2nARFpG19zJ4qWyHtuiJ8368lZW+nMPsMarxHNC4D/ 09gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=XYLdNTdp1sb8y0KkPRDqvXS9qqEnJ8BkdW8PboU2vUc=; fh=5xpXEVHA7ULft/JHqM87S8vqz30WiVdsBWxEbwY87G4=; b=kW2QXNyroMEFpRDUASkYLy08quR5wn5wjDes9Nq2DYRbdib1stHhq5LByT7iGNNFwv lp7pOlnO8968L9NIK3Jopu7bH1osbPg92DWCoQ2LU3Zz9uKN+729lc5F1pRjgycW/oWO GL/OAYKHicHRCPSxU+RZDOmMXZdcpzz9xFbEz1QDVJK5UengZTm/hv3/SI6oz866hdmT 1iH2FYCnpi77jVKKQSIWPQsM2b/0HCubQKT/Hy+uQ1tZWGTYFXUco2Glg8Q9amRyPjpI /7AC5Mb/E3zYJUUBHqkkTNYZMZTtHiIFBVUb004u4e3A4eVfhjsQ1migDinAeUjcY//T e9ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dorminy.me header.s=mail header.b="IbWMGL//"; arc=pass (i=1 spf=pass spfdomain=dorminy.me dkim=pass dkdomain=dorminy.me dmarc=pass fromdomain=dorminy.me); spf=pass (google.com: domain of linux-kernel+bounces-129182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dorminy.me Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c10-20020ac85a8a000000b00431627efa14si96966qtc.411.2024.04.04.13.17.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 13:17:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@dorminy.me header.s=mail header.b="IbWMGL//"; arc=pass (i=1 spf=pass spfdomain=dorminy.me dkim=pass dkdomain=dorminy.me dmarc=pass fromdomain=dorminy.me); spf=pass (google.com: domain of linux-kernel+bounces-129182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dorminy.me 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2AD751C258DE for ; Wed, 3 Apr 2024 07:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97D8684FDF; Wed, 3 Apr 2024 07:33:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dorminy.me header.i=@dorminy.me header.b="IbWMGL//" Received: from box.fidei.email (box.fidei.email [71.19.144.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6424E83A15; Wed, 3 Apr 2024 07:33:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=71.19.144.250 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129623; cv=none; b=oxKqOEMy4fakUfiFp0mX+jwRDuGaQtvTMGkg7m+Cq/Gw6MM7PW4ZwogGi7Rq5Ggn1/vLlGI4dwC21zMvhQxB5aCtaX6jjWkOy+zTzss35BMtAJLQjPJW9NZtDuGnpv4G4PihCnkBvp61L+9GAK3smfEOZvN4WwlwOb7DxzslxN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129623; c=relaxed/simple; bh=94RmlMFWXGTXstz1CwkJFfXxsHVZs+VkfOwiVdyhsCI=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZJj8LNEnlNxPiQ/TLGwwZGzBIK2SLg5lbWBH/eN273U4VvZ+iEJThedJPXW8su145k7uU6R8XFIXZ9zl3ZAn4IG2BGrSDFVwVR5bAy2aBsUfv3xUa/FPrgMEZpk9sKWEBIgdKzQls4wu8/1f3+5Pp87nSs7E6j4gan9xlyqpn0A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=dorminy.me; spf=pass smtp.mailfrom=dorminy.me; dkim=pass (2048-bit key) header.d=dorminy.me header.i=@dorminy.me header.b=IbWMGL//; arc=none smtp.client-ip=71.19.144.250 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=dorminy.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dorminy.me Received: from authenticated-user (box.fidei.email [71.19.144.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.fidei.email (Postfix) with ESMTPSA id 8F82180924; Wed, 3 Apr 2024 03:33:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dorminy.me; s=mail; t=1712129621; bh=94RmlMFWXGTXstz1CwkJFfXxsHVZs+VkfOwiVdyhsCI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IbWMGL//ndu+2eM5w3j/YnRT3w418ByjraEMNZYb0TTbSS7WXFhnXQENWrVb6R3RT XMvJ7x98BSJoTIoS8dr5PsO4Q3LElCZuY78m99E9Yp1NGJB1wOQKKHDALrrTFFszkb cnahyGw/o5jSZ7OQvg9EkTVmKsJwqBtS8i21HzuewEZSc5qzEGZewbLAdc/pLE499q uoIvMReqQmd3Yp0ZzO3c82sWs2/d2DI/x1RrTza5ZzPWVj7wD7oZSxgtDD8T+bpuEE UlUzkevR3IuBxO03l5JyQ3zoKQv2YmlR7hVVtpSwtDxSbaPwVFFvKaiRejBSpexlW1 eK1THOkEXxD0w== From: Sweet Tea Dorminy To: Jonathan Corbet , Kent Overstreet , Brian Foster , Chris Mason , Josef Bacik , David Sterba , Jaegeuk Kim , Chao Yu , Alexander Viro , Christian Brauner , Jan Kara , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Sweet Tea Dorminy , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, kernel-team@meta.com Subject: [PATCH v3 12/13] f2fs: fiemap: emit new COMPRESSED state Date: Wed, 3 Apr 2024 03:22:53 -0400 Message-ID: In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Sweet Tea Dorminy --- fs/f2fs/data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 2a3625c10125..e999cb1bb02f 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -2014,6 +2014,7 @@ int f2fs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, if (compr_cluster) { flags = FIEMAP_EXTENT_ENCODED | + flags = FIEMAP_EXTENT_DATA_COMPRESSED | FIEMAP_EXTENT_HAS_PHYS_LEN; count_in_cluster += map.m_len; if (count_in_cluster == cluster_size) { -- 2.43.0