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 6736AC43334 for ; Mon, 11 Jul 2022 04:48:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229591AbiGKEs3 (ORCPT ); Mon, 11 Jul 2022 00:48:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbiGKEsN (ORCPT ); Mon, 11 Jul 2022 00:48:13 -0400 Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6C2619037 for ; Sun, 10 Jul 2022 21:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1657514891; x=1689050891; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=qZn7QroGikdNtn/glSqxQ9bThZH7umr4K5JDGZVXNdM=; b=RKtXTL6viIruA2AbYtVQDItiLQyGBMB538ArzUIkOV4USN3red14MTG7 OY3P7k7jGpaX+u0priblIhOQO0wLX8/yk5Ic1xKvYsqdzyhmbbVpQrg0d 2sQ3KfkwTcXuQp5Pk0wIX9Tw0BVjIITwn66IL53fkw3aFtIX9uIWTN2e4 g43ZLbtGHJbeazNBlKBhjzqZBfUZrZRvz5b0DPVfXmHbIfBvbpUBKKcmf OzWjOAoUN0w0ay5Y3r6d+3/t3d8XuNOmgBrLdLq4BqAoLP2mo9rPzJpVu iaqHiK4Yq+7rvzqqVRWYl1bLtbqHVGFMBAGaJ5gdQTxbFSxmSEhg3DEm2 A==; X-IronPort-AV: E=Sophos;i="5.92,262,1650902400"; d="scan'208";a="317462892" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 11 Jul 2022 12:48:11 +0800 IronPort-SDR: XIkUAwCTWMQ8935d/TknE1zHeQUVfJmZl/m8az+7yGHbNTR0kLOL8/rhAEzwxrOIZ/VsJez/wA JXLJxUCU7PxqCVi8MEmcl0ghDvn4QrPAMpFt3qRgHb1RpFFwEFmv4ZL0C2p47H4qO9vwlVJlrU pzOBFV56B/kX8u6iCkh3cct5I0+LAWQ2/6/AQJOjGMJlFKLWMDkJcNvIj8AJGpShVyKGANUlUQ M5VWa41q/X/P+cSDGLZmupQ3gQsl9s+yps/XNw09Eh8j5MKgJAMPj5//i5JeaTKuykw3p68I17 VwGbJrtBiYacyGKXXpu44NQ3 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 10 Jul 2022 21:09:49 -0700 IronPort-SDR: HPPr6CUoqYic+zdcg3jwt3PFBmiGJOLxXaXETImiTFZuQQ1OwJN4KXDbTDoPb/YxxZCH5bgj25 hAt2KfzIuaKJlbg2/qXzNz4F6lNNRyWrewFwvsgFidZxcwVe1Id43pV20dWHBge+9xmqnejqdL /by4DoO20K/onuhj2l+8hLDbYBpuR04cUQbqC2l3zhvvBG2JccIGrCcFkYEr+T9KEGTawRgiGL 5hS0EZutAWZAhfmV1H4u8CnfswuvSyDcV0/BK8zO8x5yd3tgCTUmoBjLYz2QQiGE+0CgnuMIQe Lm4= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 10 Jul 2022 21:48:11 -0700 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4LhBGL6TYrz1Rwnl for ; Sun, 10 Jul 2022 21:48:10 -0700 (PDT) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1657514890; x=1660106891; bh=qZn7QroGikdNtn/glSqxQ9bThZH7umr4K5J DGZVXNdM=; b=qqlKxkpdZTVLycDgMmbrkklYGySIiBpLjhS/55loaQm4qxzselU hewMDOcM9lLB2YFLUSJh8CEtNn15NHIFT3H9k6phuFdwYi3VfpoKMusFXm7489cp 2PHn3V1jDzYvJCpXuqd6dwT9er86HVtwLBVZrI+K/8ToVbtkhElH76LQkTzEVLmL bgTlfes4bXNWyRiorBpk3qHU74/lgHlEVmmAqc1jKszgfl5nthToJJcYAC3RtjUX Szfd+ISW3WWytyIGnCTcJ4BD6mj5Z9ree82m5GtAH/V5LaMRh7RSVrf16fSB1MbM uNqBWzUy3M7cvaV+YgV6vWyIuFvkH6K+P9g== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eoB3CEq9awyA for ; Sun, 10 Jul 2022 21:48:10 -0700 (PDT) Received: from [10.225.163.114] (unknown [10.225.163.114]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4LhBGK07lNz1RtVk; Sun, 10 Jul 2022 21:48:08 -0700 (PDT) Message-ID: Date: Mon, 11 Jul 2022 13:48:07 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 4/4] iomap: remove iomap_writepage Content-Language: en-US To: Christoph Hellwig , Bob Peterson , Andreas Gruenbacher , "Darrick J. Wong" , Naohiro Aota Cc: Johannes Thumshirn , cluster-devel@redhat.com, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20220711041459.1062583-1-hch@lst.de> <20220711041459.1062583-5-hch@lst.de> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20220711041459.1062583-5-hch@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On 7/11/22 13:14, Christoph Hellwig wrote: > Unused now. > > Signed-off-by: Christoph Hellwig > --- > fs/iomap/buffered-io.c | 15 --------------- > include/linux/iomap.h | 3 --- > 2 files changed, 18 deletions(-) > > diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c > index d2a9f699e17ed..1bac8bda40d0c 100644 > --- a/fs/iomap/buffered-io.c > +++ b/fs/iomap/buffered-io.c > @@ -1518,21 +1518,6 @@ iomap_do_writepage(struct page *page, struct writeback_control *wbc, void *data) > return 0; > } > > -int > -iomap_writepage(struct page *page, struct writeback_control *wbc, > - struct iomap_writepage_ctx *wpc, > - const struct iomap_writeback_ops *ops) > -{ > - int ret; > - > - wpc->ops = ops; > - ret = iomap_do_writepage(page, wbc, wpc); > - if (!wpc->ioend) > - return ret; > - return iomap_submit_ioend(wpc, wpc->ioend, ret); > -} > -EXPORT_SYMBOL_GPL(iomap_writepage); > - > int > iomap_writepages(struct address_space *mapping, struct writeback_control *wbc, > struct iomap_writepage_ctx *wpc, > diff --git a/include/linux/iomap.h b/include/linux/iomap.h > index e552097c67e0b..911888560d3eb 100644 > --- a/include/linux/iomap.h > +++ b/include/linux/iomap.h > @@ -303,9 +303,6 @@ void iomap_finish_ioends(struct iomap_ioend *ioend, int error); > void iomap_ioend_try_merge(struct iomap_ioend *ioend, > struct list_head *more_ioends); > void iomap_sort_ioends(struct list_head *ioend_list); > -int iomap_writepage(struct page *page, struct writeback_control *wbc, > - struct iomap_writepage_ctx *wpc, > - const struct iomap_writeback_ops *ops); > int iomap_writepages(struct address_space *mapping, > struct writeback_control *wbc, struct iomap_writepage_ctx *wpc, > const struct iomap_writeback_ops *ops); Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research