Skip to content
Snippets Groups Projects
Select Git revision
  • work.freeze
  • vfs-6.16.super
  • vfs-6.16.mount.api
  • vfs.all
  • vfs-6.15.pidfs
  • vfs-6.15.misc
  • vfs-6.15.iomap
  • vfs.fixes
  • work.pidfs.thread_group
  • vfs-6.15.file
  • vfs-6.15.mount
  • vfs-6.15.initramfs
  • vfs-6.15.rust
  • work.idmapped.squash
  • vfs-6.15.shared.afs
  • vfs-6.15.pipe
  • vfs-6.15.pipe.tmp
  • vfs-6.15.pagesize
  • vfs-6.15.orangefs
  • vfs-6.15.ceph
  • vfs-6.15-rc1.rust
  • vfs-6.15-rc1.orangefs
  • vfs-6.15-rc1.file
  • vfs-6.15-rc1.initramfs
  • vfs-6.15-rc1.afs
  • vfs-6.15-rc1.ceph
  • vfs-6.15-rc1.mount.namespace
  • vfs-6.15-rc1.pagesize
  • vfs-6.15-rc1.sysv
  • vfs-6.15-rc1.config_debug_vfs
  • vfs-6.15-rc1.eventpoll
  • vfs-6.15-rc1.nsfs
  • vfs-6.15-rc1.overlayfs
  • vfs-6.15-rc1.async.dir
  • vfs-6.15-rc1.iomap
  • vfs-6.15-rc1.mount.api
  • kernel-6.15-rc1.tasklist_lock
  • vfs-6.15-rc1.pipe
  • vfs-6.15-rc1.fuse
  • vfs-6.15-rc1.mount
40 results

linux

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Haifeng Xu authored
    When deactivating any type of superblock, it had to wait for the in-flight
    wb switches to be completed. wb switches are executed in inode_switch_wbs_work_fn()
    which needs to acquire the wb_switch_rwsem and races against sync_inodes_sb().
    If there are too much dirty data in the superblock, the waiting time may increase
    significantly.
    
    For superblocks without cgroup writeback such as tmpfs, they have nothing to
    do with the wb swithes, so the flushing can be avoided.
    
    Signed-off-by: default avatarHaifeng Xu <haifeng.xu@shopee.com>
    Link: https://lore.kernel.org/r/20240726030525.180330-1-haifeng.xu@shopee.com
    
    
    Reviewed-by: default avatarJan Kara <jack@suse.cz>
    Suggested-by: default avatarJan Kara <jack@suse.cz>
    Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
    4d4bd285
    History
    Name Last commit Last update