RE: [NFS] [PATCH] New patch to flush out dirty mmap()ed NFS pages in 2.4.4

2001-05-14 Thread Chuck Lever
the default behavior is that close() waits for all write-backs to be committed to the server's disk. you might add support for the nocto mount option so that waiting is skipped for shared mmap'd files, but then what happens to data that is pinned on the client because a write-back failed after

Re: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-19 Thread Chuck Lever
at the number of bytes sent, the logic in the last hunk of this patch should check which queue the request is sitting on. --- commit 43d78ef2ba5bec26d0315859e8324bfc0be23766 Author: Chuck Lever [EMAIL PROTECTED] Date: Tue Feb 6 18:26:11 2007 -0500

Re: [NFS] [PATCH 001 of 9] knfsd: nfsd4: fix non-terminated string

2007-02-14 Thread Chuck Lever
Ming Zhang wrote: On Tue, 2007-02-13 at 10:44 +1100, NeilBrown wrote: From: J. Bruce Fields [EMAIL PROTECTED] The server name is expected to be a null-terminated string, so we can't pass in the raw client identifier. What's more, the client identifier is just a binary, not necessarily

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-14 Thread Chuck Lever
David Miller wrote: From: Pete Clements [EMAIL PROTECTED] Date: Mon, 12 Feb 2007 20:10:13 -0500 (EST) 2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 net/built-in.o: In

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Chuck Lever
Mike Snitzer wrote: On 2/2/07, Chuck Lever [EMAIL PROTECTED] wrote: Roland Dreier wrote: They are mostly from Chuck Level and make preparating for IPv6 support in the NFS server. They are *not* for 2.6.20, but should be ok for .21. Out of curiousity, does this patch series reduce

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Chuck Lever
Mike Snitzer wrote: On 4/13/07, Chuck Lever [EMAIL PROTECTED] wrote: Mike Snitzer wrote: On 2/2/07, Chuck Lever [EMAIL PROTECTED] wrote: Roland Dreier wrote: They are mostly from Chuck Level and make preparating for IPv6 support in the NFS server. They are *not* for 2.6.20

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Chuck Lever
Mike Snitzer wrote: On 4/13/07, Chuck Lever [EMAIL PROTECTED] wrote: Mike Snitzer wrote: On 2/2/07, Chuck Lever [EMAIL PROTECTED] wrote: Roland Dreier wrote: They are mostly from Chuck Level and make preparating for IPv6 support in the NFS server. They are *not* for 2.6.20

Re: How to manage shared persistent local caching (FS-Cache) with NFS?

2007-12-05 Thread Chuck Lever
caching? -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: How to manage shared persistent local caching (FS-Cache) with NFS?

2007-12-06 Thread Chuck Lever
Hi David- On Dec 5, 2007, at 8:22 PM, David Howells wrote: Chuck Lever [EMAIL PROTECTED] wrote: I don't see how persistent local caching means we can no longer ignore (a) and (b) above. Can you amplify this a bit? How about I put it like this. There are two principal problems

Re: How to manage shared persistent local caching (FS-Cache) with NFS?

2007-12-07 Thread Chuck Lever
Hi David- [ Some history snipped... ] On Dec 6, 2007, at 3:00 PM, David Howells wrote: Chuck Lever [EMAIL PROTECTED] wrote: Is it a problem because, if there are multiple copies of the same remote file in its cache, then FS-cache doesn't know, upon reconnection, which item to match

Re: [2.6 patch] fs/nfs/direct.c: remove dead code

2007-12-12 Thread Chuck Lever
(mapping); if (retval) goto out; retval = nfs_direct_write(iocb, iov, nr_segs, pos, count); -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9

2007-12-26 Thread Chuck Lever
work with it. If the client works with a broken server today, there is no guarantee that it will continue to work. Which would make this an NFS client regression. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 4/5] NET: Make ts_recent_stamp unsigned

2007-10-23 Thread Chuck Lever
The get_seconds() function returns an unsigned long. To prevent incorrect comparison results between values saved in ts_recent_stamp and later invocations of get_seconds(), change the type of ts_recent_stamp to match the return type of get_seconds(). Signed-off-by: Chuck Lever [EMAIL PROTECTED

[PATCH 3/5] NET: Treat the sign of the result of skb_headroom() consistently

2007-10-23 Thread Chuck Lever
In some places, the result of skb_headroom() is compared to an unsigned integer, and in others, the result is compared to a signed integer. Make the comparisons consistent and correct. Signed-off-by: Chuck Lever [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] --- include/linux/skbuff.h |4

[PATCH 5/5] NET: Remove unneeded implicit type case when calling tcp_minshall_update()

2007-10-23 Thread Chuck Lever
in tcp_minshall_update(). Signed-off-by: Chuck Lever [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] --- include/net/tcp.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/net/tcp.h b/include/net/tcp.h index 92049e6..d695cea 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -803,7

Re: [PATCH 4/5] NET: Make ts_recent_stamp unsigned

2007-10-24 Thread Chuck Lever
David Miller wrote: From: Chuck Lever [EMAIL PROTECTED] Date: Tue, 23 Oct 2007 11:44:28 -0400 The get_seconds() function returns an unsigned long. To prevent incorrect comparison results between values saved in ts_recent_stamp and later invocations of get_seconds(), change the type

Re: [2.6 patch] make sunrpc/xprtsock.c:xs_setup_{udp,tcp}() static

2007-10-24 Thread Chuck Lever
Adrian Bunk wrote: xs_setup_{udp,tcp}() can now become static. ACK. Sorry this was overlooked. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- include/linux/sunrpc/xprtsock.h |6 -- net/sunrpc/xprtsock.c |4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-)

[PATCH] Fix {clear,copy}_user_page() declarations in page.h

2008-02-14 Thread Chuck Lever
' is not at beginning of declaration Signed-off-by: Chuck Lever [EMAIL PROTECTED] Cc: Jeremy Fitzhardinge [EMAIL PROTECTED] --- include/asm-x86/page.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index 1cb7c51..a05b289 100644

Re: [PATCH] fix broken handling of port=... in NFS option parsing

2007-07-23 Thread Chuck Lever
ACK. Al Viro wrote: Obviously broken on little-endian; fortunately, the option is not frequently used... Signed-off-by: Al Viro [EMAIL PROTECTED] --- diff --git a/fs/nfs/super.c b/fs/nfs/super.c index b34b7a7..b2a851c 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -732,7 +732,7 @@

Re: request for patches: showing mount options

2007-07-27 Thread Chuck Lever
Miklos: Some mount options are never passed to the kernel, and thus can't appear in /proc/mounts. Examples include user, users, and _netdev for NFS. Miklos Szeredi wrote: [please consider pruning the CC list if discussing some aspect, which doesn't concern all] I've done an audit of all

Re: request for patches: showing mount options

2007-07-27 Thread Chuck Lever
Miklos Szeredi wrote: Some mount options are never passed to the kernel, and thus can't appear in /proc/mounts. Examples include user, users, and _netdev for NFS. These options control *who* may mount and *when* to mount. They are not a property of the mount itself and are not added to

[PATCH] Fix the sign of the result of a conditional expression

2007-08-15 Thread Chuck Lever
In include/asm-x86_64/bitops.h, the find_{first,next,first_zero,next_zero}_bit macros return a result type that depends on the width of the size argument. The type of both arms of a conditional expression should always be the same. I changed the return type of __scanbit() to match the return type

[PATCH] Eliminate result signage problem in asm-x86_64/bitops.h

2007-08-15 Thread Chuck Lever
/linux/include/linux/nodemask.h: In function ‘__first_unset_node’: /home/cel/src/linux/include/linux/nodemask.h:253: warning: signed and unsigned type in conditional expression Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- include/asm-x86_64/bitops.h |2 +- 1 files changed, 1 insertions

Re: [PATCH] Eliminate result signage problem in asm-x86_64/bitops.h

2007-08-15 Thread Chuck Lever
I apologize for sending a separate cover letter for a single patch. Andi Kleen wrote: On Wed, Aug 15, 2007 at 05:02:47PM -0400, Chuck Lever wrote: The return type of __scanbit() doesn't match the return type of find_{first,next}_bit(). Thus when you construct something like this: boolean

DMA CRC errors with SiS chipset and notebook drive

2007-08-09 Thread Chuck Lever
For various reasons I want a silent PC, so I'm using a notebook hard drive in my desktop system. I've recycled an ancient Foxconn Socket 754 mainboard in it with this IDE controller: 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01) (prog-if 80 [Master])

Re: DMA CRC errors with SiS chipset and notebook drive

2007-08-09 Thread Chuck Lever
Alan Cox wrote: Aug 9 07:41:29 monet kernel: ata1.00: limiting speed to UDMA/66:PIO4 Aug 9 07:41:29 monet kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 Aug 9 07:41:29 monet kernel: ata1.00: (BMDMA stat 0x64) Aug 9 07:41:29 monet kernel: ata1.00: cmd

Re: request for patches: showing mount options

2007-07-30 Thread Chuck Lever
Miklos Szeredi wrote: Some mount options are never passed to the kernel, and thus can't appear in /proc/mounts. Examples include user, users, and _netdev for NFS. These options control *who* may mount and *when* to mount. They are not a property of the mount itself and are not added to

Re: request for patches: showing mount options

2007-07-31 Thread Chuck Lever
Miklos Szeredi wrote: After a successful mount, the NFS mount command tucks some options into /etc/mtab that reflect which mountd was used for the mount, and what protocol version and port was used for the mount request. Those options are not passed to the kernel, and do not appear in

Re: request for patches: showing mount options

2007-07-31 Thread Chuck Lever
Miklos Szeredi wrote: After a successful mount, the NFS mount command tucks some options into /etc/mtab that reflect which mountd was used for the mount, and what protocol version and port was used for the mount request. Those options are not passed to the kernel, and do not appear in

[PATCH 1/2] VFS: New /proc file /proc/self/mountstats

2005-03-17 Thread Chuck Lever
to use while other processes are unmounting file systems. Version: Mon, 14 Mar 2005 17:06:04 -0500 Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- fs/namespace.c | 66 + fs/proc/base.c | 40 +++ include/linux

[PATCH 0/2] RFC: exporting per-superblock statistics to user space

2005-03-17 Thread Chuck Lever
We still have a need to provide iostat like statistics for NFS clients. Following are a couple of patches, against 2.6.11.3, which prototype an approach for providing this kind of data to user programs. I'd like some comment on the approach. 01-mountstats.patch adds a new file called

[PATCH 2/2] NFS: add I/O performance counters

2005-03-17 Thread Chuck Lever
Add an extensible per-superblock performance counter facility to the NFS client. This facility mimics the counters available for block devices and for networking. Expose these new counters via /proc/self/mountstats. Version: Mon, 14 Mar 2005 17:06:12 -0500 Signed-off-by: Chuck Lever

Re: 2.6.11 oops in skb_drop_fraglist

2005-03-21 Thread Chuck Lever
Andrew Morton wrote: Chuck Lever [EMAIL PROTECTED] wrote: testing NFS client workloads on a dual Pentium-III system running 2.6.11 with some NFS patches. i hit this oops while doing simple-minded ftps and tars. the system locks up once or twice a day under this workload. this is the first

2.6.11 oops in skb_drop_fraglist

2005-03-10 Thread Chuck Lever
testing NFS client workloads on a dual Pentium-III system running 2.6.11 with some NFS patches. i hit this oops while doing simple-minded ftps and tars. the system locks up once or twice a day under this workload. this is the first time i had the console and captured the oops output. Unable

Re: [NFS] [PATCH 010 of 14] knfsd: SUNRPC: add a generic function to see if the peer uses a secure port

2006-12-13 Thread Chuck Lever
On 12/12/06, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 13 Dec 2006 10:59:27 +1100 NeilBrown [EMAIL PROTECTED] wrote: From: Chuck Lever [EMAIL PROTECTED] The only reason svcsock.c looks at a sockaddr's port is to check whether the remote peer is connecting from a privileged port

Re: [NFS] [PATCH 2.6.19-rc6] sunrpc: fix race condition

2006-11-27 Thread Chuck Lever
On 11/27/06, Chris Caputo [EMAIL PROTECTED] wrote: From: Chris Caputo [EMAIL PROTECTED] [PATCH 2.6.19-rc6] sunrpc: fix race condition Patch linux-2.6.10-01-rpc_workqueue.dif introduced a race condition into net/sunrpc/sched.c in kernels 2.6.11-rc1 through 2.6.19-rc6. The race scenario is as

Re: [PATCH 0/3] lockd: use per-net refrence-counted NSM clients

2012-09-17 Thread Chuck Lever
On Sep 17, 2012, at 6:49 AM, Stanislav Kinsbursky wrote: 14.09.2012 23:10, Chuck Lever пишет: On Sep 14, 2012, at 1:38 PM, Myklebust, Trond wrote: On Fri, 2012-09-14 at 13:01 -0400, Chuck Lever wrote: What happens if statd is restarted? Nothing unusual. Why? The NSM upcall

Re: [PATCH 0/3] lockd: use per-net refrence-counted NSM clients

2012-09-14 Thread Chuck Lever
What happens if statd is restarted? Sent from my iPhone On Sep 14, 2012, at 10:25 AM, Stanislav Kinsbursky skinsbur...@parallels.com wrote: This is a bug fix for https://bugzilla.redhat.com/show_bug.cgi?id=830862. The problem is that with NFSv4 mount in container (with separated mount

Re: [PATCH 1/3] lockd: use rpc client's cl_nodename for id encoding

2012-09-14 Thread Chuck Lever
); Ditto. } static int nsm_xdr_dec_stat_res(struct rpc_rqst *rqstp, -- To unsubscribe from this list: send the line unsubscribe linux-nfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Chuck Lever chuck[dot]lever

Re: [PATCH 0/3] lockd: use per-net refrence-counted NSM clients

2012-09-14 Thread Chuck Lever
On Sep 14, 2012, at 1:38 PM, Myklebust, Trond wrote: On Fri, 2012-09-14 at 13:01 -0400, Chuck Lever wrote: What happens if statd is restarted? Nothing unusual. Why? The NSM upcall transport is a potential application for TCP + softconn, now that a persistent rpc_clnt is used. It just

Re: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9

2008-02-06 Thread Chuck Lever
Chuck Lever and Andrew Morton but i really wanted to thank Chuck for his precious help and thought that /akpm/ having signed this commit maybe he's going to figure out whats wrong easily The commit you found is a plausible source of the trouble (based on our current theory about the problem

[PATCH 00/11] RFC: Kconfig changes for NFS_FS and NFSD

2008-02-08 Thread Chuck Lever
Scratching my head to find an appropriate mailing list for review of some proposed NFS-related Kconfig changes. These have already seen some light on linux-nfs, but Herbert Xu suggested lkml for review by Kconfig experts. In addition to updating the help text, I've tried to untangle the entry

[PATCH 09/11] NFSD: Move select NFSD_V2_ACL if NFSD_V3_ACL

2008-02-08 Thread Chuck Lever
Clean up: since NFSD_V2_ACL is a boolean, it can be selected safely under the NFSD_V3_ACL entry (also a boolean). Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- fs/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/Kconfig b/fs/Kconfig index 32c84d9..21362e9

[PATCH 11/11] NLM: LOCKD fails to load if CONFIG_SYSCTL is not set

2008-02-08 Thread Chuck Lever
By the way, we've got another config-related nit here: http://bugzilla.linux-nfs.org/show_bug.cgi?id=156 You can build lockd without CONFIG_SYSCTL set, but then the module will fail to load. Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- fs/Kconfig |1 + fs/lockd/svc.c

Re: [PATCH 06/11] NFSD: Remove NFSv4 dependency on NFSv3

2008-02-08 Thread Chuck Lever
On Feb 8, 2008, at 3:20 PM, Sam Ravnborg wrote: On Fri, Feb 08, 2008 at 12:52:08PM -0500, Chuck Lever wrote: Clean up: Because NFSD_V4 depends on NFSD_V3, it appears as a child of the NFSD_V3 menu entry, and is not visible if NFSD_V3 is unselected. Replace the dependency on NFSD_V3

[PATCH 10/11] NFSD: Remove redundant select clauses in fs/Kconfig

2008-02-08 Thread Chuck Lever
of CONFIG_NFSD after this change is applied. Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- fs/Kconfig |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/Kconfig b/fs/Kconfig index 21362e9..f799964 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -1658,8 +1658,6 @@ config

[PATCH 05/11] SUNRPC: Update help Kconfig text

2008-02-08 Thread Chuck Lever
Clean up: refresh the help text for Kconfig items related to the sunrpc module. Remove obsolete URLs, and make the language consistent among the options. Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- fs/Kconfig | 44 +--- 1 files changed, 29

[PATCH 02/11] NFSD: Remove NFSD_TCP kernel build option

2008-02-08 Thread Chuck Lever
to disable NFSD's TCP support. Signed-off-by: Chuck Lever [EMAIL PROTECTED] --- fs/Kconfig | 10 -- fs/nfsd/nfssvc.c |2 -- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/fs/Kconfig b/fs/Kconfig index 4965fd8..9c2c24b 100644 --- a/fs/Kconfig +++ b/fs/Kconfig

Re: [patch 21/26] mount options: partially fix nfs

2008-01-28 Thread Chuck Lever
)); + + /* +* Missing options: +* port= +* mountport= +* mountvers= +* mountproto= +* clientaddr= +* mounthost= +* mountaddr= +*/ } /* -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list

Re: [PATCH 24/27] NFS: Use local caching [try #2]

2008-01-30 Thread Chuck Lever
Hi David- On Jan 29, 2008, at 10:25 PM, David Howells wrote: Chuck Lever [EMAIL PROTECTED] wrote: This patch really ought to be broken into more manageable atomic changes to make it easier to review, and to provide more fine-grained explanation and rationalization for each specific change via

Re: [patch] VFS: extend /proc/mounts

2008-01-17 Thread Chuck Lever
it or uses it. It can go away for all I care, as long as we retain some flexible mechanism for non-block-based file systems to report I/O stats. As far as I am aware, there are only two user utilities that understand and parse this data, and I maintain both. -- Chuck Lever chuck[dot]lever

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Chuck Lever
that is no longer working? -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Chuck Lever
On Jan 18, 2008, at 12:30 PM, Peter Staubach wrote: Chuck Lever wrote: On Jan 18, 2008, at 11:55 AM, Peter Staubach wrote: Chuck Lever wrote: Hi Peter- On Jan 18, 2008, at 10:35 AM, Peter Staubach wrote: Hi. Here is a patch set which modifies the system to enhance the ESTALE error handling

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Chuck Lever
Hi Peter- On Jan 18, 2008, at 12:30 PM, Peter Staubach wrote: Chuck Lever wrote: On Jan 18, 2008, at 11:55 AM, Peter Staubach wrote: Chuck Lever wrote: Hi Peter- On Jan 18, 2008, at 10:35 AM, Peter Staubach wrote: and the window in between the revalidation and the actual use of the file

Re: [patch 21/26] mount options: partially fix nfs

2008-01-24 Thread Chuck Lever
Hi Miklos- Miklos Szeredi wrote: From: Miklos Szeredi [EMAIL PROTECTED] Add posix, bsize=, namelen= options to /proc/mounts for nfs filesystems. Document several other options that are still missing. NFS lists only some options in /proc/mounts on purpose: only the essential options are

Re: [PATCH 24/27] NFS: Use local caching [try #2]

2008-01-24 Thread Chuck Lever
Some comments below. This patch really ought to be broken into more manageable atomic changes to make it easier to review, and to provide more fine-grained explanation and rationalization for each specific change via individual patch descriptions. David Howells wrote: The attached patch

Re: [patch 21/26] mount options: partially fix nfs

2008-01-25 Thread Chuck Lever
mount with the copied options, you should get the same mount. For NFS, umount also needs to read some of the options in order to determine how mountd is to connect to the server for the unmount. (That's why we have addr= in the first place). -- Chuck Lever chuck[dot]lever[at]oracle[dot]com

Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.

2007-02-02 Thread Chuck Lever
Roland Dreier wrote: They are mostly from Chuck Level and make preparating for IPv6 support in the NFS server. They are *not* for 2.6.20, but should be ok for .21. Out of curiousity, does this patch series reduce the delta between the NFS/RDMA tree and mainline Linux? In other words does

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-14 Thread Chuck Lever
Hi Chris- John Stoffel wrote: As a user of Netapps, having quotas (if only for reporting purposes) and some way to migrate non-used files to slower/cheaper storage would be great. Ie. being able to setup two pools, one being RAID6, the other being RAID1, where all currently accessed files are

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-15 Thread Chuck Lever
Chris Mason wrote: On Thu, Jun 14, 2007 at 02:20:26PM -0400, Chuck Lever wrote: NetApp happens to use the standard NDMP protocol for sending the flattened file system. NetApp uses it for synchronous replication, volume migration, and back up to nearline storage and tape. AFS used vol dump

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-20 Thread Chuck Lever
Al Viro wrote: On Wed, Jun 20, 2007 at 01:57:33PM -0700, H. Peter Anvin wrote: ... or, alternatively, add a subfield to the first field (which would entail escaping whatever separator we choose): /dev/md6 /export ext3 rw,data=ordered 0 0 /dev/md6:/users/foo /home/foo ext3 rw,data=ordered 0 0

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-20 Thread Chuck Lever
H. Peter Anvin wrote: Chuck Lever wrote: To support NFS client performance statistics, I recently added /proc/self/mountstats. That might be a place to add details about --move and --bind mounts without changing the format of /proc/mounts. I just looked at /proc/self/mountstats; it seems

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-20 Thread Chuck Lever
H. Peter Anvin wrote: Chuck Lever wrote: The advantage is that it doesn't have strong user space dependencies on its format like /proc/mounts does. If you have NFS mount points, you will see that it includes a great deal of additional information about each mount. OK, I see now: device

Re: [bisect] NFS regression breaks X

2007-05-10 Thread Chuck Lever
Trond Myklebust wrote: On Wed, 2007-05-09 at 15:52 -0700, Andrew Morton wrote: It's a bit rough that Jeff spent a large amount of time hunting down an already-known bug. That's normally my job :( The bug was reported by Florin Iucha (on lkml!) on Saturday. It has only just been debugged, and

[PATCH] register_shrinker: shrinker-nr_deferred is never freed

2013-10-11 Thread Chuck Lever
the shrinker is released. Signed-off-by: Chuck Lever chuck.le...@oracle.com --- mm/vmscan.c |1 + 1 file changed, 1 insertion(+) diff --git a/mm/vmscan.c b/mm/vmscan.c index 53f2f82..eea668d 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -211,6 +211,7 @@ void unregister_shrinker(struct shrinker

Re: [PATCH] xprtrdma: silence frame size warning

2014-01-13 Thread Chuck Lever
, and is already in plan. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
, and then you can rebase the gssproxy work on top of those. Let me know how you would like to proceed. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
On Apr 29, 2013, at 11:45 AM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 10:53:37AM -0400, Chuck Lever wrote: On Apr 28, 2013, at 9:24 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi J., After merging the nfsd tree, today's linux-next build (powerpc

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
On Apr 29, 2013, at 12:29 PM, Simo Sorce s...@redhat.com wrote: On Mon, 2013-04-29 at 12:05 -0400, Chuck Lever wrote: On Apr 29, 2013, at 11:45 AM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 10:53:37AM -0400, Chuck Lever wrote: On Apr 28, 2013, at 9:24 PM

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
On Apr 29, 2013, at 12:21 PM, Trond Myklebust trond.mykleb...@fys.uio.no wrote: On Mon, 2013-04-29 at 12:05 -0400, Chuck Lever wrote: On Apr 29, 2013, at 11:45 AM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 10:53:37AM -0400, Chuck Lever wrote: On Apr 28, 2013

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
On Apr 29, 2013, at 1:38 PM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 01:04:01PM -0400, Chuck Lever wrote: On Apr 29, 2013, at 12:21 PM, Trond Myklebust trond.mykleb...@fys.uio.no wrote: On Mon, 2013-04-29 at 12:05 -0400, Chuck Lever wrote: On Apr 29, 2013

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
On Apr 29, 2013, at 1:59 PM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 01:47:16PM -0400, Chuck Lever wrote: On Apr 29, 2013, at 1:38 PM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 01:04:01PM -0400, Chuck Lever wrote: On Apr 29, 2013

Re: linux-next: build failure after merge of the nfsd tree

2013-04-29 Thread Chuck Lever
On Apr 29, 2013, at 2:57 PM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 02:30:33PM -0400, Chuck Lever wrote: On Apr 29, 2013, at 1:59 PM, J. Bruce Fields bfie...@fieldses.org wrote: On Mon, Apr 29, 2013 at 01:47:16PM -0400, Chuck Lever wrote: On Apr 29, 2013

Re: 3.10-rc3 NFSv3 mount issues

2013-05-30 Thread Chuck Lever
for this. See: http://marc.info/?l=linux-nfsm=136855668104598w=2 Trond, can we get this applied? -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] NFSv4: Use exponential backoff delay for NFS4_ERRDELAY

2013-04-25 Thread Chuck Lever
to the minimum of 0.25x the lease time and 0.25x the RPC retransmit time out. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] NFSv4: Use exponential backoff delay for NFS4_ERRDELAY

2013-04-25 Thread Chuck Lever
to a destination server. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH] NFSv4: Use exponential backoff delay for NFS4_ERRDELAY

2013-04-25 Thread Chuck Lever
On Apr 25, 2013, at 2:46 PM, bfie...@fieldses.org bfie...@fieldses.org wrote: On Thu, Apr 25, 2013 at 02:40:11PM -0400, Chuck Lever wrote: On Apr 25, 2013, at 2:19 PM, bfie...@fieldses.org bfie...@fieldses.org wrote: On Thu, Apr 25, 2013 at 02:10:36PM +, Myklebust, Trond wrote

Re: [RFC 11/32] xfs: convert to struct inode_time

2014-06-02 Thread Chuck Lever
timestamp is transmitted as zero, and a large timestamp is transmitted as UINT_MAX. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [RFC 11/32] xfs: convert to struct inode_time

2014-06-02 Thread Chuck Lever
On Jun 2, 2014, at 2:58 PM, Roger Willcocks ro...@filmlight.ltd.uk wrote: On Mon, 2014-06-02 at 11:04 -0400, Chuck Lever wrote: NFSv2/3 timestamps are a pair of unsigned 32-bit values: one value for seconds since midnight GMT Jan 1, 1970, and one value for nanoseconds. (See

Re: status of block-integrity

2014-01-07 Thread Chuck Lever
for it has been a long time missing. Before we throw the baby out with the bath water, maybe Darrick can fill us in on the progress of the aio passthrough interface? I haven't made much progress on it -- I haven't seen any earnest demand for it. Last year Chuck Lever said that some NFS

Re: [PATCH v2] nfs-rdma: Fix for FMR leaks

2014-04-15 Thread Chuck Lever
) was seen during a code review while debugging issue(2). Signed-off-by: Allen Andrews allen.andr...@emulex.com Reviewed-by: Chuck Lever chuck.le...@oracle.com --- net/sunrpc/xprtrdma/verbs.c | 73 ++- 1 files changed, 38 insertions(+), 35 deletions

Re: [PATCH] nfs-rdma: Fix for FMR leaks

2014-04-11 Thread Chuck Lever
: + break; + } + } + kfree(buf-rb_pool); } -- To unsubscribe from this list: send the line unsubscribe linux-nfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Chuck Lever

Re: 3.17-rc1 oops during network interface configuration

2014-09-30 Thread Chuck Lever
On Sep 29, 2014, at 3:00 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Mon, 2014-09-29 at 14:52 -0400, Chuck Lever wrote: Is there a bugzilla report filed for this issue? Has there been any progress towards a fix? This is fixed in Linus tree. http://git.kernel.org/cgit/linux

Re: [PATCH 2/2] KEYS: request_key() should reget expired keys rather than give EKEYEXPIRED

2014-11-19 Thread Chuck Lever
gives error EKEYEXPIRED, but with the command it gives a new key. Reported-by: Carl Hetherington c...@carlh.net Reported-by: Chuck Lever chuck.le...@oracle.com Signed-off-by: David Howells dhowe...@redhat.com Tested-by: Chuck Lever chuck.le...@oracle.com These two patches seem to behave as well

Re: 3.17-rc1 oops during network interface configuration

2014-09-09 Thread Chuck Lever
More majordomo info at http://vger.kernel.org/majordomo-info.html -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: 3.17-rc1 oops during network interface configuration

2014-09-29 Thread Chuck Lever
On Sep 10, 2014, at 3:42 AM, Or Gerlitz ogerl...@mellanox.com wrote: On 9/9/2014 10:30 PM, Chuck Lever wrote: This crash happens when booting v3.17-rcN on any of my IB-enabled systems. I have both ConnectX-2 and mthca systems, all are affected. I bisected this to: commit

Re: [RFC PATCH 00/14] nfsd/sunrpc: add support for a workqueue-based nfsd

2014-12-03 Thread Chuck Lever
is run. With CPU-intensive workloads, it’s often the case that hundreds of usecs elapse, and the awoken process is migrated to another CPU (observed via ftrace). -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v2 00/16] nfsd/sunrpc: add support for a workqueue-based nfsd

2014-12-10 Thread Chuck Lever
://vger.kernel.org/majordomo-info.html -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Chuck Lever
() instead. + */ + queue_delayed_work(rds_wq, conn-c_send_w, 0); } } -- 1.7.1 -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: NFS client broken in 4.1.0-rc2

2015-05-15 Thread Chuck Lever
; } } # endif /* HAVE_UTIMENSAT */ -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: NFS client broken in 4.1.0-rc2

2015-05-20 Thread Chuck Lever
On May 20, 2015, at 7:22 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, May 15, 2015 at 03:50:14PM +0100, Russell King - ARM Linux wrote: On Fri, May 15, 2015 at 10:26:48AM -0400, Chuck Lever wrote: On May 15, 2015, at 10:24 AM, Russell King - ARM Linux li

Re: [PATCH v3 5/5] sunrpc: turn swapper_enable/disable functions into rpc_xprt_ops

2015-06-03 Thread Chuck Lever
versions are no-ops that just return -EINVAL on an attempt to swapon. Cc: Chuck Lever chuck.le...@oracle.com Signed-off-by: Jeff Layton jeff.lay...@primarydata.com Thanks, Jeff, that works for me. Reviewed-by: Chuck Lever chuck.le...@oracle.com --- include/linux/sunrpc/xprt.h | 16

Re: [PATCH v2 5/5] sunrpc: turn swapper_enable/disable functions into rpc_xprt_ops

2015-06-03 Thread Chuck Lever
, so the xs_swapper_enable/disable functions will likely oops when fed an RDMA xprt. Turn these functions into rpc_xprt_ops so that that doesn't occur. For now the RDMA versions are no-ops. Cc: Chuck Lever chuck.le...@oracle.com Signed-off-by: Jeff Layton jeff.lay...@primarydata.com

Re: [PATCH 2/4] sunrpc: make xprt-swapper an atomic_t

2015-05-30 Thread Chuck Lever
of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Chuck Lever chuck[dot]lever[at]oracle[dot]com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: Documentation: rpcrdma: Merge svcrdma and xprtrdma modules into one

2015-07-06 Thread Chuck Lever
by reverting commit 731d5cca8272. -- Chuck Lever -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Chuck Lever
d any other conflicting commits) in it and merge that into >>>> both trees. >>> >>> So, on further inspection, it appears that there is a series of commits >>> in the rdma tree that does basically the same as that nfsd tree commit >>> above. So I have dro

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Chuck Lever
> On Jan 6, 2016, at 7:01 AM, Chuck Lever <chuck.le...@oracle.com> wrote: > > >> On Jan 4, 2016, at 2:36 PM, J. Bruce Fields <bfie...@fieldses.org> wrote: >> >> On Sun, Jan 03, 2016 at 09:53:20PM -0500, Doug Ledford wrote: >>> On 01/03/20

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Chuck Lever
> On Jan 6, 2016, at 7:15 AM, Christoph Hellwig <h...@lst.de> wrote: > > On Wed, Jan 06, 2016 at 07:01:14AM -0500, Chuck Lever wrote: >> Part of the plan was that Doug's tree would be merged before >> Bruce's. But the above problem description looks like the >

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Chuck Lever
> On Jan 6, 2016, at 9:46 AM, Or Gerlitz <ogerl...@mellanox.com> wrote: > > On 1/6/2016 4:24 PM, Chuck Lever wrote: >> Actually, one of Or's for-4.5 devattr patches doesn't appear to have the >> proper Ack's for the changes under net/sunrpc/xprtrdma either. >

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Chuck Lever
> On Jan 6, 2016, at 10:52 AM, Or Gerlitz <ogerl...@mellanox.com> wrote: > > On 1/6/2016 5:20 PM, Chuck Lever wrote: >>> Chuck, >>> > >>> >Lets be concrete... anything wrong with patch [1]? >> Yes. It is missing Acked-by: lines from the main

  1   2   >