lkml.org 
[lkml]   [2014]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH RFC RESEND 01/14] block: kconfig update and build bits for BFQ
    Date
    From: Fabio Checconi <fchecconi@gmail.com>

    Update Kconfig.iosched and make the related Makefile changes to include
    kernel-configuration options for BFQ.

    Signed-off-by: Fabio Checconi <fchecconi@gmail.com>
    Signed-off-by: Paolo Valente <paolo.valente@unimore.it>
    Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com>
    ---
    block/Kconfig.iosched | 19 +++++++++++++++++++
    block/Makefile | 1 +
    2 files changed, 20 insertions(+)

    diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
    index 421bef9..8f98cc7 100644
    --- a/block/Kconfig.iosched
    +++ b/block/Kconfig.iosched
    @@ -39,6 +39,15 @@ config CFQ_GROUP_IOSCHED
    ---help---
    Enable group IO scheduling in CFQ.

    +config IOSCHED_BFQ
    + tristate "BFQ I/O scheduler"
    + default n
    + ---help---
    + The BFQ I/O scheduler tries to distribute bandwidth among all
    + processes according to their weights.
    + It aims at distributing the bandwidth as desired, regardless
    + of the disk parameters and with any workload.
    +
    choice
    prompt "Default I/O scheduler"
    default DEFAULT_CFQ
    @@ -52,6 +61,15 @@ choice
    config DEFAULT_CFQ
    bool "CFQ" if IOSCHED_CFQ=y

    + config DEFAULT_BFQ
    + bool "BFQ" if IOSCHED_BFQ=y
    + help
    + Selects BFQ as the default I/O scheduler which will be
    + used by default for all block devices.
    + The BFQ I/O scheduler aims at distributing the bandwidth
    + as desired, regardless of the disk parameters and with
    + any workload.
    +
    config DEFAULT_NOOP
    bool "No-op"

    @@ -61,6 +79,7 @@ config DEFAULT_IOSCHED
    string
    default "deadline" if DEFAULT_DEADLINE
    default "cfq" if DEFAULT_CFQ
    + default "bfq" if DEFAULT_BFQ
    default "noop" if DEFAULT_NOOP

    endmenu
    diff --git a/block/Makefile b/block/Makefile
    index 20645e8..cbd83fb 100644
    --- a/block/Makefile
    +++ b/block/Makefile
    @@ -16,6 +16,7 @@ obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o
    obj-$(CONFIG_IOSCHED_NOOP) += noop-iosched.o
    obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o
    obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o
    +obj-$(CONFIG_IOSCHED_BFQ) += bfq-iosched.o

    obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o
    obj-$(CONFIG_BLK_DEV_INTEGRITY) += blk-integrity.o
    --
    1.9.2


    \
     
     \ /
      Last update: 2014-05-27 16:21    [W:4.423 / U:0.184 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site