From: kernel test robot <lkp@intel.com>
To: Dave Wysochanski <dwysocha@redhat.com>,
Anna Schumaker <anna.schumaker@netapp.com>,
Trond Myklebust <trond.myklebust@hammerspace.com>,
David Howells <dhowells@redhat.com>
Cc: kbuild-all@lists.01.org, linux-nfs@vger.kernel.org,
linux-cachefs@redhat.com,
Benjamin Maynard <benmaynard@google.com>,
Daire Byrne <daire.byrne@gmail.com>
Subject: Re: [PATCH v3 3/3] NFS: Convert buffered read paths to use netfs when fscache is enabled
Date: Wed, 31 Aug 2022 10:35:38 +0800 [thread overview]
Message-ID: <202208311054.eXBCcm1y-lkp@intel.com> (raw)
In-Reply-To: <20220831005053.1287363-4-dwysocha@redhat.com>
Hi Dave,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v6.0-rc3]
[also build test WARNING on linus/master next-20220830]
[cannot apply to trondmy-nfs/linux-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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Dave-Wysochanski/Convert-NFS-with-fscache-to-the-netfs-API/20220831-085217
base: b90cb1053190353cc30f0fef0ef1f378ccc063c5
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220831/202208311054.eXBCcm1y-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/5ac59d0573d1008c9d8856a91e4b4fd2ee61bb63
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Dave-Wysochanski/Convert-NFS-with-fscache-to-the-netfs-API/20220831-085217
git checkout 5ac59d0573d1008c9d8856a91e4b4fd2ee61bb63
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash fs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
fs/nfs/fscache.c: In function 'nfs_netfs_read_initiate':
>> fs/nfs/fscache.c:331:42: warning: variable 'sreq' set but not used [-Wunused-but-set-variable]
331 | struct netfs_io_subrequest *sreq;
| ^~~~
fs/nfs/fscache.c: In function 'nfs_netfs_read_done':
fs/nfs/fscache.c:346:42: warning: variable 'sreq' set but not used [-Wunused-but-set-variable]
346 | struct netfs_io_subrequest *sreq;
| ^~~~
vim +/sreq +331 fs/nfs/fscache.c
327
328 void nfs_netfs_read_initiate(struct nfs_pgio_header *hdr)
329 {
330 struct nfs_netfs_io_data *netfs = hdr->netfs;
> 331 struct netfs_io_subrequest *sreq;
332
333 if (!netfs)
334 return;
335
336 sreq = netfs->sreq;
337 spin_lock(&netfs->lock);
338 atomic_inc(&netfs->rpcs);
339 netfs->rpc_byte_count += hdr->args.count;
340 spin_unlock(&netfs->lock);
341 }
342
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-08-31 2:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-31 0:50 [PATCH v3 0/3] Convert NFS with fscache to the netfs API Dave Wysochanski
2022-08-31 0:50 ` [PATCH v3 1/3] NFS: Rename readpage_async_filler to nfs_pageio_add_page Dave Wysochanski
2022-08-31 16:31 ` Jeff Layton
2022-08-31 0:50 ` [PATCH v3 2/3] NFS: Configure support for netfs when NFS fscache is configured Dave Wysochanski
2022-08-31 16:43 ` Jeff Layton
2022-08-31 0:50 ` [PATCH v3 3/3] NFS: Convert buffered read paths to use netfs when fscache is enabled Dave Wysochanski
2022-08-31 2:35 ` kernel test robot [this message]
2022-08-31 18:21 ` Jeff Layton
2022-08-31 18:58 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202208311054.eXBCcm1y-lkp@intel.com \
--to=lkp@intel.com \
--cc=anna.schumaker@netapp.com \
--cc=benmaynard@google.com \
--cc=daire.byrne@gmail.com \
--cc=dhowells@redhat.com \
--cc=dwysocha@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-cachefs@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@hammerspace.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox