From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F255C001DC for ; Wed, 26 Jul 2023 12:54:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232930AbjGZMye (ORCPT ); Wed, 26 Jul 2023 08:54:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231910AbjGZMyd (ORCPT ); Wed, 26 Jul 2023 08:54:33 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0A1B1FC4 for ; Wed, 26 Jul 2023 05:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Vv5yxAvAUjDjuek4TfRE+42QM0032xy5gJGzT6pE1Vo=; b=rIQZfdzEqXy0WiOSMfmLmQ8YnD yhNnoPaimXPu4G+ZdNbuX2xjW3cXMCvxw6M6Ya2/y0iC1ff7lH5ed8mNPWrpXMrZwoj9p2qRKyOs/ Ikz5TmhIP6f/5Rmonz9oB4pBM62ipddVKbc0meqlZCnQ7VUGF97q/JBlyVDkz5aEz21Wh9uxcrb9/ m+Ex9XC18lPLMHrWj9UFAZHg0OVzV/CMlZUIQIbNvgZ5yOr/y61jpn+1oJjw3ofZbU5PsBknduLyt wopmaiHEMP5b8wHwoMni3UP+XwFZv2sVlKwUC/6iMOSRaTGw6xl4svkIIuA1+d3C1Kd64MxEFx4lO KKYoJcow==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qOe29-00ARwx-11; Wed, 26 Jul 2023 12:54:29 +0000 Date: Wed, 26 Jul 2023 05:54:29 -0700 From: Christoph Hellwig To: Dimitrios Apostolou Cc: linux-btrfs@vger.kernel.org Subject: Re: (PING) btrfs sequential 8K read()s from compressed files are not merging Message-ID: References: <0db91235-810e-1c6e-7192-48f698c55c59@gmx.net> <4b16bd02-a446-8000-b10e-4b24aaede854@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org FYI, I can reproduce similar findings to yours. I'm somewhere between dealing with regressions and travel and don't actually have time to fully root cause it. The most likely scenario is probably some interaction between the read ahead window that is based around the actual I/O size, and the btrfs compressed extent design that always compressed a fixed sized chunk of data.