Re: [RFC 2/3]block: FIOPS ioscheduler core

From: Namjae Jeon
Date: Fri Jan 06 2012 - 01:05:10 EST


> ===================================================================
> --- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/