Re: [PATCH 2/8] readahead: make default readahead size a kernel parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wu Fengguang <fengguang.wu@xxxxxxxxx> writes:

> From: Nikanth Karthikesan <knikanth@xxxxxxx>
>
> Add new kernel parameter "readahead=", which allows user to override
> the static VM_MAX_READAHEAD=128kb.
>
> CC: Ankit Jain <radical@xxxxxxxxx>
> CC: Dave Chinner <david@xxxxxxxxxxxxx>
> CC: Christian Ehrhardt <ehrhardt@xxxxxxxxxxxxxxxxxx>
> Acked-by: Rik van Riel <riel@xxxxxxxxxx>
> Signed-off-by: Nikanth Karthikesan <knikanth@xxxxxxx>
> Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> ---
>  Documentation/kernel-parameters.txt |    6 ++++++
>  block/blk-core.c                    |    3 +--
>  fs/fuse/inode.c                     |    2 +-
>  mm/readahead.c                      |   19 +++++++++++++++++++
>  4 files changed, 27 insertions(+), 3 deletions(-)
>
> --- linux-next.orig/Documentation/kernel-parameters.txt	2011-10-19 11:11:14.000000000 +0800
> +++ linux-next/Documentation/kernel-parameters.txt	2011-11-20 11:09:56.000000000 +0800
> @@ -2245,6 +2245,12 @@ bytes respectively. Such letter suffixes
>  			Run specified binary instead of /init from the ramdisk,
>  			used for early userspace startup. See initrd.
>  
> +	readahead=nn[KM]
> +			Default max readahead size for block devices.
> +
> +			This default max readahead size may be overrode

s/overrode/overridden/ ?

Thanks.


> +			in some cases, notably NFS, btrfs and software RAID.
> +
>  	reboot=		[BUGS=X86-32,BUGS=ARM,BUGS=IA-64] Rebooting mode
>  			Format: <reboot_mode>[,<reboot_mode2>[,...]]
>  			See arch/*/kernel/reboot.c or arch/*/kernel/process.c
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux