Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4979093ybb; Tue, 24 Mar 2020 08:44:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsAsHriJsdyB/vv9m9OU08L3xKFn8LoVPzTgumT/zahDtw7ebyE2STfxbKYXcqberce5C3i X-Received: by 2002:a05:6830:1610:: with SMTP id g16mr9674760otr.358.1585064683479; Tue, 24 Mar 2020 08:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585064683; cv=none; d=google.com; s=arc-20160816; b=1KDRzoJ7IuKnm5TQdRLVgWxvSZQ6q4i72e3ttsaRHSWTARuKfco/0zMFuxCAK9ZIdF zcKOV/WWwiNbOtQw98ymmfP+TT/McRmpKoadiEbXSLJZffYvbdVa6JMt+eujuteLDlmC 4GgGVx82AF0UnFCPh1KNPs45XDkB/SGNcJk0lpVCY/0TbkRfaquj8f4QqexP5JT3nVUO dKA8Caf8luoXCvribSr8NmO8EY51xHHxnGC3AJT3pyA9kf9mGqPrzDc232/C9DaJzHu9 qQgE+u/lC4f2oariFoTljPJXJ+0blvJbNcYUP8j25kzd+QBDZzbUse1HdpbJHtFD1UAi Rw2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Nm+gU9VKA730ZriGe3rKuK/ZdFwG1lvrE8H9tBhUCWk=; b=et9vHPqeq8e29+rWCVPCmhxsk1Qj4cJWzYQEnAtLXY+C/oge/YFYj+GOWAedWMaQQ5 N3aTn1XIx1lWEErTY91NvGbFKSnVWXihCDzFpuIZNSjEguSLRTlqBWxy+sHVx7mkI55y LeJriVfWoc1nbxlqluhtJVtB+M+TVyWvweTlPipj8MXrou4wk91UhSvEe89EBo8434ny COivGdl01MAX0JfLSomIAeJOpRmvVRhOcb+MYo7aW3iQFkx+YQsFFD8xTDK/p/ME3HLs /OfMzU/3mPNzyOp+YUok+j3U2u+Ie74nkaJrZ5rLTH8f0uj1AqJSUYE3wlL9tc/tzhBd Inrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Db7a4hxB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si8675217oti.200.2020.03.24.08.44.30; Tue, 24 Mar 2020 08:44:43 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Db7a4hxB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728405AbgCXPnX (ORCPT + 99 others); Tue, 24 Mar 2020 11:43:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:38124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727216AbgCXPnX (ORCPT ); Tue, 24 Mar 2020 11:43:23 -0400 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D41C020714; Tue, 24 Mar 2020 15:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585064602; bh=Qv9VoaJbPxXb6ifsksLylG5aLk2K8GMbJDDMXCV0fjc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Db7a4hxBMH6eTuRq4g4f/SP8qeiY1OeXIglgiiJ8R6LPnJmd0IqRJtQZ0/iNu3TxT F3t180Ea6Mp/IKTYldRu4jZnCH6mZkRdFBJveCbCVoHEkZbYNmAVhEadf1lKoCh02Z GoAT/zBpm+7YXYrUYpJszrUX/wfU13ebDuydDRgk= Date: Tue, 24 Mar 2020 08:43:22 -0700 From: Jaegeuk Kim To: Chao Yu Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, chao@kernel.org Subject: Re: [PATCH] f2fs: remove redundant compress inode check Message-ID: <20200324154322.GB198420@google.com> References: <20200229104906.12061-1-yuchao0@huawei.com> <6aab59b9-6e33-5b01-acf8-ccbacd9318e3@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6aab59b9-6e33-5b01-acf8-ccbacd9318e3@huawei.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/24, Chao Yu wrote: > 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; I thought that we can keep this to avoid any confusion when porting to old production kernel which uses ICE. > > /* > > * for blkzoned device, fallback direct IO to buffered IO, so > > * all IOs can be serialized by log-structured write. > >