* [koverstreet-bcachefs:bcachefs-testing 167/214] fs/bcachefs/data/reconcile.c:1888:25: warning: stack frame size (1040) exceeds limit (1024) in 'do_reconcile_phys_thread'
@ 2026-01-16 22:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-01-16 22:34 UTC (permalink / raw)
To: Kent Overstreet; +Cc: llvm, oe-kbuild-all
tree: https://github.com/koverstreet/bcachefs bcachefs-testing
head: 321d6b2ede8c135ad00646b40ada16f17ab3eb1b
commit: 7533247ef4e07f309908aa5c50053cfc1b700d33 [167/214] fixup! bcachefs: Multithreaded processing of reconcile_phys
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260117/202601170657.uiPMHmY7-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260117/202601170657.uiPMHmY7-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/202601170657.uiPMHmY7-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/bcachefs/data/reconcile.c:1888:25: warning: stack frame size (1040) exceeds limit (1024) in 'do_reconcile_phys_thread' [-Wframe-larger-than]
1888 | static CLOSURE_CALLBACK(do_reconcile_phys_thread)
| ^
1 warning generated.
vim +/do_reconcile_phys_thread +1888 fs/bcachefs/data/reconcile.c
6efb894685bad7 Kent Overstreet 2026-01-06 1887
6efb894685bad7 Kent Overstreet 2026-01-06 @1888 static CLOSURE_CALLBACK(do_reconcile_phys_thread)
6efb894685bad7 Kent Overstreet 2026-01-06 1889 {
6efb894685bad7 Kent Overstreet 2026-01-06 1890 closure_type(thr, reconcile_phys_thr, cl);
6efb894685bad7 Kent Overstreet 2026-01-06 1891 struct bch_fs *c = thr->c;
6efb894685bad7 Kent Overstreet 2026-01-06 1892
6efb894685bad7 Kent Overstreet 2026-01-06 1893 struct moving_context ctxt __cleanup(bch2_moving_ctxt_exit);
6efb894685bad7 Kent Overstreet 2026-01-06 1894 bch2_moving_ctxt_init(&ctxt, c, NULL, &thr->stats,
6efb894685bad7 Kent Overstreet 2026-01-06 1895 writepoint_ptr(&c->allocator.reconcile_write_point),
6efb894685bad7 Kent Overstreet 2026-01-06 1896 true);
6efb894685bad7 Kent Overstreet 2026-01-06 1897
6efb894685bad7 Kent Overstreet 2026-01-06 1898 struct btree_trans *trans = ctxt.trans;
6efb894685bad7 Kent Overstreet 2026-01-06 1899
6efb894685bad7 Kent Overstreet 2026-01-06 1900 CLASS(darray_reconcile_work, work)();
6efb894685bad7 Kent Overstreet 2026-01-06 1901 darray_make_room(&work, REBALANCE_WORK_BUF_NR);
6efb894685bad7 Kent Overstreet 2026-01-06 1902 if (!work.size) {
6efb894685bad7 Kent Overstreet 2026-01-06 1903 bch_err(c, "%s: unable to allocate memory", __func__);
7533247ef4e07f Kent Overstreet 2026-01-08 1904 closure_return(cl);
7533247ef4e07f Kent Overstreet 2026-01-08 1905 return;
6efb894685bad7 Kent Overstreet 2026-01-06 1906 }
6efb894685bad7 Kent Overstreet 2026-01-06 1907
6efb894685bad7 Kent Overstreet 2026-01-06 1908 CLASS(per_snapshot_io_opts, snapshot_io_opts)(c);
6efb894685bad7 Kent Overstreet 2026-01-06 1909
6efb894685bad7 Kent Overstreet 2026-01-06 1910 struct wb_maybe_flush last_flushed __cleanup(wb_maybe_flush_exit);
6efb894685bad7 Kent Overstreet 2026-01-06 1911 wb_maybe_flush_init(&last_flushed);
6efb894685bad7 Kent Overstreet 2026-01-06 1912
6efb894685bad7 Kent Overstreet 2026-01-06 1913 struct bbpos work_pos = BBPOS(thr->btree, POS(thr->dev, 0));
6efb894685bad7 Kent Overstreet 2026-01-06 1914
6efb894685bad7 Kent Overstreet 2026-01-06 1915 while (!bch2_move_ratelimit(&ctxt)) {
6efb894685bad7 Kent Overstreet 2026-01-06 1916 if (!bch2_reconcile_enabled(c))
6efb894685bad7 Kent Overstreet 2026-01-06 1917 break;
6efb894685bad7 Kent Overstreet 2026-01-06 1918
6efb894685bad7 Kent Overstreet 2026-01-06 1919 bch2_trans_begin(trans);
6efb894685bad7 Kent Overstreet 2026-01-06 1920
6efb894685bad7 Kent Overstreet 2026-01-06 1921 struct bkey_s_c k = next_reconcile_entry(trans, &work, thr->btree, &work_pos.pos);
6efb894685bad7 Kent Overstreet 2026-01-06 1922 if (bkey_err(k) ||
6efb894685bad7 Kent Overstreet 2026-01-06 1923 !k.k ||
6efb894685bad7 Kent Overstreet 2026-01-06 1924 k.k->p.inode != thr->dev)
6efb894685bad7 Kent Overstreet 2026-01-06 1925 break;
6efb894685bad7 Kent Overstreet 2026-01-06 1926
6efb894685bad7 Kent Overstreet 2026-01-06 1927 int ret = lockrestart_do(trans,
6efb894685bad7 Kent Overstreet 2026-01-06 1928 do_reconcile_extent_phys(&ctxt, &snapshot_io_opts, work_pos, &last_flushed));
6efb894685bad7 Kent Overstreet 2026-01-06 1929 if (ret)
6efb894685bad7 Kent Overstreet 2026-01-06 1930 break;
6efb894685bad7 Kent Overstreet 2026-01-06 1931 }
7533247ef4e07f Kent Overstreet 2026-01-08 1932
6efb894685bad7 Kent Overstreet 2026-01-06 1933 closure_return(cl);
6efb894685bad7 Kent Overstreet 2026-01-06 1934 }
6efb894685bad7 Kent Overstreet 2026-01-06 1935
:::::: The code at line 1888 was first introduced by commit
:::::: 6efb894685bad7b9d57fc51a8bfef4707572382f bcachefs: Multithreaded processing of reconcile_phys
:::::: TO: Kent Overstreet <kent.overstreet@linux.dev>
:::::: CC: Kent Overstreet <kent.overstreet@linux.dev>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-16 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16 22:34 [koverstreet-bcachefs:bcachefs-testing 167/214] fs/bcachefs/data/reconcile.c:1888:25: warning: stack frame size (1040) exceeds limit (1024) in 'do_reconcile_phys_thread' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox