Hi Mauricio,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on ext4/dev]
[also build test WARNING on ext3/for_next linus/master v5.9-rc4 next-20200910]
[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/Mauricio-Faria-de-Oliveira/ext4-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
config: mips-randconfig-r023-20200909 (attached as .config)
compiler: mipsel-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
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/ext4/super.c: In function 'ext4_journalled_submit_inode_data_buffers':
> fs/ext4/super.c:521:18: warning: overflow in conversion from
'long long unsigned int' to 'long int' changes value from
'18446744073709551615' to '-1' [-Woverflow]
521 |
.nr_to_write = ~0ULL,
| ^
fs/ext4/super.c: In function 'ext4_remount':
fs/ext4/super.c:5601:6: warning: variable 'enable_quota' set but not used
[-Wunused-but-set-variable]
5601 | int enable_quota = 0;
| ^~~~~~~~~~~~
#
https://github.com/0day-ci/linux/commit/11b02bfb6d77b9706ed92235e27c08bad...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Mauricio-Faria-de-Oliveira/ext4-jbd2-data-journal-write-protect-pages-on-transaction-commit/20200911-033554
git checkout 11b02bfb6d77b9706ed92235e27c08badc2161ec
vim +521 fs/ext4/super.c
511
512 static int ext4_journalled_submit_inode_data_buffers(struct jbd2_inode *jinode)
513 {
514 struct address_space *mapping = jinode->i_vfs_inode->i_mapping;
515 transaction_t *transaction = jinode->i_transaction;
516 loff_t dirty_start = jinode->i_dirty_start;
517 loff_t dirty_end = jinode->i_dirty_end;
518
519 struct writeback_control wbc = {
520 .sync_mode = WB_SYNC_ALL,
521 .nr_to_write = ~0ULL,
522 .range_start =
dirty_start,
523 .range_end = dirty_end,
524 };
525
526 return write_cache_pages(mapping, &wbc,
527 ext4_journalled_writepage_callback,
528 transaction);
529 }
530
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org