[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1221744048.15314.30.camel@lappy.programming.kicks-ass.net>
Date: Thu, 18 Sep 2008 15:20:48 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Martin Knoblauch <knobi@...bisoft.de>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Greg Banks <gnb@...bourne.sgi.com>,
linux-nfs list <linux-nfs@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC][Resend] Make NFS-Client readahead tunable
On Thu, 2008-09-18 at 01:38 -0700, Martin Knoblauch wrote:
> I believe Peter wanted to add per bdi stuff for nfs some time ago. Not sure what came out of it.
$ mount localhost:/ /mnt/tmp
$ grep nfs /proc/$$/mountinfo
21 17 0:17 / /var/lib/nfs/rpc_pipefs rw - rpc_pipefs rpc_pipefs rw
31 13 0:20 / /proc/fs/nfsd rw - nfsd nfsd rw
37 17 0:22 / /mnt/tmp rw - nfs localhost:/ rw,vers=3,rsize=65536,wsize=65536,namlen=255,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=127.0.0.1,mountvers=3,mountproto=tcp,addr=127.0.0.1
$ ls -la /sys/class/bdi/0\:22/
total 0
drwxr-xr-x 3 root root 0 2008-09-18 15:16 .
drwxr-xr-x 21 root root 0 2008-09-18 15:16 ..
-rw-r--r-- 1 root root 4096 2008-09-18 15:19 max_ratio
-rw-r--r-- 1 root root 4096 2008-09-18 15:19 min_ratio
drwxr-xr-x 2 root root 0 2008-09-18 15:19 power
-rw-r--r-- 1 root root 4096 2008-09-18 15:19 read_ahead_kb
lrwxrwxrwx 1 root root 0 2008-09-18 15:19 subsystem -> ../../bdi
-rw-r--r-- 1 root root 4096 2008-09-18 15:19 uevent
$ cat /sys/class/bdi/0\:22/read_ahead_kb
960
--
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