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 3D20FC4332F for ; Tue, 15 Nov 2022 08:40:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232770AbiKOIkK (ORCPT ); Tue, 15 Nov 2022 03:40:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbiKOIkJ (ORCPT ); Tue, 15 Nov 2022 03:40:09 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A135582; Tue, 15 Nov 2022 00:40:08 -0800 (PST) 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=yuh2AMTeq6XlUMUUyRATLkJw+4BsFLkicyPlBlFhPJo=; b=XfisNEoRqIh8yEGYpWzXgh23Sr buVO6GTrfuC2K2/TOOpv1KkekxkXWTAiVCQfaoiNOvJsxio1npxmNGfsa/4hZcReATm/hc7EK9qt0 QF0y9bxfOoZNBfj05MuG3pmntR+avrCMATKBpT0Kf5mvz9FwLU3+JGlLmVv/3Qo/O/EFFaOnh2gW5 hPsUrkohpPBoOetYrCoyBNzy4i76AmergsP7AarvqCIpZtdVsP4fx7eYyNLGIuu4DypVDMsMIEpU2 IFRd2IqxgT9jEGRT3R3iPM9fC5uIwW0jKei/nNF4mqJz1Iz9OSPQgqt+Snst/KkUKmtZu5kNK43kw YquOyt1A==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ourUF-008zH0-Ix; Tue, 15 Nov 2022 08:40:07 +0000 Date: Tue, 15 Nov 2022 00:40:07 -0800 From: Christoph Hellwig To: Dave Chinner Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 1/9] mm: export mapping_seek_hole_data() Message-ID: References: <20221115013043.360610-1-david@fromorbit.com> <20221115013043.360610-2-david@fromorbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221115013043.360610-2-david@fromorbit.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 Tue, Nov 15, 2022 at 12:30:35PM +1100, Dave Chinner wrote: > From: Dave Chinner > > XFS needs this for finding cached dirty data regions when cleaning > up short writes, so it needs to be exported as XFS can be built as a > module. NAK. Even if you use these helpers to make your life a little easier, the main delalloc punch logic belongs into iomap and not XFS, and does not need the exports.