Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4655676ybb; Tue, 24 Mar 2020 02:51:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvHsCChpn4F5zu9yxQDUtVBdqHntZ6TfO55TX5iCiTa4UgmyDB+MJn1ZsGaTWoXugEU/R+/ X-Received: by 2002:a05:6830:2421:: with SMTP id k1mr21394731ots.192.1585043473462; Tue, 24 Mar 2020 02:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585043473; cv=none; d=google.com; s=arc-20160816; b=pNvM/PmOMF6W41zgkklVJ8soTiglSizK3kfhF5WemCD2kygd4f/o5viX+FQMQgTWBB yyK6VqLft0ddmJx3EHT5PUFK0qW0c0sUit2kZLkOGe3UJL19p9MXZjJvEc5y/BOW5L/d kcxiYpZqzg6E2ep3cyswGd7u3HXg33M32DNeIE1uqUJ+rbTmijwwAF2oGM+n+I635H27 qqjyWCVZoFuTYJsWRpW1rHD8kJfziWbWpi5yuTGrj2ttTllZv7iIo0wLtuMkv5kZ7aqw u8FXPSgxjWYN0XbMFDlSCHFSifv5wmRnLajC4CHZlbv/in+Vl0D6GkGQRY/WB6kB8bU1 FTiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=fSev6ByrgPPYt+lJkEfW1nlgJHnzscKU9RIohNm4jK4=; b=a1nmuPIzv1KaPLzwIHnvGiQWZIXDPT6TEgY3vFtYaFkOROyVBJ/HpLm/v8AO3djNRY NuP9X7lk6XlZG+WUqh+5xaboRylhP1OyIegKbDgpPp3KTE89va+KZ3YCGVsTWAtznR5B l//Tdt7LQmOer42uiANhRF1JgAKePQu7BFyng6LwjAVvIQ3bSmHq0VVoWdfEid2122Iy 9HrpDoF8g7n4g44YEXv0PoNgkpS0G0386cqimDX7mzSP/QGqEU7LumjvQj7SLBwiAWTT HACrGMvJx157foMmBCzkEoLsB4f/t2InMTr+wzYlVCki2P4qZ6623lb/Uxo9wDWiXw/1 PuOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18si8975574oth.1.2020.03.24.02.51.00; Tue, 24 Mar 2020 02:51:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727186AbgCXJuE (ORCPT + 99 others); Tue, 24 Mar 2020 05:50:04 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:43292 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726413AbgCXJuE (ORCPT ); Tue, 24 Mar 2020 05:50:04 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9C3D06FFE1308FAF180B; Tue, 24 Mar 2020 17:49:48 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.207) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 24 Mar 2020 17:49:43 +0800 Subject: Re: [PATCH v2] f2fs: compress: support zstd compress algorithm To: CC: , , References: <20200303094602.50372-1-yuchao0@huawei.com> From: Chao Yu Message-ID: <1ee0c565-930b-2379-b22b-40ddca271de3@huawei.com> Date: Tue, 24 Mar 2020 17:49:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200303094602.50372-1-yuchao0@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jaegeuk, On 2020/3/3 17:46, Chao Yu wrote: > Add zstd compress algorithm support, use "compress_algorithm=zstd" > mountoption to enable it. > > Signed-off-by: Chao Yu > --- > v2: > - avoid accessing invalid address > - introduce .{init,destroy}_{,de}compress_ctx callback functions. I guess we merged related patches with wrong sequence as this patch depends on ("f2fs: compress: add .{init,destroy}_decompress_ctx callback"). Thanks,