tree:
https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
for-next.radical6m
head: ade69cc95ecf986b020e19bb73214d45eeda8fd1
commit: a03d1603414614e331382c8cd2117764bca83a4d [4/27] gfs2: fast dealloc for exhash
directories
config: parisc-randconfig-r006-20210318 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commi...
git remote add gfs2
https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
git fetch --no-tags gfs2 for-next.radical6m
git checkout a03d1603414614e331382c8cd2117764bca83a4d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
fs/gfs2/dir.c:782: warning: Function parameter or member 'index' not described
in 'get_leaf_nr'
fs/gfs2/dir.c:908: warning: Function parameter or member 'inode' not described
in 'dir_make_exhash'
fs/gfs2/dir.c:908: warning: Excess function parameter 'dip' description in
'dir_make_exhash'
fs/gfs2/dir.c:1003: warning: Function parameter or member 'inode' not described
in 'dir_split_leaf'
fs/gfs2/dir.c:1003: warning: Function parameter or member 'name' not described
in 'dir_split_leaf'
fs/gfs2/dir.c:1003: warning: Excess function parameter 'dip' description in
'dir_split_leaf'
fs/gfs2/dir.c:1003: warning: Excess function parameter 'leaf_no' description in
'dir_split_leaf'
fs/gfs2/dir.c:1269: warning: Function parameter or member 'sort_start' not
described in 'do_filldir_main'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'inode' not described
in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'hsize' not described
in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'index' not described
in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'f_ra' not described
in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1529: warning: Function parameter or member 'inode' not described
in 'dir_e_read'
fs/gfs2/dir.c:1529: warning: Function parameter or member 'f_ra' not described
in 'dir_e_read'
fs/gfs2/dir.c:1529: warning: Excess function parameter 'dip' description in
'dir_e_read'
fs/gfs2/dir.c:1643: warning: Function parameter or member 'dir' not described
in 'gfs2_dir_search'
fs/gfs2/dir.c:1643: warning: Excess function parameter 'dip' description in
'gfs2_dir_search'
fs/gfs2/dir.c:1879: warning: Function parameter or member 'dentry' not
described in 'gfs2_dir_del'
fs/gfs2/dir.c:1879: warning: Excess function parameter 'filename' description
in 'gfs2_dir_del'
fs/gfs2/dir.c:1940: warning: Function parameter or member 'filename' not
described in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1940: warning: Function parameter or member 'nip' not described
in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1940: warning: Function parameter or member 'new_type' not
described in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1940: warning: Excess function parameter 'new_inode' description
in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1977: warning: Function parameter or member 'last_dealloc' not
described in 'leaf_dealloc'
fs/gfs2/dir.c:2143: warning: Function parameter or member 'rgd' not described
in 'leaves_in_this_rgd'
fs/gfs2/dir.c:2143: warning: Function parameter or member 'lp' not described in
'leaves_in_this_rgd'
fs/gfs2/dir.c:2143: warning: Function parameter or member 'hsize' not described
in 'leaves_in_this_rgd'
> fs/gfs2/dir.c:2279: warning: expecting prototype for
__gfs2_dir_exhash_dealloc(). Prototype was for gfs2_dir_exhash_dealloc() instead
fs/gfs2/dir.c:2297: warning: Function parameter or member 'inode' not described in
'gfs2_diradd_alloc_required'
fs/gfs2/dir.c:2297: warning: Function parameter or member 'name' not described
in 'gfs2_diradd_alloc_required'
fs/gfs2/dir.c:2297: warning: Excess function parameter 'ip' description in
'gfs2_diradd_alloc_required'
fs/gfs2/dir.c:2297: warning: Excess function parameter 'filname' description in
'gfs2_diradd_alloc_required'
vim +2279 fs/gfs2/dir.c
2267
2268 /**
2269 * __gfs2_dir_exhash_dealloc - free all the leaf blocks in a directory
2270 * @dip: the directory
2271 *
2272 * Dealloc all on-disk directory leaves to FREEMETA state
2273 * Change on-disk inode type to "regular file"
2274 *
2275 * Returns: errno
2276 */
2277
2278 int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip)
2279 {
2280 if (dip->i_diskflags &
GFS2_DIF_NO_NEXT_LEAF)
2281 return dir_exhash_fast_dealloc(dip);
2282
2283 return __gfs2_dir_exhash_dealloc(dip);
2284 }
2285
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org