Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4497913ybb; Mon, 23 Mar 2020 23:11:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvYnf8T8jOAANlRQGoTzKx1BTt2VTOO58i+TBFrw7NrGyPSgXN1VLqJjNgNjcUxKnNp2xP8 X-Received: by 2002:aca:4a08:: with SMTP id x8mr2345404oia.158.1585030302248; Mon, 23 Mar 2020 23:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585030302; cv=none; d=google.com; s=arc-20160816; b=YhzBTa5oJs2UWuasIWg+mr2vonYBUAfpMa7buvZm4X5ySPcTjFMTqUKTB8wzDtoI+k XqAJEtKpbqVgElA+1kcVdvKbtvomYKvPwtFFk74KuO+OCsiVAZeLGO7QcEH98ozGwzg1 /8aahQacEPebLhsdqFR27jXKDGeAK2Tfvdvp7nC9tZ1RiMnWXviYqR+dxB2DMNqA8UNw sFuaytFiCsjY7wkHL/amnOjJDUaW/Ur5hoCQbLJ0K06feLnvbB8rNelxNjZOzzTmMsFf 5mEseP4PGHcPl57Kj9Haao+p6IhYCiZy78ZKauOwLGGcxpsGqI5yHcHzsyMwID6RlX74 +lKg== 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=FJBUtx8b5k2LGfrz9RHs2AGXfHlxbyE7W3i8bOzq6Aw=; b=T7NL19hnR3C6M7e1xBExoKiU3URo4dK267I9bBefp0krIfjdROcd1ZaQMgBYVOZAm9 cJ2ekarIN5WTDK8fmR2dR84qYlI+MuCU5uinusL/0cJ7rANworOY+3SFZPsE4O7TutPo +kQ5j9s9m5++8TTO3eCKAv9HbWStbegha+sbZdP4+KfjHOIQ8cznR1WKRawMD5JHsO2m Qi+yVucF3bS5mqaJFiFE7Ty2eQ17f1gi7vdkbZkQ2RCGv19aWU42SLtSXu4nzXcAGk2v Ec85o8m374CXp8IV6AWDsTwePlREAb2QJf5iv3f0Y0OJyj72HX+jcPa9JJFr1lW5SdDL PEpA== 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 t71si8468346oif.84.2020.03.23.23.11.30; Mon, 23 Mar 2020 23:11:42 -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 S1727283AbgCXGK6 (ORCPT + 99 others); Tue, 24 Mar 2020 02:10:58 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12182 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725922AbgCXGK6 (ORCPT ); Tue, 24 Mar 2020 02:10:58 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 44FDDFF01C84AB352606; Tue, 24 Mar 2020 14:10:50 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.201) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 24 Mar 2020 14:10:46 +0800 Subject: Re: [PATCH] f2fs: remove redundant compress inode check To: CC: , , References: <20200229104906.12061-1-yuchao0@huawei.com> From: Chao Yu Message-ID: <6aab59b9-6e33-5b01-acf8-ccbacd9318e3@huawei.com> Date: Tue, 24 Mar 2020 14:10:46 +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: <20200229104906.12061-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 Jaegeuk, Missed to apply this patch? On 2020/2/29 18:49, Chao Yu wrote: > due to f2fs_post_read_required() has did that. > > Signed-off-by: Chao Yu > --- > fs/f2fs/f2fs.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h > index f4bcbbd5e9ed..882f9ad3445b 100644 > --- a/fs/f2fs/f2fs.h > +++ b/fs/f2fs/f2fs.h > @@ -4006,8 +4006,6 @@ static inline bool f2fs_force_buffered_io(struct inode *inode, > return true; > if (f2fs_is_multi_device(sbi)) > return true; > - if (f2fs_compressed_file(inode)) > - return true; > /* > * for blkzoned device, fallback direct IO to buffered IO, so > * all IOs can be serialized by log-structured write. >