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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 930F2C433E2 for ; Fri, 19 Mar 2021 18:21:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A23F61961 for ; Fri, 19 Mar 2021 18:21:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbhCSSVQ (ORCPT ); Fri, 19 Mar 2021 14:21:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbhCSSVL (ORCPT ); Fri, 19 Mar 2021 14:21:11 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE311C061760 for ; Fri, 19 Mar 2021 11:21:10 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id s2so7459409qtx.10 for ; Fri, 19 Mar 2021 11:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aZO007NOGK5FV5hcJF+9nPZpAjB3mMOoENzfIjB7eyI=; b=Es29CEtKx7aWt0Mu7Rf7r6zP8u1j7OadS2rkCWi2B0aWO4le6y29TMczbOWlrSBehw bYCvLUO9imjIJs6ButG39En4CrWVbnOVZE3EJ1UZqco8GEbZqpYjL44mNs6o63TiMdGN t8T4hLOCh4mgQ3RFXu2Kcro1RuJWPopOzeOd++uSRvHOwFS6/Bm6xjfkx6VTssMo/mW7 zicApRiZJmjS/DW56q1D+m4urw40bVrRjm9li2qD11h2oYTlTMWmdB8firSXVf4EjLzv nsbK8BjL2jA/0pNztSiDt6rSRLgtmEuxGFDNJ1NFCY01+0yzM4XkylYHLDPDlVgl65Rn TcsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aZO007NOGK5FV5hcJF+9nPZpAjB3mMOoENzfIjB7eyI=; b=rXRj1ypcwvtuhsVQS425J16r+3rfdxz2xPm6wSIV+Hg+t2FzksgKkHq6Gd6CTBJHCS bSoxDHltNTfaddxvjT8XfIPYDMGwk51qXY9aAx060zefDLODs/bghDHUC5T81C8gPmZU J6hnAFtmpPRJSS1VWpS1IM6wmIiekeLxITszJFMYK/04q29gYQt6LEqgvkw4/VAbKv4A XKkhMwafC3HsS6OCrEoMaBCR4/8G4QmDUkfy6lxlE7xs6dMYfDEzIZEBUnRNdm7DMtpO Hpf+EWF4pbWKNpw/0NWbcSyxVsPevobxxypYcStQJZ2c42jLzyFthMXaP8arylZSs29e 1Q+w== X-Gm-Message-State: AOAM531/KjxL1BebpeyhwevB24x7E4k2UBvJrBHu0ZWmhHoxYjAOBopO pl6WfoHyO2IlRC/Wu8NeyUHNlQ== X-Google-Smtp-Source: ABdhPJysGF2xqgjPbje3n3YZdro3ADum8wBFF6X03iG4iyBfDoEyHZOq/lt0JUA7mzMEkupxjVFjmA== X-Received: by 2002:ac8:4750:: with SMTP id k16mr9100126qtp.239.1616178069757; Fri, 19 Mar 2021 11:21:09 -0700 (PDT) Received: from [192.168.1.45] (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id o21sm4243759qtp.72.2021.03.19.11.21.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Mar 2021 11:21:09 -0700 (PDT) Subject: Re: [PATCH v8 00/10] fs: interface for directly reading/writing compressed data To: Omar Sandoval , linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, Al Viro , Christoph Hellwig , Linus Torvalds Cc: Dave Chinner , Jann Horn , Amir Goldstein , Aleksa Sarai , linux-api@vger.kernel.org, kernel-team@fb.com References: From: Josef Bacik Message-ID: <8f741746-fd7f-c81a-3cdf-fb81aeea34b5@toxicpanda.com> Date: Fri, 19 Mar 2021 14:21:08 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On 3/16/21 3:42 PM, Omar Sandoval wrote: > From: Omar Sandoval > > This series adds an API for reading compressed data on a filesystem > without decompressing it as well as support for writing compressed data > directly to the filesystem. As with the previous submissions, I've > included a man page patch describing the API. I have test cases > (including fsstress support) and example programs which I'll send up > [1]. > > The main use-case is Btrfs send/receive: currently, when sending data > from one compressed filesystem to another, the sending side decompresses > the data and the receiving side recompresses it before writing it out. > This is wasteful and can be avoided if we can just send and write > compressed extents. The patches implementing the send/receive support > will be sent shortly. > > Patches 1-3 add the VFS support and UAPI. Patch 4 is a fix that this > series depends on; it can be merged independently. Patches 5-8 are Btrfs > prep patches. Patch 9 adds Btrfs encoded read support and patch 10 adds > Btrfs encoded write support. > > These patches are based on Dave Sterba's Btrfs misc-next branch [2], > which is in turn currently based on v5.12-rc3. > Al, Can we get some movement on this? Omar is sort of spinning his wheels here trying to get this stuff merged, no major changes have been done in a few postings. Thanks, Josef