Re: [PATCH 2/4] writeback: Avoid softlockup when switching many inodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 09, 2025 at 04:44:03PM +0200, Jan Kara wrote:
> process_inode_switch_wbs_work() can be switching over 100 inodes to a
> different cgroup. Since switching an inode requires counting all dirty &
> under-writeback pages in the address space of each inode, this can take
> a significant amount of time. Add a possibility to reschedule after
> processing each inode to avoid softlockups.
> 
> Signed-off-by: Jan Kara <jack@xxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

-- 
tejun




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux