Skip to content
  1. Aug 16, 2023
  2. Aug 15, 2023
  3. Aug 11, 2023
  4. Aug 10, 2023
  5. Aug 09, 2023
  6. Aug 05, 2023
    • Li Zetao's avatar
      fs/Kconfig: Fix compile error for romfs · a24c8b51
      Li Zetao authored
      
      
      There are some compile errors reported by kernel test robot:
      
      arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_read':
      storage.c:(.text+0x64): undefined reference to `__brelse'
      arm-linux-gnueabi-ld: storage.c:(.text+0x9c): undefined reference to `__bread_gfp'
      arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_strnlen':
      storage.c:(.text+0x128): undefined reference to `__brelse'
      arm-linux-gnueabi-ld: storage.c:(.text+0x16c): undefined reference to `__bread_gfp'
      arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_strcmp':
      storage.c:(.text+0x22c): undefined reference to `__bread_gfp'
      arm-linux-gnueabi-ld: storage.c:(.text+0x27c): undefined reference to `__brelse'
      arm-linux-gnueabi-ld: storage.c:(.text+0x2a8): undefined reference to `__bread_gfp'
      arm-linux-gnueabi-ld: storage.c:(.text+0x2bc): undefined reference to `__brelse'
      arm-linux-gnueabi-ld: storage.c:(.text+0x2d4): undefined reference to `__brelse'
      arm-linux-gnueabi-ld: storage.c:(.text+0x2f4): undefined reference to `__brelse'
      arm-linux-gnueabi-ld: storage.c:(.text+0x304): undefined reference to `__brelse'
      
      The reason for the problem is that the commit
      "925c86a1" ("fs: add CONFIG_BUFFER_HEAD") has added a new config
      "CONFIG_BUFFER_HEAD" that controls building the buffer_head code, and
      romfs needs to use the buffer_head API, but no corresponding config has
      beed added. Select the config "CONFIG_BUFFER_HEAD" in romfs Kconfig to
      resolve the problem.
      
      Fixes: 925c86a1 ("fs: add CONFIG_BUFFER_HEAD")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202308031810.pQzGmR1v-lkp@intel.com/
      
      
      Reviewed-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
      Tested-by: default avatarLi Zetao <lizetao1@huawei.com>
      Signed-off-by: default avatarLi Zetao <lizetao1@huawei.com>
      [axboe: fold in Christoph's incremental]
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      a24c8b51
  7. Aug 02, 2023
  8. Jul 29, 2023
    • Jens Axboe's avatar
      Merge tag 'md-next-20230729' of... · d276bb29
      Jens Axboe authored
      Merge tag 'md-next-20230729' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-6.6/block
      
      Pull MD updates from Song:
      
      "1. Deprecate bitmap file support, by Christoph Hellwig;
       2. Fix deadlock with md sync thread, by Yu Kuai;
       3. Refactor md io accounting, by Yu Kuai;
       4. Various non-urgent fixes by Li Nan, Yu Kuai, and Jack Wang."
      
      * tag 'md-next-20230729' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md: (36 commits)
        md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
        md/md-bitmap: remove unnecessary local variable in backlog_store()
        md/raid10: use dereference_rdev_and_rrdev() to get devices
        md/raid10: factor out dereference_rdev_and_rrdev()
        md/raid10: check replacement and rdev to prevent submit the same io twice
        md/raid1: Avoid lock contention from wake_up()
        md: restore 'noio_flag' for the last mddev_resume()
        md: don't quiesce in mddev_suspend()
        md: remove redundant check in fix_read_error()
        md/raid10: optimize fix_read_error
        md/raid1: prioritize adding disk to 'removed' mirror
        md/md-faulty: enable io accounting
        md/md-linear: enable io accounting
        md/md-multipath: enable io accounting
        md/raid10: switch to use md_account_bio() for io accounting
        md/raid1: switch to use md_account_bio() for io accounting
        raid5: fix missing io accounting in raid5_align_endio()
        md: also clone new io if io accounting is disabled
        md: move initialization and destruction of 'io_acct_set' to md.c
        md: deprecate bitmap file support
        ...
      d276bb29
  9. Jul 27, 2023