From mboxrd@z Thu Jan 1 00:00:00 1970 From: kernel test robot Date: Tue, 7 Jun 2022 11:37:45 +0800 Subject: [Cluster-devel] [PATCH 04/20] mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio() In-Reply-To: <20220606204050.2625949-5-willy@infradead.org> References: <20220606204050.2625949-5-willy@infradead.org> Message-ID: <202206071139.aWSx4GHH-lkp@intel.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi "Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: i386-defconfig (https://download.01.org/0day-ci/archive/20220607/202206071139.aWSx4GHH-lkp at intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/96e64ba8b1be545885d89f44b1d8b968b22bdb4d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout 96e64ba8b1be545885d89f44b1d8b968b22bdb4d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/migrate.c:775: warning: expecting prototype for buffer_migrate_folio_noref(). Prototype was for buffer_migrate_folio_norefs() instead vim +775 mm/migrate.c 89cb0888ca1483a Jan Kara 2018-12-28 758 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 759) /** 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 760) * buffer_migrate_folio_noref() - Migration function for folios with buffers. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 761) * @mapping: The address space containing @src. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 762) * @dst: The folio to migrate to. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 763) * @src: The folio to migrate from. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 764) * @mode: How to migrate the folio. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 765) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 766) * Like buffer_migrate_folio() except that this variant is more careful 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 767) * and checks that there are also no buffer head references. This function 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 768) * is the right one for mappings where buffer heads are directly looked 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 769) * up and referenced (such as block device mappings). 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 770) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 771) * Return: 0 on success or a negative errno on failure. 89cb0888ca1483a Jan Kara 2018-12-28 772 */ 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 773) int buffer_migrate_folio_norefs(struct address_space *mapping, 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 774) struct folio *dst, struct folio *src, enum migrate_mode mode) 89cb0888ca1483a Jan Kara 2018-12-28 @775 { 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 776) return __buffer_migrate_folio(mapping, dst, src, mode, true); 89cb0888ca1483a Jan Kara 2018-12-28 777 } 9361401eb7619c0 David Howells 2006-09-30 778 #endif 1d8b85ccf1ed53a Christoph Lameter 2006-06-23 779 -- 0-DAY CI Kernel Test Service https://01.org/lkp 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 B8592C433EF for ; Tue, 7 Jun 2022 03:39:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236261AbiFGDix (ORCPT ); Mon, 6 Jun 2022 23:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236186AbiFGDit (ORCPT ); Mon, 6 Jun 2022 23:38:49 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5B88387BA; Mon, 6 Jun 2022 20:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654573128; x=1686109128; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=w4xeyqU+kOhDYzyqy82v69OYCHkAH6xk8Nd95qrz48A=; b=cI2CtkAJJHCwTU24iLHMl95jI+TLyqQ/r3CzxiuMBsum3Zv2lOijhywx 7DQxnW0svepR7cp/Rauiczc3JEk/wEP7uw+iZJv1Ee5IL74PR6EiMkyxq D7kbQjvry7tdZe4f42EZ/drgMjgpCADrgfxO3h3i3qQ1FeSLQWIkDJQYB kieFIk5f/kvR16vOGkqCCcMAg/9btpMI1Y088XhRrhM/chcTLjbk9KAPd Ho5/plGjKvI5ADJA8DLH/y62CuUwY1ISoqsWmZM36GUBflL+xLtTSWE3x /dgtopIsWdfkoEzeAqYkJ9xLs+k8sMlFV0uH6o0ehNoz6lj9zRqRFrxQB w==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="275480643" X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="275480643" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 20:38:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="579430786" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 06 Jun 2022 20:38:40 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyQ3D-000DJf-KE; Tue, 07 Jun 2022 03:38:39 +0000 Date: Tue, 7 Jun 2022 11:37:45 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Cc: kbuild-all@lists.01.org, "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, ocfs2-devel@oss.oracle.com, linux-mtd@lists.infradead.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 04/20] mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio() Message-ID: <202206071139.aWSx4GHH-lkp@intel.com> References: <20220606204050.2625949-5-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606204050.2625949-5-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi "Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: i386-defconfig (https://download.01.org/0day-ci/archive/20220607/202206071139.aWSx4GHH-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/96e64ba8b1be545885d89f44b1d8b968b22bdb4d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout 96e64ba8b1be545885d89f44b1d8b968b22bdb4d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/migrate.c:775: warning: expecting prototype for buffer_migrate_folio_noref(). Prototype was for buffer_migrate_folio_norefs() instead vim +775 mm/migrate.c 89cb0888ca1483a Jan Kara 2018-12-28 758 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 759) /** 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 760) * buffer_migrate_folio_noref() - Migration function for folios with buffers. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 761) * @mapping: The address space containing @src. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 762) * @dst: The folio to migrate to. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 763) * @src: The folio to migrate from. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 764) * @mode: How to migrate the folio. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 765) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 766) * Like buffer_migrate_folio() except that this variant is more careful 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 767) * and checks that there are also no buffer head references. This function 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 768) * is the right one for mappings where buffer heads are directly looked 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 769) * up and referenced (such as block device mappings). 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 770) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 771) * Return: 0 on success or a negative errno on failure. 89cb0888ca1483a Jan Kara 2018-12-28 772 */ 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 773) int buffer_migrate_folio_norefs(struct address_space *mapping, 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 774) struct folio *dst, struct folio *src, enum migrate_mode mode) 89cb0888ca1483a Jan Kara 2018-12-28 @775 { 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 776) return __buffer_migrate_folio(mapping, dst, src, mode, true); 89cb0888ca1483a Jan Kara 2018-12-28 777 } 9361401eb7619c0 David Howells 2006-09-30 778 #endif 1d8b85ccf1ed53a Christoph Lameter 2006-06-23 779 -- 0-DAY CI Kernel Test Service https://01.org/lkp 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3EECC43334 for ; Tue, 7 Jun 2022 03:39:17 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nyQ3p-0005kJ-85; Tue, 07 Jun 2022 03:39:16 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nyQ3n-0005k8-1r; Tue, 07 Jun 2022 03:39:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; 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:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=l5EOVhAu9/ENgZKm7TlPb12LyKLy0Q2+72LznQudnj0=; b=HUCGZzH/zOTHG8YjRu5grrbefX C8GxnCIN7LjxpQkrv4m/2qwv65HExIuNkrt1d7NRxjB07KonbCnh338PVt8I74YC3+5nORmQdtsXt Q8zGr51Lbkc7+Z5Iz0V9mcp84ap9YKG2UMljpq4ChgE6zX8DaXBan3yzhX/9pr2XdwSQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; 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:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=l5EOVhAu9/ENgZKm7TlPb12LyKLy0Q2+72LznQudnj0=; b=SwVFlOrEy9Vaz2reIFjy7PKpFG InBbsIy/nY08Q6fmz470mPF2q0Oa0biokH+9H9JnsHHCV5zhhfxHqvFI7j7SXcpdJ5DcxkeSqrVZa UdQ2rqmZntdR/HWyVG/lh0/bctnZAjCJm3Nkx+Jr3b5h9DZNIDz+B3n+dCgowY7vTle0=; Received: from mga09.intel.com ([134.134.136.24]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.94.2) id 1nyQ3i-007fds-2p; Tue, 07 Jun 2022 03:39:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654573150; x=1686109150; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=w4xeyqU+kOhDYzyqy82v69OYCHkAH6xk8Nd95qrz48A=; b=RiVvhF+nHo1eWkLBHPnFFxKKcJEQHdVMpfPPBOeRK0DZKJIdcfxu99tR 63jrq7Gl6tJPZFTAKBQpIfB6tpFnsoyBJpnFIaBA7eec9HVUvf7aMAiCr uFKOYLhskR0xxzjZ7X4wK35OOMqywUT0HbbESDsR3X5+B6rXTgST+70Qz TkGkRAFImuZe+KdwlGlEjvbsx1h0M64QeZNaX0c1Qtt172Fpq+/3inTGk wA1AGbgQz9Y/woV47h8/dUWJLU1VhNsibXitTFXffWaT8QwNxMlFkRAH6 ytw4e821C5HrFtEDbhwI81T35uEZI//JGY8KZ4FiUWqZn+aMHa5G+zLzR w==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="276987811" X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="276987811" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 20:38:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="579430786" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 06 Jun 2022 20:38:40 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyQ3D-000DJf-KE; Tue, 07 Jun 2022 03:38:39 +0000 Date: Tue, 7 Jun 2022 11:37:45 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Message-ID: <202206071139.aWSx4GHH-lkp@intel.com> References: <20220606204050.2625949-5-willy@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220606204050.2625949-5-willy@infradead.org> X-Headers-End: 1nyQ3i-007fds-2p Subject: Re: [f2fs-dev] [PATCH 04/20] mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-aio@kvack.org, linux-nfs@vger.kernel.org, cluster-devel@redhat.com, kbuild-all@lists.01.org, linux-ntfs-dev@lists.sourceforge.net, linux-kernel@vger.kernel.org, "Matthew Wilcox \(Oracle\)" , linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-mm@kvack.org, linux-mtd@lists.infradead.org, ocfs2-devel@oss.oracle.com, linux-ext4@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-xfs@vger.kernel.org, linux-btrfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hi "Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: i386-defconfig (https://download.01.org/0day-ci/archive/20220607/202206071139.aWSx4GHH-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/96e64ba8b1be545885d89f44b1d8b968b22bdb4d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout 96e64ba8b1be545885d89f44b1d8b968b22bdb4d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/migrate.c:775: warning: expecting prototype for buffer_migrate_folio_noref(). Prototype was for buffer_migrate_folio_norefs() instead vim +775 mm/migrate.c 89cb0888ca1483a Jan Kara 2018-12-28 758 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 759) /** 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 760) * buffer_migrate_folio_noref() - Migration function for folios with buffers. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 761) * @mapping: The address space containing @src. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 762) * @dst: The folio to migrate to. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 763) * @src: The folio to migrate from. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 764) * @mode: How to migrate the folio. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 765) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 766) * Like buffer_migrate_folio() except that this variant is more careful 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 767) * and checks that there are also no buffer head references. This function 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 768) * is the right one for mappings where buffer heads are directly looked 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 769) * up and referenced (such as block device mappings). 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 770) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 771) * Return: 0 on success or a negative errno on failure. 89cb0888ca1483a Jan Kara 2018-12-28 772 */ 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 773) int buffer_migrate_folio_norefs(struct address_space *mapping, 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 774) struct folio *dst, struct folio *src, enum migrate_mode mode) 89cb0888ca1483a Jan Kara 2018-12-28 @775 { 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 776) return __buffer_migrate_folio(mapping, dst, src, mode, true); 89cb0888ca1483a Jan Kara 2018-12-28 777 } 9361401eb7619c0 David Howells 2006-09-30 778 #endif 1d8b85ccf1ed53a Christoph Lameter 2006-06-23 779 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8290FCCA473 for ; Tue, 7 Jun 2022 03:39:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Zikl2lhwk8WZaNqXlJAO76Qe4+0qKOj3x7nPdNDnxuM=; b=qzhyKKdhZ/03XV 0U0koThMidf4bO8Rc3L4Ttz9vjWSHfcspytkR/p13wzQLz2zdjRckVnnrCRVAs7uLYM8HjbKLuxiG fGphRobOVuXmQat79nsXHhN2MsaI2MyoyMUIixXIytm4OY35+iS0KxnhZCZoqB9XIIv4GWFCsw4Hc NQBei1C96p23pu+kLziXCwyplaFK6CdmMKBOG3DEzt0hoiqMKuG5KclPlehkNTxukU7BITC1d7BbV OkYkZUSph1B7GW5EIg6CB1SOZ+uZSU92SC2V+GbZ4Bw8gWCz2GOOzFEMTzBzqof1bfXAxM3xYIe++ uyv40biNq1zHS4bKyLGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyQ3Q-004V77-Pf; Tue, 07 Jun 2022 03:38:52 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyQ3N-004V4p-KO for linux-mtd@lists.infradead.org; Tue, 07 Jun 2022 03:38:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654573129; x=1686109129; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=w4xeyqU+kOhDYzyqy82v69OYCHkAH6xk8Nd95qrz48A=; b=lPAqA2NtxRsXo3gnCmDHYO9Yqkcf/ccsstu5cSYaMZZHEmbgAjmoZ/hq TdOkmXHQcF758Yop2HcLisWs+Ue2XBaJaHP5MiVe7rLY+RFFPIuMyjJ/f O9YM7Q7HiP8KyNR07furp+m7XsXRSBNoAfxYCnkCmv1/rIuoZhh+KEsPb NVhYV+cCFsP+gYa02Jj7Qcvkzv6h66g29R9PcZq6t8HSuSDEAGPYBCDHy ah1P7eyEh7vShg3JgF7hmRQhSKSGD222J5550ePuU9ZppjqXrNn9rr5SE NULw0jZguupJD0KvaDXv1PWFeuo/tyXgVoYu43G+N2+DL8z7QXruFGRUW w==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="256542173" X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="256542173" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 20:38:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="579430786" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 06 Jun 2022 20:38:40 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyQ3D-000DJf-KE; Tue, 07 Jun 2022 03:38:39 +0000 Date: Tue, 7 Jun 2022 11:37:45 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Cc: kbuild-all@lists.01.org, "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, ocfs2-devel@oss.oracle.com, linux-mtd@lists.infradead.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 04/20] mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio() Message-ID: <202206071139.aWSx4GHH-lkp@intel.com> References: <20220606204050.2625949-5-willy@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220606204050.2625949-5-willy@infradead.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220606_203849_758109_0595B836 X-CRM114-Status: GOOD ( 13.48 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org Hi "Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: i386-defconfig (https://download.01.org/0day-ci/archive/20220607/202206071139.aWSx4GHH-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/96e64ba8b1be545885d89f44b1d8b968b22bdb4d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout 96e64ba8b1be545885d89f44b1d8b968b22bdb4d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/migrate.c:775: warning: expecting prototype for buffer_migrate_folio_noref(). Prototype was for buffer_migrate_folio_norefs() instead vim +775 mm/migrate.c 89cb0888ca1483a Jan Kara 2018-12-28 758 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 759) /** 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 760) * buffer_migrate_folio_noref() - Migration function for folios with buffers. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 761) * @mapping: The address space containing @src. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 762) * @dst: The folio to migrate to. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 763) * @src: The folio to migrate from. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 764) * @mode: How to migrate the folio. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 765) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 766) * Like buffer_migrate_folio() except that this variant is more careful 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 767) * and checks that there are also no buffer head references. This function 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 768) * is the right one for mappings where buffer heads are directly looked 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 769) * up and referenced (such as block device mappings). 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 770) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 771) * Return: 0 on success or a negative errno on failure. 89cb0888ca1483a Jan Kara 2018-12-28 772 */ 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 773) int buffer_migrate_folio_norefs(struct address_space *mapping, 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 774) struct folio *dst, struct folio *src, enum migrate_mode mode) 89cb0888ca1483a Jan Kara 2018-12-28 @775 { 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 776) return __buffer_migrate_folio(mapping, dst, src, mode, true); 89cb0888ca1483a Jan Kara 2018-12-28 777 } 9361401eb7619c0 David Howells 2006-09-30 778 #endif 1d8b85ccf1ed53a Christoph Lameter 2006-06-23 779 -- 0-DAY CI Kernel Test Service https://01.org/lkp ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ 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 aib29ajc255.phx1.oracleemaildelivery.com (aib29ajc255.phx1.oracleemaildelivery.com [192.29.103.255]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D10D1C43334 for ; Tue, 7 Jun 2022 03:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=oss-phx-1109; d=oss.oracle.com; h=Date:To:From:Subject:Message-Id:MIME-Version:Sender; bh=F2eszGqbhFuF316fLhApJ8o/ICBVjCLrXiay2q7QFDg=; b=Yrp8aDxD5DAYkvvek6mUFHK33b6ZygvC+mrQTepOb5kC7W7rO78gQigArG2TN5faA1a+V38GhIEO llrvHhlMWuNY1THzPkN5ky9UXf/HGgrMqg9SEqjLfhYZt15MsvRkRYxlqtKfvrxfwaV8Oyq+abf/ +FkVs/SHC0omHaGCp3wQ0Jbhlyq7ZNfjcb5kvu7nY5esOiD5hFjlZWq7juwN/vgB/wkLQr29x6yg 7sIMfdkBxBfJe5BPQ7Rkr+iI9itFNjIXelUWZdhlXNu3NyVyGkGV2QlhV0duVle8I9Xx5aHVHtsB J5Plur9duYhtfhxuUnG/S8KYB4o+fDNSOU/u7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=prod-phx-20191217; d=phx1.rp.oracleemaildelivery.com; h=Date:To:From:Subject:Message-Id:MIME-Version:Sender; bh=F2eszGqbhFuF316fLhApJ8o/ICBVjCLrXiay2q7QFDg=; b=bnid+QqpL/d7rY/zNvufbIQiXFJqA75cODpSNeYQZ34CK3/BIjldG+5RY+6wPceQ5KjHvwybtafg ytbzo96UDaSw9mXJxhxNoHOu5K+M8mUO+DWGMUxFYV8s1YniQSKF3N13GHKhC1QfOPP3OuA//dt/ dhlnorN7WlFEMJapew8u2dxGGsPZLKSs2lV3qqCifEr+ghuwat02pLriQfBhdmmMN1fdvKUvVpok d0eljaQ1RS2qo58J0iZZhw+BFwduJwbDm04uRXcvW2fgHPxqsgO35fotxZGMLaHZ3QJxxuAgZ0Pj eoEfae4jPCvytfv3D4pMFspDB8osmGunE7IEGw== Received: by omta-ad3-fd3-302-us-phoenix-1.omtaad3.vcndpphx.oraclevcn.com (Oracle Communications Messaging Server 8.1.0.1.20220517 64bit (built May 17 2022)) with ESMTPS id <0RD300CB08VRLS80@omta-ad3-fd3-302-us-phoenix-1.omtaad3.vcndpphx.oraclevcn.com> for ocfs2-devel@archiver.kernel.org; Tue, 07 Jun 2022 03:40:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654573126; x=1686109126; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=w4xeyqU+kOhDYzyqy82v69OYCHkAH6xk8Nd95qrz48A=; b=K5lEoRQ3cuBWGV3w88wuE4bcE2ZXqSFooSbHIB5EMB7Z5I42eLHCNa6B 0pgWXkMMS/vU+V+vKV53le+LgeWHlNR4EQeDLCR3+OKg4sn2SKXoa0Yl0 z0RbB+RR4tUiD2i1/pYUGs+JWwHSY8scW1ReMjx6ZY5SGUgB/3naTVoHV zxl9u44kHTb9IfkaCirlofFW7IQo9VztXHL8f07E4nnhyVk9RWDtlr1dL Vpkx6bbrBbLQR+vLN6gLt8VnzTqG6krhkQ3Axz97g+tCa2OXeKRHEwKAF 4B0diwN2iQztWG95f+/Fj94O+d1O4KXnrbljg8UXsnkPkDo4XUxcCC38x Q==; Date: Tue, 7 Jun 2022 11:37:45 +0800 To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Message-id: <202206071139.aWSx4GHH-lkp@intel.com> References: <20220606204050.2625949-5-willy@infradead.org> MIME-version: 1.0 Content-disposition: inline In-reply-to: <20220606204050.2625949-5-willy@infradead.org> X-Source-IP: 192.55.52.136 X-Proofpoint-Virus-Version: vendor=nai engine=6400 definitions=10370 signatures=594849 X-Proofpoint-Spam-Details: rule=tap_notspam policy=tap score=0 priorityscore=300 spamscore=0 bulkscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=919 adultscore=0 clxscore=223 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206070014 domainage_hfrom=13223 Cc: linux-aio@kvack.org, linux-nfs@vger.kernel.org, cluster-devel@redhat.com, kbuild-all@lists.01.org, linux-ntfs-dev@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-mm@kvack.org, linux-mtd@lists.infradead.org, ocfs2-devel@oss.oracle.com, linux-ext4@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-xfs@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [Ocfs2-devel] [PATCH 04/20] mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio() X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: kernel test robot via Ocfs2-devel Reply-to: kernel test robot Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: 7bit Errors-to: ocfs2-devel-bounces@oss.oracle.com X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="256542174" X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="256542174" X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="579430786" X-ServerName: mga12.intel.com X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 include:_spf.intel.com include:_spf.google.com -all X-Spam: Clean X-Proofpoint-GUID: HPzfT8NIfbiAi4OXj9puIwvgP_Si9Jqp X-Proofpoint-ORIG-GUID: HPzfT8NIfbiAi4OXj9puIwvgP_Si9Jqp Reporting-Meta: AAH+u7xKLtac1pTo1+4xRzF6SNc6kalEsIIs7hTUjsjiHZFWBAlmRgeQwF2bRoVR fx9HujYmOfULAzLERpB2qAa76W4vQ8NHf/ffpjFWqxAbtVIv5xQ/DpuNhS6NgSO4 CPSgkpKgeyWNcS6VVgm75UcILImUGNprsIVGR1C3YwNlR8Um7+A2uG7nx/4mjGAw Vqf/+40rV6BZmWcRqkjKypZdmcKnL3IC2nwMIdZOSR3SW4ysfNVJSa8mVwuj90vf 2GyiA9XuyfGoTCqI8yOmEzVhCbvak8UMZ8yQs6XyRvnZCo7VIGYPcaqTYDoaNGXL pbYcvNI07L4o1kRazOOpt8BtUt44YmRliWc2O8GGRPiG3xgsGPGldz0Xy8taeoMy TZ+9rvPUc9EGW7upxgKGzMxlRcgv/sl4gHNMxGftvsawjqx93rMqL1ntNpLY1jED 2NOGw2+Lqj3LUd4IscXlwRPW7RnTMowPBfdMNUnTrPIryqfMYDlq4XcjDbtITjsX SD9tQFnEWbijbyzDgK4VcPCga34EKIIhRs8hegrHpjY= Hi "Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: i386-defconfig (https://download.01.org/0day-ci/archive/20220607/202206071139.aWSx4GHH-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/96e64ba8b1be545885d89f44b1d8b968b22bdb4d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout 96e64ba8b1be545885d89f44b1d8b968b22bdb4d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/migrate.c:775: warning: expecting prototype for buffer_migrate_folio_noref(). Prototype was for buffer_migrate_folio_norefs() instead vim +775 mm/migrate.c 89cb0888ca1483a Jan Kara 2018-12-28 758 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 759) /** 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 760) * buffer_migrate_folio_noref() - Migration function for folios with buffers. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 761) * @mapping: The address space containing @src. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 762) * @dst: The folio to migrate to. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 763) * @src: The folio to migrate from. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 764) * @mode: How to migrate the folio. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 765) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 766) * Like buffer_migrate_folio() except that this variant is more careful 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 767) * and checks that there are also no buffer head references. This function 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 768) * is the right one for mappings where buffer heads are directly looked 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 769) * up and referenced (such as block device mappings). 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 770) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 771) * Return: 0 on success or a negative errno on failure. 89cb0888ca1483a Jan Kara 2018-12-28 772 */ 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 773) int buffer_migrate_folio_norefs(struct address_space *mapping, 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 774) struct folio *dst, struct folio *src, enum migrate_mode mode) 89cb0888ca1483a Jan Kara 2018-12-28 @775 { 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 776) return __buffer_migrate_folio(mapping, dst, src, mode, true); 89cb0888ca1483a Jan Kara 2018-12-28 777 } 9361401eb7619c0 David Howells 2006-09-30 778 #endif 1d8b85ccf1ed53a Christoph Lameter 2006-06-23 779 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ Ocfs2-devel mailing list Ocfs2-devel@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-devel 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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 604B9C433EF for ; Tue, 7 Jun 2022 03:38:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E5AA46058C; Tue, 7 Jun 2022 03:38:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EkvT5ldOFOwG; Tue, 7 Jun 2022 03:38:51 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 7A3E1605BA; Tue, 7 Jun 2022 03:38:50 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 51BB7C0032; Tue, 7 Jun 2022 03:38:50 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id C4E34C002D for ; Tue, 7 Jun 2022 03:38:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9F8D8415BF for ; Tue, 7 Jun 2022 03:38:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=intel.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rsHu5vKgmLHV for ; Tue, 7 Jun 2022 03:38:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by smtp4.osuosl.org (Postfix) with ESMTPS id 19DD840988 for ; Tue, 7 Jun 2022 03:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654573128; x=1686109128; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=w4xeyqU+kOhDYzyqy82v69OYCHkAH6xk8Nd95qrz48A=; b=cI2CtkAJJHCwTU24iLHMl95jI+TLyqQ/r3CzxiuMBsum3Zv2lOijhywx 7DQxnW0svepR7cp/Rauiczc3JEk/wEP7uw+iZJv1Ee5IL74PR6EiMkyxq D7kbQjvry7tdZe4f42EZ/drgMjgpCADrgfxO3h3i3qQ1FeSLQWIkDJQYB kieFIk5f/kvR16vOGkqCCcMAg/9btpMI1Y088XhRrhM/chcTLjbk9KAPd Ho5/plGjKvI5ADJA8DLH/y62CuUwY1ISoqsWmZM36GUBflL+xLtTSWE3x /dgtopIsWdfkoEzeAqYkJ9xLs+k8sMlFV0uH6o0ehNoz6lj9zRqRFrxQB w==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="363048581" X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="363048581" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 20:38:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,282,1647327600"; d="scan'208";a="579430786" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 06 Jun 2022 20:38:40 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyQ3D-000DJf-KE; Tue, 07 Jun 2022 03:38:39 +0000 Date: Tue, 7 Jun 2022 11:37:45 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 04/20] mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio() Message-ID: <202206071139.aWSx4GHH-lkp@intel.com> References: <20220606204050.2625949-5-willy@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220606204050.2625949-5-willy@infradead.org> Cc: linux-aio@kvack.org, linux-nfs@vger.kernel.org, cluster-devel@redhat.com, kbuild-all@lists.01.org, linux-ntfs-dev@lists.sourceforge.net, linux-kernel@vger.kernel.org, "Matthew Wilcox \(Oracle\)" , linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-mm@kvack.org, linux-mtd@lists.infradead.org, ocfs2-devel@oss.oracle.com, linux-ext4@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-xfs@vger.kernel.org, linux-btrfs@vger.kernel.org X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" Hi "Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to jaegeuk-f2fs/dev-test trondmy-nfs/linux-next kdave/for-next xfs-linux/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: i386-defconfig (https://download.01.org/0day-ci/archive/20220607/202206071139.aWSx4GHH-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/96e64ba8b1be545885d89f44b1d8b968b22bdb4d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/Convert-aops-migratepage-to-aops-migrate_folio/20220607-044509 git checkout 96e64ba8b1be545885d89f44b1d8b968b22bdb4d # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/migrate.c:775: warning: expecting prototype for buffer_migrate_folio_noref(). Prototype was for buffer_migrate_folio_norefs() instead vim +775 mm/migrate.c 89cb0888ca1483a Jan Kara 2018-12-28 758 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 759) /** 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 760) * buffer_migrate_folio_noref() - Migration function for folios with buffers. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 761) * @mapping: The address space containing @src. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 762) * @dst: The folio to migrate to. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 763) * @src: The folio to migrate from. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 764) * @mode: How to migrate the folio. 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 765) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 766) * Like buffer_migrate_folio() except that this variant is more careful 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 767) * and checks that there are also no buffer head references. This function 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 768) * is the right one for mappings where buffer heads are directly looked 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 769) * up and referenced (such as block device mappings). 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 770) * 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 771) * Return: 0 on success or a negative errno on failure. 89cb0888ca1483a Jan Kara 2018-12-28 772 */ 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 773) int buffer_migrate_folio_norefs(struct address_space *mapping, 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 774) struct folio *dst, struct folio *src, enum migrate_mode mode) 89cb0888ca1483a Jan Kara 2018-12-28 @775 { 96e64ba8b1be545 Matthew Wilcox (Oracle 2022-06-06 776) return __buffer_migrate_folio(mapping, dst, src, mode, true); 89cb0888ca1483a Jan Kara 2018-12-28 777 } 9361401eb7619c0 David Howells 2006-09-30 778 #endif 1d8b85ccf1ed53a Christoph Lameter 2006-06-23 779 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization