From patchwork Sat May 31 23:48:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Worrall X-Patchwork-Id: 4276781 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E91519F30B for ; Sat, 31 May 2014 23:49:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BAEE2039E for ; Sat, 31 May 2014 23:49:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3174020340 for ; Sat, 31 May 2014 23:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672AbaEaXss (ORCPT ); Sat, 31 May 2014 19:48:48 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:42463 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753399AbaEaXsp (ORCPT ); Sat, 31 May 2014 19:48:45 -0400 Received: by mail-we0-f174.google.com with SMTP id k48so3638697wev.33 for ; Sat, 31 May 2014 16:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=79sV0+jj0VqfX23zYDq9unkxtZ+hP7l1jen3PMXN5yI=; b=Y2TeMPiyAeLFLR2rVN5x8EosT+nI6IB7I5FGXs8TN/tltlpkpQzP7c4eipn/CEZIVB 4riSr1XR0heX9E/N0SHjXi007MlE5C7rsxpndOwaSyFMjeDzHbGkGgurm3G5h9GDRk5I uT6hbXDsEauNbYuHCNFbdM5NoeFcFCbhQebv6e+Jni9kkpZezxYww/pWA3yyBred8E3q rZElHtleQTa3ORYvcucnKFiQvJRpr166B+tguHepZd87bEe1xeicoyZbQxFt9nWtI+9A WEOWXVDU7VAQGFdjgb7STIsWmkk8s2GfLNCK5e6LXEAy79C8xu/WpR+2o2nST3Q20THB Uk7A== X-Received: by 10.194.93.202 with SMTP id cw10mr6899252wjb.95.1401580124007; Sat, 31 May 2014 16:48:44 -0700 (PDT) Received: from ubuntu.home (host86-148-25-253.range86-148.btcentralplus.com. [86.148.25.253]) by mx.google.com with ESMTPSA id em5sm18605440wic.23.2014.05.31.16.48.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 May 2014 16:48:43 -0700 (PDT) From: Philip Worrall To: linux-btrfs@vger.kernel.org Cc: Philip Worrall Subject: [PATCH 1/8] Btrfs: Add kernel config options for LZ4 Date: Sat, 31 May 2014 23:48:29 +0000 Message-Id: <1401580116-10458-2-git-send-email-philip.worrall@googlemail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401580116-10458-1-git-send-email-philip.worrall@googlemail.com> References: <1401580116-10458-1-git-send-email-philip.worrall@googlemail.com> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add two kernel configuration options for LZ4 compress and decompress. Signed-off-by: Philip Worrall --- fs/btrfs/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index a66768e..fb93d9e 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -6,6 +6,8 @@ config BTRFS_FS select ZLIB_DEFLATE select LZO_COMPRESS select LZO_DECOMPRESS + select LZ4_COMPRESS + select LZ4_DECOMPRESS select RAID6_PQ select XOR_BLOCKS