[PATCH] sysctl: fix improper indication of integer sysctl parameter

2012-07-31 Thread Mitsuo Hayasaka
patch casts the negative integer into unsigned int type, instead of unsigned long type. Signed-off-by: Mitsuo Hayasaka Cc: "Eric W. Biederman" Cc: Andrew Morton Cc: David Howells Cc: James Morris --- kernel/sysctl.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(

[PATCH] sysctl: fix improper indication of integer sysctl parameter

2012-07-31 Thread Mitsuo Hayasaka
into unsigned int type, instead of unsigned long type. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com Cc: Eric W. Biederman ebied...@xmission.com Cc: Andrew Morton a...@linux-foundation.org Cc: David Howells dhowe...@redhat.com Cc: James Morris james.l.mor...@oracle.com --- kernel

[PATCH -v2 5/6] fuse: set default global limit considering tunable request size

2012-07-19 Thread Mitsuo Hayasaka
mod_param by the system administrator. Signed-off-by: Mitsuo Hayasaka Cc: Miklos Szeredi Cc: Nikolaus Rath Cc: Liu Yuan Cc: Has-Wen Nienhuys --- fs/fuse/fuse_i.h |4 +++ fs/fuse/inode.c | 62 -- 2 files changed, 55 insertions(+), 11

[PATCH -v2 6/6] fuse: add documentation of sysfs parameter to limit maximum fuse request size

2012-07-19 Thread Mitsuo Hayasaka
Add an explanation about the sysfs parameter to limit the maximum read/write request size. Signed-off-by: Mitsuo Hayasaka Cc: Rob Landley Cc: Miklos Szeredi Cc: Nikolaus Rath Cc: Liu Yuan Cc: Has-Wen Nienhuys --- Documentation/filesystems/fuse.txt | 15 ++- 1 files changed

[PATCH -v2 4/6] fuse: add a sysfs parameter to control the maximum request size

2012-07-19 Thread Mitsuo Hayasaka
to take effect. Signed-off-by: Mitsuo Hayasaka Cc: Miklos Szeredi Cc: Nikolaus Rath Cc: Liu Yuan Cc: Has-Wen Nienhuys --- fs/fuse/inode.c | 58 +++ 1 files changed, 54 insertions(+), 4 deletions(-) diff --git a/fs/fuse/inode.c b/fs/fuse

[PATCH -v2 2/6] fuse: make the maximum read/write request size tunable

2012-07-19 Thread Mitsuo Hayasaka
to connect cloud storage services and distributed filesystems. Larger data might be stored in them over networking via FUSE and the overhead might affect the read/write throughput. So, a tunable functionality of read/write request size is useful. Signed-off-by: Mitsuo Hayasaka Cc: Miklos Szeredi Cc

[PATCH -v2 3/6] fuse: remove cache for fuse request allocation

2012-07-19 Thread Mitsuo Hayasaka
Remove fuse_req_cachep, which was used for fuse request buffer. It is no longer used since the buffer is allocated dynamically due to the tunable maximum read/write request size. Signed-off-by: Mitsuo Hayasaka Cc: Miklos Szeredi Cc: Nikolaus Rath Cc: Liu Yuan Cc: Has-Wen Nienhuys --- fs

[PATCH -v2 1/6] pipe: make the maximum pipe size referable from kernel module

2012-07-19 Thread Mitsuo Hayasaka
. Signed-off-by: Mitsuo Hayasaka Cc: Alexander Viro Cc: Andrew Morton Cc: Muthukumar R Cc: Miklos Szeredi --- fs/pipe.c |7 +++ include/linux/pipe_fs_i.h |3 +++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/fs/pipe.c b/fs/pipe.c index 49c1065

[PATCH -v2 0/6] fuse: make maximum read/write request size tunable

2012-07-19 Thread Mitsuo Hayasaka
module. - change the upper limit of fuse request size from 256 to nr_pages equivalent to the maximum pipe size. - revise the documentation in /Documentation/filesystems/ fuse.txt Thanks, --- Mitsuo Hayasaka (6): fuse: add documentation of sysfs parameter to limit maximum fuse

[PATCH -v2 0/6] fuse: make maximum read/write request size tunable

2012-07-19 Thread Mitsuo Hayasaka
kernel module. - change the upper limit of fuse request size from 256 to nr_pages equivalent to the maximum pipe size. - revise the documentation in /Documentation/filesystems/ fuse.txt Thanks, --- Mitsuo Hayasaka (6): fuse: add documentation of sysfs parameter to limit maximum fuse

[PATCH -v2 1/6] pipe: make the maximum pipe size referable from kernel module

2012-07-19 Thread Mitsuo Hayasaka
. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com Cc: Alexander Viro v...@zeniv.linux.org.uk Cc: Andrew Morton a...@linux-foundation.org Cc: Muthukumar R mut...@gmail.com Cc: Miklos Szeredi mik...@szeredi.hu --- fs/pipe.c |7 +++ include/linux/pipe_fs_i.h |3

[PATCH -v2 3/6] fuse: remove cache for fuse request allocation

2012-07-19 Thread Mitsuo Hayasaka
Remove fuse_req_cachep, which was used for fuse request buffer. It is no longer used since the buffer is allocated dynamically due to the tunable maximum read/write request size. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com Cc: Miklos Szeredi mik...@szeredi.hu Cc: Nikolaus Rath

[PATCH -v2 2/6] fuse: make the maximum read/write request size tunable

2012-07-19 Thread Mitsuo Hayasaka
to connect cloud storage services and distributed filesystems. Larger data might be stored in them over networking via FUSE and the overhead might affect the read/write throughput. So, a tunable functionality of read/write request size is useful. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka

[PATCH -v2 4/6] fuse: add a sysfs parameter to control the maximum request size

2012-07-19 Thread Mitsuo Hayasaka
to take effect. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com Cc: Miklos Szeredi mik...@szeredi.hu Cc: Nikolaus Rath nikol...@rath.org Cc: Liu Yuan namei.u...@gmail.com Cc: Has-Wen Nienhuys han...@xs4all.nl --- fs/fuse/inode.c | 58

[PATCH -v2 6/6] fuse: add documentation of sysfs parameter to limit maximum fuse request size

2012-07-19 Thread Mitsuo Hayasaka
Add an explanation about the sysfs parameter to limit the maximum read/write request size. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com Cc: Rob Landley r...@landley.net Cc: Miklos Szeredi mik...@szeredi.hu Cc: Nikolaus Rath nikol...@rath.org Cc: Liu Yuan namei.u...@gmail.com Cc

[PATCH -v2 5/6] fuse: set default global limit considering tunable request size

2012-07-19 Thread Mitsuo Hayasaka
mod_param by the system administrator. Signed-off-by: Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com Cc: Miklos Szeredi mik...@szeredi.hu Cc: Nikolaus Rath nikol...@rath.org Cc: Liu Yuan namei.u...@gmail.com Cc: Has-Wen Nienhuys han...@xs4all.nl --- fs/fuse/fuse_i.h |4 +++ fs/fuse/inode.c | 62