Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp994665pxu; Wed, 16 Dec 2020 22:28:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZapBkPf+HNlvzdRBnvL8ckTL4c4XB5PtPp9Dz+04Vmny5RvJsdQYNBTpHyn9uXguLcjOd X-Received: by 2002:a17:906:a218:: with SMTP id r24mr32840114ejy.372.1608186509227; Wed, 16 Dec 2020 22:28:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608186509; cv=none; d=google.com; s=arc-20160816; b=Y25h/CP6SnQXNcCLfDTeo6MPdf5ZZYL7GhoewEf6motZUpZvlaC+GS3hMPS2H/iNqm 5MRoyTaHl8jqJZJDUeo9Tam7wVhj7DIqh3cU2839NSMj/FENv7iLa0/L6AV4OHB6+U03 FRLGkji9/7XdqY31oC1eFkRVmc8R1EfKmET8WZ+LzWNRYQpWED7B0GZQ9vYuA4GHHH0t i2iIJFoJPnlvu4B9PRD0W8esxzssPlU7peOcU9cdTZm8hQFs+y7KNZUAi5A3dVuWT8qx H1rVWYGYpkCZbemMgWlm9qWJFTkR7fDFpqqdO0uhmsXbuNS30hHw5VbAjmkw7KxfC6yE 5oYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=R6HvA24I+kOAtAWTar5Pg8c6J8KC76HHHocQDipCizg=; b=Jg6/FjZc+LO5xr9b7epHMrsMEulRtZjQdmuROdXMpo2kCCrAEnfGDU9Hlc7gfRGz7S wxsM1MwSOnXCLXomFVkla34KA/5jEmVDPUtF+6JbKhPojvQsYMMYLRu7AkSrQ5x7ImmT ++vb2bIkT57DacEbM+ToPUpaMVN292xKl1+FAb3+g+yJkzdoYumy+cSiOzFmWlE4X7Wx wuHitHe7WfzjhbVo25A7SmzNFn+9YuG8ph/QUGY0FWicjaX06L2wwtt3qPwLR0+ynUKX k/lKb/7ZmLpy7bflm3bv1N8Bouj9zzhlGMCrrZR0u2bpwHf5FMVO1+Cr1E501pAqOhsp 5VRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si1963821eju.216.2020.12.16.22.28.03; Wed, 16 Dec 2020 22:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725950AbgLQG14 (ORCPT + 99 others); Thu, 17 Dec 2020 01:27:56 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:43287 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725930AbgLQG1z (ORCPT ); Thu, 17 Dec 2020 01:27:55 -0500 Received: from callcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 0BH6Px1P004685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Dec 2020 01:26:00 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id BFF8E420280; Thu, 17 Dec 2020 01:25:59 -0500 (EST) Date: Thu, 17 Dec 2020 01:25:59 -0500 From: "Theodore Y. Ts'o" To: chenlei0x@gmail.com Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Lei Chen Subject: Re: [PATCH] fs: ext4: remove unnecessary wbc parameter from ext4_bio_write_page Message-ID: References: <1607669664-25656-1-git-send-email-lennychen@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1607669664-25656-1-git-send-email-lennychen@tencent.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Dec 11, 2020 at 02:54:24PM +0800, chenlei0x@gmail.com wrote: > From: Lei Chen > > ext4_bio_write_page does not need wbc parameter, since its parameter > io contains the io_wbc field. The io::io_wbc is initialized by > ext4_io_submit_init which is called in ext4_writepages and > ext4_writepage functions prior to ext4_bio_write_page. > Therefor, when ext4_bio_write_page is called, wbc info > has already been included in io parameter. > > Signed-off-by: Lei Chen Thanks, applied. - Ted