From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75288C7EE2E for ; Thu, 8 Jun 2023 05:33:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233781AbjFHFd4 (ORCPT ); Thu, 8 Jun 2023 01:33:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233779AbjFHFdy (ORCPT ); Thu, 8 Jun 2023 01:33:54 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F08F926B8; Wed, 7 Jun 2023 22:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=grZMU2vXur0rOn+uMoQQBAunZFp7Hu66pq0e1HfBFT4=; b=Fwwv8hvFc8HxJHocWW/u6PHhNA 7bEec/Ojg6PSYVrMS+eSbJF6Ni6xksNTCncf9x/+T0XuMqKeQ8yFEiE9K1lq5BNY9kphDmU0uvnLg 5uhhQyDFXl56CbZdMdGdX5308T35ftzijUQW1mVoAjYWfYRUdpVXu1LcYsjRb+fcKlrBovKhhfqFM pIm5tUGgZByBgt31bSnaVqUzH0WQMrByQttPpGqyhU7FSe8KY5VwyKvOVfI5Wspv8mE6L2FFYp6DC ellSPw7/wNzO/QTZ5KhjjDJUzN2kta7BKaQvVaHXYOhG3UJ1zZC69rUrK5fCRTCf31xrCvsAzzkts l/5ocKOA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q78HQ-0089hC-2i; Thu, 08 Jun 2023 05:33:52 +0000 Date: Wed, 7 Jun 2023 22:33:52 -0700 From: Christoph Hellwig To: Ritesh Harjani Cc: Christoph Hellwig , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Darrick J. Wong" , Matthew Wilcox , Dave Chinner , Brian Foster , Andreas Gruenbacher , Ojaswin Mujoo , Disha Goel , Aravinda Herle Subject: Re: [PATCHv8 5/5] iomap: Add per-block dirty state tracking to improve performance Message-ID: References: <87o7lri8r4.fsf@doe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o7lri8r4.fsf@doe.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, Jun 07, 2023 at 09:07:19PM +0530, Ritesh Harjani wrote: > I think the only remaining piece is the naming of this enum and struct > iomap_page. > > Ok, so here is what I think my preference would be - > > This enum perfectly qualifies for "iomap_block_state" as it holds the > state of per-block. > Then the struct iomap_page (iop) should be renamed to struct > "iomap_folio_state" (ifs), because that holds the state information of all the > blocks within a folio. Fine with me. > > if (!iof) > > return NULL; > > > > here and unindent the rest. > > Sure. Is it ok to fold this change in the same patch, right? > Or does it qualify for a seperate patch? Either way is fine with me.