[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKYAXd-z0toe1rCUvaYBEqvTSwbRtE_9iCZGuvwU4nJm0SP27A@mail.gmail.com>
Date: Fri, 6 Jan 2012 15:05:07 +0900
From: Namjae Jeon <linkinjeon@...il.com>
To: Shaohua Li <shaohua.li@...el.com>
Cc: linux-kernel@...r.kernel.org, axboe@...nel.dk, vgoyal@...hat.com,
jmoyer@...hat.com
Subject: Re: [RFC 2/3]block: FIOPS ioscheduler core
> ===================================================================
> --- linux.orig/block/Kconfig.iosched 2011-12-28 09:42:18.000000000 +0800
> +++ linux/block/Kconfig.iosched 2012-01-04 13:58:35.000000000 +0800
> @@ -43,6 +43,14 @@ config CFQ_GROUP_IOSCHED
> ---help---
> Enable group IO scheduling in CFQ.
>
> +config IOSCHED_FIOPS
> + tristate "IOPS based I/O scheduler"
> + default y
> + ---help---
> + This is an IOPS based I/O scheduler. It will try to distribute
> + IOPS equally among all processes in the system. It's mainly for
> + Flash based storage.
> +
> choice
> prompt "Default I/O scheduler"
> default DEFAULT_CFQ
Hi.
Is below code needed ?
choice
prompt "Default I/O scheduler"
default DEFAULT_CFQ
help
Select the I/O scheduler which will be used by default for all
block devices.
config DEFAULT_DEADLINE
bool "Deadline" if IOSCHED_DEADLINE=y
config DEFAULT_CFQ
bool "CFQ" if IOSCHED_CFQ=y
+ config DEFAULT_FIOPS
+ bool "FIOPS" if IOSCHED_FIOPS=y
config DEFAULT_NOOP
bool "No-op"
config DEFAULT_IOSCHED
string
default "deadline" if DEFAULT_DEADLINE
default "cfq" if DEFAULT_CFQ
default "noop" if DEFAULT_NOOP
+ default "fiops" if DEFAULT_FIOPS
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists