Public bug reported:

Backport a fix for soft lockups, performance degradation, and NIC hangs
which are cause by a cgroup exit while owning a large number of inodes.
Switching the inodes to another wb results in multiple workers spinning
on the same wb->list_lock while only one worker makes progress. The fix
changes this to use a queue of inode switch work items, which is handled
by a single work item per wb. Also include a follow-up fix for a use-
after-free bug.

Verified on Grace to fix the observed soft lockups and performance
issues.

e1b849cfa6b6 writeback: Avoid contention on wb->list_lock when switching inodes
6689f01d6740 writeback: Fix use after free in inode_switch_wbs_work_fn()

** Affects: linux-nvidia-6.17 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156922

Title:
  Backport: writeback: Avoid contention on wb->list_lock when switching
  inodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-6.17/+bug/2156922/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to