1. 01 Feb, 2024 23 commits
  2. 31 Jan, 2024 3 commits
  3. 29 Jan, 2024 1 commit
  4. 26 Jan, 2024 2 commits
  5. 25 Jan, 2024 1 commit
    • Mikulas Patocka's avatar
      md: fix a suspicious RCU usage warning · 9f3fe29d
      Mikulas Patocka authored
      RCU protection was removed in the commit 2d32777d ("raid1: remove rcu
      protection to access rdev from conf").
      
      However, the code in fix_read_error does rcu_dereference outside
      rcu_read_lock - this triggers the following warning. The warning is
      triggered by a LVM2 test shell/integrity-caching.sh.
      
      This commit removes rcu_dereference.
      
      =============================
      WARNING: suspicious RCU usage
      6.7.0 #2 Not tainted
      -----------------------------
      drivers/md/raid1.c:2265 suspicious rcu_dereference_check() usage!
      
      other info that might help us debug this:
      
      rcu_scheduler_active = 2, debug_locks = 1
      no locks held by mdX_raid1/1859.
      
      stack backtrace:
      CPU: 2 PID: 1859 Comm: mdX_raid1 Not tainted 6.7.0 #2
      Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
      Call Trace:
       <TASK>
       dump_stack_lvl+0x60/0x70
       lockdep_rcu_suspicious+0x153/0x1b0
       raid1d+0x1732/0x1750 [raid1]
       ? lock_acquire+0x9f/0x270
       ? finish_wait+0x3d/0x80
       ? md_thread+0xf7/0x130 [md_mod]
       ? lock_release+0xaa/0x230
       ? md_register_thread+0xd0/0xd0 [md_mod]
       md_thread+0xa0/0x130 [md_mod]
       ? housekeeping_test_cpu+0x30/0x30
       kthread+0xdc/0x110
       ? kthread_complete_and_exit+0x20/0x20
       ret_from_fork+0x28/0x40
       ? kthread_complete_and_exit+0x20/0x20
       ret_from_fork_asm+0x11/0x20
       </TASK>
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Fixes: ca294b34 ("md/raid1: support read error check")
      Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
      Signed-off-by: default avatarSong Liu <song@kernel.org>
      Link: https://lore.kernel.org/r/51539879-e1ca-fde3-b8b4-8934ddedcbc@redhat.com
      9f3fe29d
  6. 24 Jan, 2024 4 commits
  7. 23 Jan, 2024 2 commits
  8. 22 Jan, 2024 1 commit
  9. 21 Jan, 2024 3 commits
    • Linus Torvalds's avatar
      Linux 6.8-rc1 · 6613476e
      Linus Torvalds authored
      6613476e
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2024-01-21' of https://evilpiepirate.org/git/bcachefs · 35a4474b
      Linus Torvalds authored
      Pull more bcachefs updates from Kent Overstreet:
       "Some fixes, Some refactoring, some minor features:
      
         - Assorted prep work for disk space accounting rewrite
      
         - BTREE_TRIGGER_ATOMIC: after combining our trigger callbacks, this
           makes our trigger context more explicit
      
         - A few fixes to avoid excessive transaction restarts on
           multithreaded workloads: fstests (in addition to ktest tests) are
           now checking slowpath counters, and that's shaking out a few bugs
      
         - Assorted tracepoint improvements
      
         - Starting to break up bcachefs_format.h and move on disk types so
           they're with the code they belong to; this will make room to start
           documenting the on disk format better.
      
         - A few minor fixes"
      
      * tag 'bcachefs-2024-01-21' of https://evilpiepirate.org/git/bcachefs: (46 commits)
        bcachefs: Improve inode_to_text()
        bcachefs: logged_ops_format.h
        bcachefs: reflink_format.h
        bcachefs; extents_format.h
        bcachefs: ec_format.h
        bcachefs: subvolume_format.h
        bcachefs: snapshot_format.h
        bcachefs: alloc_background_format.h
        bcachefs: xattr_format.h
        bcachefs: dirent_format.h
        bcachefs: inode_format.h
        bcachefs; quota_format.h
        bcachefs: sb-counters_format.h
        bcachefs: counters.c -> sb-counters.c
        bcachefs: comment bch_subvolume
        bcachefs: bch_snapshot::btime
        bcachefs: add missing __GFP_NOWARN
        bcachefs: opts->compression can now also be applied in the background
        bcachefs: Prep work for variable size btree node buffers
        bcachefs: grab s_umount only if snapshotting
        ...
      35a4474b
    • Linus Torvalds's avatar
      Merge tag 'timers-core-2024-01-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4fbbed78
      Linus Torvalds authored
      Pull timer updates from Thomas Gleixner:
       "Updates for time and clocksources:
      
         - A fix for the idle and iowait time accounting vs CPU hotplug.
      
           The time is reset on CPU hotplug which makes the accumulated
           systemwide time jump backwards.
      
         - Assorted fixes and improvements for clocksource/event drivers"
      
      * tag 'timers-core-2024-01-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
        clocksource/drivers/ep93xx: Fix error handling during probe
        clocksource/drivers/cadence-ttc: Fix some kernel-doc warnings
        clocksource/drivers/timer-ti-dm: Fix make W=n kerneldoc warnings
        clocksource/timer-riscv: Add riscv_clock_shutdown callback
        dt-bindings: timer: Add StarFive JH8100 clint
        dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regs
      4fbbed78