Skip to content
Permalink
Yu-Kuai/blk-wb…
Switch branches/tags

Commits on Sep 19, 2022

  1. blk-wbt: don't enable throttling if default elevator is bfq

    Commit b5dc5d4 ("block,bfq: Disable writeback throttling") tries to
    disable wbt for bfq, it's done by calling wbt_disable_default() in
    bfq_init_queue(). However, wbt is still enabled if default elevator is
    bfq:
    
    device_add_disk
     elevator_init_mq
      bfq_init_queue
       wbt_disable_default -> done nothing
    
     blk_register_queue
      wbt_enable_default -> wbt is enabled
    
    Fix the problem by checking elevator name if wbt_enable_default() is
    called from blk_register_queue().
    
    Signed-off-by: Yu Kuai <yukuai3@huawei.com>
    Yu Kuai authored and intel-lab-lkp committed Sep 19, 2022
  2. block: add a helper to check elevator name

    The helper will be used in later patch to make sure wbt is not enabled
    if default io scheduler is bfq.
    
    Signed-off-by: Yu Kuai <yukuai3@huawei.com>
    Yu Kuai authored and intel-lab-lkp committed Sep 19, 2022
  3. wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabled

    Currently, if wbt is initialized and then disabled by
    wbt_disable_default(), sysfs will still show valid wbt_lat_usec, which
    will confuse users that wbt is still enabled.
    
    This patch shows wbt_lat_usec as zero and forbid to set it while wbt
    is disabled.
    
    Signed-off-by: Yu Kuai <yukuai3@huawei.com>
    Reported-and-tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Yu Kuai authored and intel-lab-lkp committed Sep 19, 2022

Commits on Sep 16, 2022

  1. Add linux-next specific files for 20220916

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    sfrothwell committed Sep 16, 2022
  2. Merge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/gustavoars/linux.git
    sfrothwell committed Sep 16, 2022
  3. Merge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/kees/linux.git
    
    # Conflicts:
    #	lib/Kconfig.debug
    sfrothwell committed Sep 16, 2022
  4. Merge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/kees/linux.git
    sfrothwell committed Sep 16, 2022
  5. Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/mcgrof/linux.git
    sfrothwell committed Sep 16, 2022
  6. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/krisman/unicode.git
    sfrothwell committed Sep 16, 2022
  7. Merge branch 'for-next/seccomp' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/kees/linux.git
    sfrothwell committed Sep 16, 2022
  8. Merge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/nvdimm/nvdimm.git
    sfrothwell committed Sep 16, 2022
  9. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/livepatching/livepatching
    sfrothwell committed Sep 16, 2022
  10. Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …shuah/linux-kselftest.git
    
    # Conflicts:
    #	drivers/cpufreq/amd-pstate.c
    sfrothwell committed Sep 16, 2022
  11. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/ebiederm/user-namespace.git
    sfrothwell committed Sep 16, 2022
  12. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/linusw/linux-pinctrl.git
    sfrothwell committed Sep 16, 2022
  13. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/andy/linux-gpio-intel.git
    sfrothwell committed Sep 16, 2022
  14. Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/brgl/linux.git
    sfrothwell committed Sep 16, 2022
  15. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/remoteproc/linux.git
    sfrothwell committed Sep 16, 2022
Older