Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757356AbdIICtM (ORCPT ); Fri, 8 Sep 2017 22:49:12 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:47162 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753211AbdIICtL (ORCPT ); Fri, 8 Sep 2017 22:49:11 -0400 From: Nick Terrell To: Herbert Xu , Chris Mason CC: Linus Torvalds , Linux Kernel Mailing List , linux-btrfs , Phillip Lougher , Sean Purcell , David Sterba Subject: Re: [GIT PULL] zstd support (lib, btrfs, squashfs) Thread-Topic: [GIT PULL] zstd support (lib, btrfs, squashfs) Thread-Index: AQHTKNlP8EmtaovJNUuaNmXJYw9gI6KrxkeA//+fCIA= Date: Sat, 9 Sep 2017 02:48:55 +0000 Message-ID: <24CD81E2-A5AB-43A3-ACB0-9731ED2B8853@fb.com> References: <20170909013559.GA29188@gondor.apana.org.au> In-Reply-To: <20170909013559.GA29188@gondor.apana.org.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [73.158.19.169] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR15MB1481;20:PMs9L5UemBF6P/bayyUUvl8j2h+8Jd7x1g4cpWRqYT0y9RSPOD90Xam78H7CFZYtS+AzODB33VARfEJC6Bb/SuBi4uk7+3uHlsYN1lsFoB7wQjgpFE705Nt0s/j42Xx7u8Oe7/F5RsgwHqUS/0iKnU4QeOEens0YbQHBdhYyXUs= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10019020)(6009001)(24454002)(199003)(189002)(377454003)(6512007)(229853002)(2950100002)(81156014)(2906002)(6636002)(50986999)(97736004)(36756003)(99286003)(4326008)(33656002)(3660700001)(8676002)(5660300001)(14454004)(86362001)(8936002)(478600001)(6306002)(2900100001)(54906002)(68736007)(305945005)(6486002)(66066001)(7736002)(82746002)(54356999)(53936002)(81166006)(106356001)(25786009)(105586002)(6436002)(3846002)(6116002)(76176999)(6506006)(101416001)(6246003)(102836003)(189998001)(83716003)(966005)(3280700002)(53546010)(77096006);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1481;H:DM5PR15MB1753.namprd15.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: d8eb3461-c06b-41a7-72f9-08d4f72d5076 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM5PR15MB1481; x-ms-traffictypediagnostic: DM5PR15MB1481: x-exchange-antispam-report-test: UriScan:(42068640409301); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR15MB1481;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR15MB1481; x-forefront-prvs: 0425A67DEF spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1E457E959E77D44389AB40578C875225@namprd15.prod.outlook.com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2017 02:48:56.0280 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1481 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-09_01:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v892nHuY006686 Content-Length: 726 Lines: 19 On 9/8/17, 6:36 PM, "Herbert Xu" wrote: > On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > > > crypto/Kconfig | 9 + > > crypto/Makefile | 1 + > > crypto/testmgr.c | 10 + > > crypto/testmgr.h | 71 + > > crypto/zstd.c | 265 ++++ > > Is there anyone going to use zstd through the crypto API? If not > then I don't see the point in adding it at this point. Especially > as the compression API is still in a state of flux. There is a patch [1] floating around adding zstd support to compressed RAM that uses the crypto API. [1] https://lkml.kernel.org/r/20170824014936.4738-1-sergey.senozhatsky%40gmail.com