[PATCH 6.17 367/371] writeback: Avoid softlockup when switching many inodes