From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26B8D5227; Mon, 30 Jun 2025 05:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751262162; cv=none; b=LiYDvvR6qssdbjBMRicNhCT5je0KXecVcwVlpsmhHUneh5Mpr86z/U4KzVIpu5rjVAnjCsO/MEtZh7pPYgzl2z1TCR3UWEGzzshXcuF+NZfst0mTBjp/TcHtkXXW3M03nUjfncsMB1NozzyH8dtlsYQ44pHM5/gcLl2o10wXkPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751262162; c=relaxed/simple; bh=GIWsfrtYwse+E8YsX2pJzplYbDDPWA/UFNRpnR2b96Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oPvaCkrrqlOKkAo1M6FOaKcvfsoBA0BM5JDOiipEKHlUrc06rcCFpNNMpJ6fZaOaVqz+ePTtnrjqOdLtJhWth2x2355kayB/zXAAID54brJr98WKN/HTaYZj7ffa+SHpMGNL1/9aFBpRlatjDe+XLkGtzzDQlFa61CzDRiyFX80= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 9C87468AA6; Mon, 30 Jun 2025 07:42:33 +0200 (CEST) Date: Mon, 30 Jun 2025 07:42:33 +0200 From: Christoph Hellwig To: Brian Foster Cc: Christoph Hellwig , Christian Brauner , "Darrick J. Wong" , Joanne Koong , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-block@vger.kernel.org, gfs2@lists.linux.dev Subject: Re: [PATCH 03/12] iomap: refactor the writeback interface Message-ID: <20250630054233.GA28532@lst.de> References: <20250627070328.975394-1-hch@lst.de> <20250627070328.975394-4-hch@lst.de> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Fri, Jun 27, 2025 at 11:14:05AM -0400, Brian Foster wrote: > > struct iomap_writeback_ops { > > - int (*map_blocks)(struct iomap_writeback_ctx *wpc, struct inode *inode, > > - loff_t offset, unsigned len); > > - int (*submit_ioend)(struct iomap_writeback_ctx *wpc, int status); > > - void (*discard_folio)(struct folio *folio, loff_t pos); > > + int (*writeback_range)(struct iomap_writeback_ctx *wpc, > > + struct folio *folio, u64 pos, unsigned int len, u64 end_pos); > > Whitespace damage on the above line. Without this the vim syntax highlighting is confused for the rest of the file unfortunately. Not sure how to deal with it, the RST formatting keeps driving me crazy. As does this document, which really should not duplicate the type information, but folks really wanted this annoyingly redundant information that is a huge pain to maintain for no gain at all :(