All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] ceph: add getvxattr op support
@ 2022-01-17  3:47 Milind Changire
  2022-01-17  3:47 ` [PATCH v2 1/1] ceph: add getvxattr op Milind Changire
  0 siblings, 1 reply; 5+ messages in thread
From: Milind Changire @ 2022-01-17  3:47 UTC (permalink / raw)
  To: Jeff Layton, Ilya Dryomov, ceph-devel; +Cc: Milind Changire

Adds support for the new getvxattr op to fetch ceph virtual xattrs.

Milind Changire (1):
  ceph: add getvxattr op

 fs/ceph/inode.c              | 51 ++++++++++++++++++++++++++++++++++++
 fs/ceph/mds_client.c         | 27 ++++++++++++++++++-
 fs/ceph/mds_client.h         | 12 ++++++++-
 fs/ceph/strings.c            |  1 +
 fs/ceph/super.h              |  1 +
 fs/ceph/xattr.c              | 33 +++++++++++++++++++++++
 include/linux/ceph/ceph_fs.h |  1 +
 7 files changed, 124 insertions(+), 2 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] ceph: add getvxattr op
@ 2022-01-17 13:58 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2022-01-17 13:58 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 5294 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20220117034747.22229-2-mchangir@redhat.com>
References: <20220117034747.22229-2-mchangir@redhat.com>
TO: Milind Changire <milindchangire@gmail.com>

Hi Milind,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on ceph-client/for-linus]
[also build test WARNING on v5.16 next-20220117]
[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/Milind-Changire/ceph-add-getvxattr-op-support/20220117-114947
base:   https://github.com/ceph/ceph-client.git for-linus
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: alpha-randconfig-c004-20220116 (https://download.01.org/0day-ci/archive/20220117/202201171930.DTzEiwER-lkp(a)intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/ed42f71060fc0c0c0c43a582f0bb817713836ddb
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Milind-Changire/ceph-add-getvxattr-op-support/20220117-114947
        git checkout ed42f71060fc0c0c0c43a582f0bb817713836ddb
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash fs/ceph/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from include/linux/kernel.h:20,
                    from include/linux/cpumask.h:10,
                    from include/linux/mm_types_task.h:14,
                    from include/linux/mm_types.h:5,
                    from include/linux/buildid.h:5,
                    from include/linux/module.h:14,
                    from fs/ceph/inode.c:4:
   fs/ceph/inode.c: In function 'ceph_do_getvxattr':
>> include/linux/kern_levels.h:5:25: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
       5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
         |                         ^~~~~~
   include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
     422 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
         |                         ^~~~
   include/linux/ceph/ceph_debug.h:26:25: note: in expansion of macro 'printk'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                         ^~~~~~
   include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG      KERN_SOH "7"    /* debug-level messages */
         |                         ^~~~~~~~
   include/linux/ceph/ceph_debug.h:26:32: note: in expansion of macro 'KERN_DEBUG'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                                ^~~~~~~~~~
   fs/ceph/inode.c:2326:9: note: in expansion of macro 'dout'
    2326 |         dout("do_getvxattr xattr_value_len:%u, size:%u\n", xattr_value_len, size);
         |         ^~~~
   include/linux/kern_levels.h:5:25: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
       5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
         |                         ^~~~~~
   include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
     422 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
         |                         ^~~~
   include/linux/ceph/ceph_debug.h:26:25: note: in expansion of macro 'printk'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                         ^~~~~~
   include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH'
      15 | #define KERN_DEBUG      KERN_SOH "7"    /* debug-level messages */
         |                         ^~~~~~~~
   include/linux/ceph/ceph_debug.h:26:32: note: in expansion of macro 'KERN_DEBUG'
      26 |                         printk(KERN_DEBUG fmt, ##__VA_ARGS__);  \
         |                                ^~~~~~~~~~
   fs/ceph/inode.c:2326:9: note: in expansion of macro 'dout'
    2326 |         dout("do_getvxattr xattr_value_len:%u, size:%u\n", xattr_value_len, size);
         |         ^~~~


vim +5 include/linux/kern_levels.h

314ba3520e513a Joe Perches 2012-07-30  4  
04d2c8c83d0e3a Joe Perches 2012-07-30 @5  #define KERN_SOH	"\001"		/* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30  6  #define KERN_SOH_ASCII	'\001'
04d2c8c83d0e3a Joe Perches 2012-07-30  7  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-17 13:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17  3:47 [PATCH v2 0/1] ceph: add getvxattr op support Milind Changire
2022-01-17  3:47 ` [PATCH v2 1/1] ceph: add getvxattr op Milind Changire
2022-01-17 13:58   ` kernel test robot
2022-01-17 13:58     ` kernel test robot
2022-01-17 13:58 kernel test robot

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.