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 0AD8DC433EF for ; Mon, 27 Dec 2021 17:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229736AbhL0RT7 (ORCPT ); Mon, 27 Dec 2021 12:19:59 -0500 Received: from mga04.intel.com ([192.55.52.120]:9874 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhL0RT6 (ORCPT ); Mon, 27 Dec 2021 12:19:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1640625598; x=1672161598; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HGrUp3wJgJu8GbXl17s3CzPoGZmLvMjysUYz4XudtJ8=; b=TQWEYqe+FbQzegfE66CoDbjMJGafGH9Kv7R0QXOXgtfeiABXK6+4lGsS XwKQzEFIl6nSu/22c3+brdTKNh66HNdLW9m2JignH9x94mBJrc24ypZLq Lu5UUc5qtTgdoQTvu2HFvWHNZE1Awrpc/vSTGH83umkKCGcuV+Y0ueds9 3TkUBO4GDgMOeXjW0PvuQ9n+iiOCrnsLhYsMG4aSAJ1SIBhz6poKmSlWe ZvKk3WrFm6u29yfPG8gPAKxu5HotrRAYj5ds0fqUBae9UVIkn0Hh20cHS J/YCZ2ZtGgqUsqEXZoI7PWCKnOam09btC5ZsDVn56vZkjAUMaQcywzUCw g==; X-IronPort-AV: E=McAfee;i="6200,9189,10210"; a="240023791" X-IronPort-AV: E=Sophos;i="5.88,240,1635231600"; d="scan'208";a="240023791" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2021 09:18:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,240,1635231600"; d="scan'208";a="686343731" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Dec 2021 09:18:31 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n1tdm-0006dR-Np; Mon, 27 Dec 2021 17:18:30 +0000 Date: Tue, 28 Dec 2021 01:17:42 +0800 From: kernel test robot To: Jeffle Xu , dhowells@redhat.com, linux-cachefs@redhat.com, xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org Cc: kbuild-all@lists.01.org, linux-fsdevel@vger.kernel.org, joseph.qi@linux.alibaba.com, bo.liu@linux.alibaba.com, tao.peng@linux.alibaba.com, gerry@linux.alibaba.com Subject: Re: [PATCH v1 12/23] erofs: implement fscache-based metadata read Message-ID: <202112280132.0kJ8Vjql-lkp@intel.com> References: <20211227125444.21187-13-jefflexu@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211227125444.21187-13-jefflexu@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi Jeffle, Thank you for the patch! Yet something to improve: [auto build test ERROR on dhowells-fs/fscache-next] [cannot apply to xiang-erofs/dev-test ceph-client/for-linus linus/master v5.16-rc7 next-20211224] [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/0day-ci/linux/commits/Jeffle-Xu/fscache-erofs-fscache-based-demand-read-semantics/20211227-205742 base: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-next config: x86_64-randconfig-a014-20211227 (https://download.01.org/0day-ci/archive/20211228/202112280132.0kJ8Vjql-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/c3453b91df3b4e89c3336453437f761d6cb6bca3 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jeffle-Xu/fscache-erofs-fscache-based-demand-read-semantics/20211227-205742 git checkout c3453b91df3b4e89c3336453437f761d6cb6bca3 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): vmlinux.o: warning: objtool: do_machine_check()+0x89f: call to queue_task_work() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode()+0x4e: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x59: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x4e: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x4e: call to on_thread_stack() leaves .noinstr.text section ld: fs/erofs/fscache.o: in function `erofs_issue_op': fs/erofs/fscache.c:27: undefined reference to `netfs_subreq_terminated' ld: fs/erofs/fscache.o: in function `erofs_readpage_from_fscache': >> fs/erofs/fscache.c:59: undefined reference to `netfs_readpage' vim +59 fs/erofs/fscache.c 35 36 struct page *erofs_readpage_from_fscache(struct erofs_cookie_ctx *ctx, 37 pgoff_t index) 38 { 39 struct folio *folio; 40 struct page *page; 41 struct super_block *sb = ctx->inode->i_sb; 42 int ret; 43 44 page = find_or_create_page(ctx->inode->i_mapping, index, GFP_KERNEL); 45 if (unlikely(!page)) { 46 erofs_err(sb, "failed to allocate page"); 47 return ERR_PTR(-ENOMEM); 48 } 49 50 /* The content is already buffered in the address space */ 51 if (PageUptodate(page)) { 52 unlock_page(page); 53 return page; 54 } 55 56 /* Or a new page cache is created, then read the content from fscache */ 57 folio = page_folio(page); 58 > 59 ret = netfs_readpage(NULL, folio, &erofs_req_ops, ctx->cookie); 60 if (unlikely(ret || !PageUptodate(page))) { 61 erofs_err(sb, "failed to read from fscache"); 62 return ERR_PTR(-EINVAL); 63 } 64 65 return page; 66 } 67 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org 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.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 9553EC433F5 for ; Mon, 27 Dec 2021 17:21:16 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4JN4Fk58frz2ywg for ; Tue, 28 Dec 2021 04:21:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=YhPqARdv; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=lkp@intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=YhPqARdv; dkim-atps=neutral Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4JN4Fb2qyKz2ybH for ; Tue, 28 Dec 2021 04:21:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1640625667; x=1672161667; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HGrUp3wJgJu8GbXl17s3CzPoGZmLvMjysUYz4XudtJ8=; b=YhPqARdviozGN7IOyqzpteRqDyZbEqPZQ+HGqAjBmQ4W6i+TRnCLxOBs h+E8t42rEqZdVSShB8F8QN1wr8G+50s2INpY706c58diCsS5iMpj4PSqK eBQb5MV7EztJ6uQFLxAoe3ljlr+p7AgP40Q2HlubbHQ7GyOnsN+8QCrYX /LXKHAwwTTpe5pobQwcc/vk50I+beu8UUp3U+gvep3X96Alow1pdqTKWe 2KGq6t0XMbjxNWtD3+EEKlg2NZzRxMdUHN0XzIhP2W0S3k3TUGBQ+cnir V0jAOpAsFQblsMo5bfYOBLFL+viBXgfPhCXoZ1Hr86kP69oMW2yIRzNu2 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10210"; a="221241907" X-IronPort-AV: E=Sophos;i="5.88,240,1635231600"; d="scan'208";a="221241907" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2021 09:18:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,240,1635231600"; d="scan'208";a="686343731" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Dec 2021 09:18:31 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n1tdm-0006dR-Np; Mon, 27 Dec 2021 17:18:30 +0000 Date: Tue, 28 Dec 2021 01:17:42 +0800 From: kernel test robot To: Jeffle Xu , dhowells@redhat.com, linux-cachefs@redhat.com, xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org Subject: Re: [PATCH v1 12/23] erofs: implement fscache-based metadata read Message-ID: <202112280132.0kJ8Vjql-lkp@intel.com> References: <20211227125444.21187-13-jefflexu@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211227125444.21187-13-jefflexu@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kbuild-all@lists.01.org, tao.peng@linux.alibaba.com, joseph.qi@linux.alibaba.com, bo.liu@linux.alibaba.com, linux-fsdevel@vger.kernel.org, gerry@linux.alibaba.com Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" Hi Jeffle, Thank you for the patch! Yet something to improve: [auto build test ERROR on dhowells-fs/fscache-next] [cannot apply to xiang-erofs/dev-test ceph-client/for-linus linus/master v5.16-rc7 next-20211224] [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/0day-ci/linux/commits/Jeffle-Xu/fscache-erofs-fscache-based-demand-read-semantics/20211227-205742 base: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-next config: x86_64-randconfig-a014-20211227 (https://download.01.org/0day-ci/archive/20211228/202112280132.0kJ8Vjql-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/c3453b91df3b4e89c3336453437f761d6cb6bca3 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jeffle-Xu/fscache-erofs-fscache-based-demand-read-semantics/20211227-205742 git checkout c3453b91df3b4e89c3336453437f761d6cb6bca3 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): vmlinux.o: warning: objtool: do_machine_check()+0x89f: call to queue_task_work() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode()+0x4e: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x59: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x4e: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x4e: call to on_thread_stack() leaves .noinstr.text section ld: fs/erofs/fscache.o: in function `erofs_issue_op': fs/erofs/fscache.c:27: undefined reference to `netfs_subreq_terminated' ld: fs/erofs/fscache.o: in function `erofs_readpage_from_fscache': >> fs/erofs/fscache.c:59: undefined reference to `netfs_readpage' vim +59 fs/erofs/fscache.c 35 36 struct page *erofs_readpage_from_fscache(struct erofs_cookie_ctx *ctx, 37 pgoff_t index) 38 { 39 struct folio *folio; 40 struct page *page; 41 struct super_block *sb = ctx->inode->i_sb; 42 int ret; 43 44 page = find_or_create_page(ctx->inode->i_mapping, index, GFP_KERNEL); 45 if (unlikely(!page)) { 46 erofs_err(sb, "failed to allocate page"); 47 return ERR_PTR(-ENOMEM); 48 } 49 50 /* The content is already buffered in the address space */ 51 if (PageUptodate(page)) { 52 unlock_page(page); 53 return page; 54 } 55 56 /* Or a new page cache is created, then read the content from fscache */ 57 folio = page_folio(page); 58 > 59 ret = netfs_readpage(NULL, folio, &erofs_req_ops, ctx->cookie); 60 if (unlikely(ret || !PageUptodate(page))) { 61 erofs_err(sb, "failed to read from fscache"); 62 return ERR_PTR(-EINVAL); 63 } 64 65 return page; 66 } 67 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1778826021584272504==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v1 12/23] erofs: implement fscache-based metadata read Date: Tue, 28 Dec 2021 01:17:42 +0800 Message-ID: <202112280132.0kJ8Vjql-lkp@intel.com> In-Reply-To: <20211227125444.21187-13-jefflexu@linux.alibaba.com> List-Id: --===============1778826021584272504== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Jeffle, Thank you for the patch! Yet something to improve: [auto build test ERROR on dhowells-fs/fscache-next] [cannot apply to xiang-erofs/dev-test ceph-client/for-linus linus/master v5= .16-rc7 next-20211224] [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/0day-ci/linux/commits/Jeffle-Xu/fscache-erofs-fs= cache-based-demand-read-semantics/20211227-205742 base: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.g= it fscache-next config: x86_64-randconfig-a014-20211227 (https://download.01.org/0day-ci/ar= chive/20211228/202112280132.0kJ8Vjql-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/c3453b91df3b4e89c33364534= 37f761d6cb6bca3 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jeffle-Xu/fscache-erofs-fscache-ba= sed-demand-read-semantics/20211227-205742 git checkout c3453b91df3b4e89c3336453437f761d6cb6bca3 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): vmlinux.o: warning: objtool: do_machine_check()+0x89f: call to queue_tas= k_work() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode()+0x4e: call to on_thr= ead_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x59: call t= o on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x4e= : call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x4e: call = to on_thread_stack() leaves .noinstr.text section ld: fs/erofs/fscache.o: in function `erofs_issue_op': fs/erofs/fscache.c:27: undefined reference to `netfs_subreq_terminated' ld: fs/erofs/fscache.o: in function `erofs_readpage_from_fscache': >> fs/erofs/fscache.c:59: undefined reference to `netfs_readpage' vim +59 fs/erofs/fscache.c 35 = 36 struct page *erofs_readpage_from_fscache(struct erofs_cookie_ctx *ct= x, 37 pgoff_t index) 38 { 39 struct folio *folio; 40 struct page *page; 41 struct super_block *sb =3D ctx->inode->i_sb; 42 int ret; 43 = 44 page =3D find_or_create_page(ctx->inode->i_mapping, index, GFP_KERN= EL); 45 if (unlikely(!page)) { 46 erofs_err(sb, "failed to allocate page"); 47 return ERR_PTR(-ENOMEM); 48 } 49 = 50 /* The content is already buffered in the address space */ 51 if (PageUptodate(page)) { 52 unlock_page(page); 53 return page; 54 } 55 = 56 /* Or a new page cache is created, then read the content from fscac= he */ 57 folio =3D page_folio(page); 58 = > 59 ret =3D netfs_readpage(NULL, folio, &erofs_req_ops, ctx->cookie); 60 if (unlikely(ret || !PageUptodate(page))) { 61 erofs_err(sb, "failed to read from fscache"); 62 return ERR_PTR(-EINVAL); 63 } 64 = 65 return page; 66 } 67 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1778826021584272504==--