All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Max Kellermann <max.kellermann@ionos.com>
Cc: oe-kbuild-all@lists.linux.dev, ceph-devel@vger.kernel.org,
	Alex Markuze <amarkuze@redhat.com>
Subject: [ceph-client:testing 25/27] fs/ceph/super.h:60:43: error: 'CEPH_MOUNT_OPT_NEARFULL_SYNC' undeclared; did you mean 'CEPH_MOUNT_OPT_DEFAULT'?
Date: Wed, 08 Jul 2026 20:17:26 +0800	[thread overview]
Message-ID: <202607082010.oE2EyFrA-lkp@intel.com> (raw)

tree:   https://github.com/ceph/ceph-client.git testing
head:   fc67edb66b3c9924c4e0bb366a92b32ea13c526a
commit: cb4ac0e6565fe667dba2760b6a012306e6f796e0 [25/27] ceph: fix hanging __ceph_get_caps() with stale `mds_wanted`
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260708/202607082010.oE2EyFrA-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260708/202607082010.oE2EyFrA-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607082010.oE2EyFrA-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/ceph/file.c:17:
   fs/ceph/file.c: In function 'ceph_write_iter':
>> fs/ceph/super.h:60:43: error: 'CEPH_MOUNT_OPT_NEARFULL_SYNC' undeclared (first use in this function); did you mean 'CEPH_MOUNT_OPT_DEFAULT'?
      60 |         (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
         |                                           ^~~~~~~~~~~~~~~
   fs/ceph/file.c:2573:21: note: in expansion of macro 'ceph_test_mount_opt'
    2573 |                 if (ceph_test_mount_opt(fsc, NEARFULL_SYNC) &&
         |                     ^~~~~~~~~~~~~~~~~~~
   fs/ceph/super.h:60:43: note: each undeclared identifier is reported only once for each function it appears in
   fs/ceph/file.c:2573:21: note: in expansion of macro 'ceph_test_mount_opt'
    2573 |                 if (ceph_test_mount_opt(fsc, NEARFULL_SYNC) &&
         |                     ^~~~~~~~~~~~~~~~~~~


vim +60 fs/ceph/super.h

6a2593823ababd Sage Weil      2010-07-07  49  
6f9718fe41c3a4 Luis Henriques 2018-12-10  50  #define CEPH_MOUNT_OPT_DEFAULT			\
6f9718fe41c3a4 Luis Henriques 2018-12-10  51  	(CEPH_MOUNT_OPT_DCACHE |		\
f7a67b463fb83a Jeff Layton    2021-08-09  52  	 CEPH_MOUNT_OPT_NOCOPYFROM |		\
f7a67b463fb83a Jeff Layton    2021-08-09  53  	 CEPH_MOUNT_OPT_ASYNC_DIROPS)
de57606c23afde Sage Weil      2009-10-06  54  
3d14c5d2b6e15c Yehuda Sadeh   2010-04-06  55  #define ceph_set_mount_opt(fsc, opt) \
2ccb45462aeaf0 Jeff Layton    2019-04-02  56  	(fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt
2ccb45462aeaf0 Jeff Layton    2019-04-02  57  #define ceph_clear_mount_opt(fsc, opt) \
2ccb45462aeaf0 Jeff Layton    2019-04-02  58  	(fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt
3d14c5d2b6e15c Yehuda Sadeh   2010-04-06  59  #define ceph_test_mount_opt(fsc, opt) \
3d14c5d2b6e15c Yehuda Sadeh   2010-04-06 @60  	(!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
de57606c23afde Sage Weil      2009-10-06  61  

:::::: The code at line 60 was first introduced by commit
:::::: 3d14c5d2b6e15c21d8e5467dc62d33127c23a644 ceph: factor out libceph from Ceph file system

:::::: TO: Yehuda Sadeh <yehuda@hq.newdream.net>
:::::: CC: Sage Weil <sage@newdream.net>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-07-08 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08 12:17 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-08  0:52 [ceph-client:testing 25/27] fs/ceph/super.h:60:43: error: 'CEPH_MOUNT_OPT_NEARFULL_SYNC' undeclared; did you mean 'CEPH_MOUNT_OPT_DEFAULT'? kernel test robot

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=202607082010.oE2EyFrA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=amarkuze@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=max.kellermann@ionos.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.