Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp291185lqp; Thu, 4 Apr 2024 13:19:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjJp+T/hfkoyUjHi6BXnMjEk7oNPD5D0QZs1LkMnUsQ2T9peLmgY+LKzFwiDLAM8uZYXZIOp9CaxusIV9hGC8pJ1KuKut0cFZkFvSq6w== X-Google-Smtp-Source: AGHT+IFzYe0Sq+UHw08BVm21IUDB3CjEj9ZlD0upmSG5FY1iFHmq7ZKeEgIStE7R0zG3wg5B+LeE X-Received: by 2002:a05:6a00:23d1:b0:6e5:3b8e:bb6b with SMTP id g17-20020a056a0023d100b006e53b8ebb6bmr827058pfc.7.1712261962162; Thu, 04 Apr 2024 13:19:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712261962; cv=pass; d=google.com; s=arc-20160816; b=xAGHM89vr+i00XsLXEzDRCnY3KiTf+SSZO2rPAAYi3KLBk9DrhudAlvYG5FCO1/ydP ylKtC0CJhg9y/AWKLyeJ5FFuH298zQYn8l/XEebUT5Qj1OmjffeqPVLxr1Nsr85MREdG OeiUuqS9biebpsXH9P8kt5jujo2Ec3lRHiF3vlmQMCzffJ8d63vSzQuNcA2zns61jRpJ DcIAVP+bw9XE3dGMMPErR491GKxUK+BP0GiUcKzxWwjG4Na77oroCteG/cpRl+KjSGCb v6q5x/WVoj2H0ABPqCItwUuygLsUAv9epUB1wdsTZMkoqRzNfn59VqCQCqf7eHrtiQys tntw== 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=dazOs86ddv8Itb3DPSz/NqiiNaYofvrmL1F8lvug2MI=; fh=5xpXEVHA7ULft/JHqM87S8vqz30WiVdsBWxEbwY87G4=; b=Ew0L4WZ7jXEqtWKJ9Eb+YXGkw3jAk2o3ikawlUnfzrKk1BTEsUdcgQ6bew8PtK4Ji0 g+rPtiRo7KcGGe70tSIlNIQGjCUqyNR+GXMC+mxf4Z4+H+HQEsyhm8GXEf2ZlnCUx/pV cxWr1GLpcEbc2O765P7rEkvCL9prHOiMsNp9eRyVAIii/t+Ri5WlsnL5gxpz3jEIDSRS 9Cq7HuHwezEUq0bXjSVlZRdV3mFBLm5+woc1IvNzxIoIiomLgFk4n7537IPjEbyapIcw 2sRWnBmF6YH++Q1spl5xQuS0bE1KzncwBgGVeHKyoLcuZO7igfkiCWBX2n8GpD+IQOrm Jmgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dorminy.me header.s=mail header.b=sDsi6DwW; 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-129183-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129183-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dorminy.me Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s21-20020a63e815000000b005be3683ec6asi81788pgh.184.2024.04.04.13.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 13:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129183-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@dorminy.me header.s=mail header.b=sDsi6DwW; 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-129183-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129183-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 08369289B33 for ; Wed, 3 Apr 2024 07:38:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E981C8662B; Wed, 3 Apr 2024 07:33:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dorminy.me header.i=@dorminy.me header.b="sDsi6DwW" 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 B91BC84A4E; Wed, 3 Apr 2024 07:33:43 +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=1712129625; cv=none; b=fnpUwUAZjLh2f4qcysFQtAsTl+rrxnVxsLe2+S+qocAQM100ITJnoznOt1RkpoShp8ZvA7nSRMr5o5p2ujXF0lpBhOPi9TyoE81EjjaJOS2l8dEmkrydeYzrhcdGHlu7jUJVFkkdC+Ku+0d72cP7hRjJ073cy5wsfrj4vUSs6u8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129625; c=relaxed/simple; bh=Yn1zFOsTbXIkMwMfnGhDkiIuwvzgn3xDfiaec4KzrE4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AFnN5moD2X2KJ6KWgK9GKLIUQtocFnzScLjJoY+QVO9s/IkEUQnPVYt2dChKMvKHtaIUJbju0MRHygN/Z1iGcNVW4SIni4Vhpve/mMEN2y+uciyvHTwlp8tdHHPvsazQvh6dgiBClx2FK6PxCUySUvPaUgkoG6PI6who/Mt7fro= 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=sDsi6DwW; 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 2C4BD809CF; Wed, 3 Apr 2024 03:33:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dorminy.me; s=mail; t=1712129623; bh=Yn1zFOsTbXIkMwMfnGhDkiIuwvzgn3xDfiaec4KzrE4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sDsi6DwW7MGDTQ5P/PQD0Ea0WGP4MIUzVgMSpVt6+MLu6GooeRA15R0TNohgh6qiL gbBK43U0gy8PnlGmzx5AVqVZKXPV2FapzHQ+oZPLgDBg8vwg4O10OxkgIWX5xngwfS PH2OvUg5EIy5Q30YenZnXA3NlcNTx0gX57l5+aw+qpCar+CfK/i0FS+xCo+A9QqgN4 6P+NdsGSBq4lgIOk6OA7brNJULtIuyL3MvLZhdqTZi4EiuscId9aGny9zekTgpcN+q HHBbpXQKtnX9bDxNcRm1osXmflca6Y1t/MYnIvBMaK6dyDUapKLFgLTXR2osI5KMTX neuFRfY2pFLuQ== 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 13/13] bcachefs: fiemap: emit new COMPRESSED state Date: Wed, 3 Apr 2024 03:22:54 -0400 Message-ID: <943938ff75580b210eebf6c885659dd95f029486.1712126039.git.sweettea-kernel@dorminy.me> 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/bcachefs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index d2793bae842d..54f613f977b4 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -921,7 +921,7 @@ static int bch2_fill_extent(struct bch_fs *c, flags2 |= FIEMAP_EXTENT_UNWRITTEN; if (p.crc.compression_type) { - flags2 |= FIEMAP_EXTENT_ENCODED; + flags2 |= FIEMAP_EXTENT_DATA_COMPRESSED; phys_len = p.crc.compressed_size << 9; } else offset += p.crc.offset; -- 2.43.0