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 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D2CAC76188 for ; Mon, 22 Jul 2019 09:50:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E771F2147A for ; Mon, 22 Jul 2019 09:50:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Sjv+cJza" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728455AbfGVJub (ORCPT ); Mon, 22 Jul 2019 05:50:31 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39724 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727916AbfGVJub (ORCPT ); Mon, 22 Jul 2019 05:50:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HG9+HD8BoJ0/A6yxTNaU7c8B6tpTr5YDR7LElaVu3Bc=; b=Sjv+cJza7h7ZVvCgGriJ6L3wT MM26/nfI3M7x85PK5ENZ0e0GZLMMZexxUsJbb+VAnLVuLsOOJhFEsKuS7uLpDhy2KPAquZwNKpz0c ZHRqOPNSXZ7SVKNCBKnPAeVkX6SrE7rASAnzW6oezm58JJormD6l45FJ6R/UhkqoIwLt1GEHB+Tkp Mq7HlzZUmU/f2LlgkVchtzT2p6GFd1oYf4xGxDFtKK1+msIbgGo9llpEBxN4ql+P+omc8UiBf3Oif faVELLleNzvsf72BAPAZp8CiKRqJVxJFEeTDobX7kJQ6PTLXhPGmFiXI5umGJYutilnPL6zo6JsO6 0ET/St2pQ==; Received: from 089144207240.atnat0016.highway.bob.at ([89.144.207.240] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hpUxe-0005Sq-ON; Mon, 22 Jul 2019 09:50:27 +0000 From: Christoph Hellwig To: "Darrick J . Wong" Cc: Damien Le Moal , Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: lift the xfs writepage code into iomap v3 Date: Mon, 22 Jul 2019 11:50:12 +0200 Message-Id: <20190722095024.19075-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this series cleans up the xfs writepage code and then lifts it to fs/iomap.c so that it could be use by other file system. I've been wanting to this for a while so that I could eventually convert gfs2 over to it, but I never got to it. Now Damien has a new zonefs file system for semi-raw access to zoned block devices that would like to use the iomap code instead of reinventing it, so I finally had to do the work. Changes since v2: - rebased to v5.3-rc1 - folded in a few changes from the gfs2 enablement series Changes since v1: - rebased to the latest xfs for-next tree - keep the preallocated transactions for size updates - rename list_pop to list_pop_entry and related cleanups - better document the nofs context handling - document that the iomap tracepoints are not a stable API