Re: (fwd) nfs hang on 2.6.24

2008-02-05 Thread Andrew Dixie
The fact that the delegreturn call appears to have hit xprt_timer is interesting. Under normal circumstances, timeouts should never occur under NFSv4. Could you tell us what mount options you're using here? Also please could you confirm for us that the server is still up and responding to request

Re: NFS+krb5: Failed to create krb5 context for user with uid 0

2008-02-05 Thread Kevin Coffman
On Feb 5, 2008 8:51 PM, Luke Cyca <[EMAIL PROTECTED]> wrote: > Hello NFS List, > > I've been trying to set up some linux clients to work with a Mac OS X > 10.5 (Leopard) server. So far I've made some good progress, but run > into a few problems with Kerberized NFS. I have the ssh server on > the

Re: [PATCH 2/2] NLM: Convert lockd to use kthreads

2008-02-05 Thread Christoph Hellwig
On Tue, Feb 05, 2008 at 02:37:57PM -0500, Jeff Layton wrote: > Because kthread_stop blocks until the kthread actually goes down, > we have to send the signal before calling it. This means that there > is a very small race window like this where lockd_down could block > for a long time: > > lockd_d

NFS+krb5: Failed to create krb5 context for user with uid 0

2008-02-05 Thread Luke Cyca
Hello NFS List, I've been trying to set up some linux clients to work with a Mac OS X 10.5 (Leopard) server. So far I've made some good progress, but run into a few problems with Kerberized NFS. I have the ssh server on the linux client fully kerberized with ticket forwarding. I also h

Re: [PATCH 01/10] NFS: Always enable NFS direct I/O

2008-02-05 Thread Greg Banks
Chuck Lever wrote: > Since O_DIRECT is a standard feature that is enabled in most distros, > eliminate the CONFIG_NFS_DIRECTIO build option, and change the > fs/nfs/Makefile to always build in the NFS direct I/O engine. > > Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> > --- > Looks good to me

Re: [PATCH 4/5] NFSD: Remove NFSD_TCP kernel build option

2008-02-05 Thread J. Bruce Fields
On Wed, Feb 06, 2008 at 10:05:39AM +1100, Greg Banks wrote: > Frank van Maarseveen wrote: > > Last time I checked (around 2.6.22) writing large files on NFSv3 over > > UDP was 20% faster compared to TCP (Gb LAN with one switch connecting > > all machines). > > > Did all of your file arrive at th

Re: [PATCH 4/5] NFSD: Remove NFSD_TCP kernel build option

2008-02-05 Thread Greg Banks
Frank van Maarseveen wrote: > On Tue, Feb 05, 2008 at 04:49:39PM +1100, Greg Banks wrote: > >> Chuck Lever wrote: >> >>> On Feb 4, 2008, at 7:29 PM, Greg Banks wrote: >>> Trond Myklebust wrote: > On Tue, 2008-02-05 at 11:19 +1100, Greg Banks wrote: > >

Re: [NFS] Where is Tom Tucker's git tree gone?

2008-02-05 Thread James Lentini
On Tue, 5 Feb 2008, Shirish Pargaonkar wrote: > On 1/30/08, Tom Tucker <[EMAIL PROTECTED]> wrote: > > > > I renamed it xprt-switch-2.6.git. Sorry for the confusion. > > > > > > On 1/24/08 1:14 PM, "Shirish Pargaonkar" <[EMAIL PROTECTED]> > > wrote: > > > > > Hello, > > > > > > I can't clone git:

Re: [NFS] Where is Tom Tucker's git tree gone?

2008-02-05 Thread Shirish Pargaonkar
On 1/30/08, Tom Tucker <[EMAIL PROTECTED]> wrote: > > I renamed it xprt-switch-2.6.git. Sorry for the confusion. > > > On 1/24/08 1:14 PM, "Shirish Pargaonkar" <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > I can't clone git://linux-nfs.org/~tomtucker/nfs-rdma-dev-2.6.git. > > It is gone. > > Wh

Re: (fwd) nfs hang on 2.6.24

2008-02-05 Thread Trond Myklebust
On Tue, 2008-02-05 at 10:01 +0100, maximilian attems wrote: > please take a look > > - Forwarded message from Andrew Dixie <[EMAIL PROTECTED]> - > > Date: Tue, 5 Feb 2008 12:57:37 +1300 (NZDT) > Subject: nfs hang on 2.6.24 > From: Andrew Dixie <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] >

Re: [PATCH 00/10] RFC: NFS-related fs/Kconfig updates

2008-02-05 Thread Chuck Lever
On Feb 5, 2008, at 3:30 PM, J. Bruce Fields wrote: On Tue, Feb 05, 2008 at 01:08:28PM -0500, Chuck Lever wrote: Another pass at cleaning up the NFS and NFSD entries in fs/Kconfig. Comments / suggestions? "Another pass" isn't clearly a "please apply if there are no objections", so I assume you

Re: [PATCH 00/10] RFC: NFS-related fs/Kconfig updates

2008-02-05 Thread J. Bruce Fields
On Tue, Feb 05, 2008 at 01:08:28PM -0500, Chuck Lever wrote: > Another pass at cleaning up the NFS and NFSD entries in fs/Kconfig. > > Comments / suggestions? "Another pass" isn't clearly a "please apply if there are no objections", so I assume you're not done? The help text changes and the chan

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

2008-02-05 Thread J. Bruce Fields
On Tue, Feb 05, 2008 at 01:09:12PM -0500, Chuck Lever wrote: > 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. Are you really convinced this is a problem? --b. > > Replace the dependency on NFSD_V3 with a "sel

[PATCH 1/2] SUNRPC: export svc_sock_update_bufs

2008-02-05 Thread Jeff Layton
Needed since the plan is to not have a svc_create_thread helper and to have current users of that function just call kthread_run directly. Signed-off-by: Jeff Layton <[EMAIL PROTECTED]> Reviewed-by: NeilBrown <[EMAIL PROTECTED]> Signed-off-by: J. Bruce Fields <[EMAIL PROTECTED]> --- net/sunrpc/sv

[PATCH 2/2] NLM: Convert lockd to use kthreads

2008-02-05 Thread Jeff Layton
Have lockd_up start lockd using kthread_run. With this change, lockd_down now blocks until lockd actually exits, so there's no longer need for the waitqueue code at the end of lockd_down. This also means that only one lockd can be running at a time which simplifies the code within lockd's main loop

[PATCH 0/2] convert lockd to kthread API (try #9)

2008-02-05 Thread Jeff Layton
This is the ninth iteration of the patchset to convert lockd to use the kthread API. This patchset is smaller than the earlier ones since some of the patches in those sets have already been taken into Bruce's tree. This set only changes lockd to use the kthread API. The patch here is pretty close

Re: [NFS] [PATCH] Make UDF exportable

2008-02-05 Thread Rasmus Rohde
> +static struct dentry *udf_fh_to_parent(struct super_block *sb, > +struct fid *fid, int fh_len, int fh_type) > +{ > + if (fh_len != 5 || fh_type != FILEID_UDF_WITHOUT_PARENT) ^^^ Argh - this should hav

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

2008-02-05 Thread Chuck Lever
As far as I can tell, selecting the CRYPTO and CRYPTO_MD5 entries under CONFIG_NFSD is redundant, since CONFIG_NFSD_V4 already selects RPCSEC_GSS_KRB5, which selects these entries. Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> --- fs/Kconfig |2 -- 1 files changed, 0 insertions(+), 2 deleti

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

2008-02-05 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 faf5620..165308d

[PATCH 07/10] NFSD: Use "depends on" for PROC_FS dependency

2008-02-05 Thread Chuck Lever
Recently a reverse dependency was added to fs/Kconfig to ensure that PROC_FS was enabled if NFSD_V4 was enabled. There is a guideline in Documentation/kbuild/kconfig-language.txt that states "In general use select only for non-visible symbols (no prompts anywhere) and for symbols with no dependenc

[PATCH 08/10] NFSD: Move "select FS_POSIX_ACL if NFSD_V4"

2008-02-05 Thread Chuck Lever
Clean up: since FS_POSIX_ACL is a boolean, it can be selected safely under the NFSD_V4 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 5f00ee7..faf5620 10

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

2008-02-05 Thread Chuck Lever
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 with a "select NFSD_V3". Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> --- fs/Kconfig |3 ++- 1 files changed, 2 insertions(

[PATCH 04/10] NFSD: Update help text for CONFIG_NFSD

2008-02-05 Thread Chuck Lever
Refresh the help text for Kconfig items related to the NFS server. Remove obsolete URLs, and make the language consistent among the options. Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> --- fs/Kconfig | 76 +--- 1 files changed, 47 ins

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

2008-02-05 Thread Chuck Lever
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 insertions(+), 15

[PATCH 03/10] NFS: Update help text for CONFIG_NFS_FS

2008-02-05 Thread Chuck Lever
Refresh the help text for Kconfig items related to the NFS client. Remove obsolete URLs, and make the language consistent among the options. Also move the ROOT_NFS config option next to the options related to the NFS client. Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> --- fs/Kconfig | 115

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

2008-02-05 Thread Chuck Lever
TCP support in the Linux NFS server is stable enough that we can leave it on always. CONFIG_NFSD_TCP adds about 10 lines of code, and defaults to "Y" anyway. A run-time switch might be more appropriate if people feel they would like to disable NFSD's TCP support. Signed-off-by: Chuck Lever <[EMA

[PATCH 01/10] NFS: Always enable NFS direct I/O

2008-02-05 Thread Chuck Lever
Since O_DIRECT is a standard feature that is enabled in most distros, eliminate the CONFIG_NFS_DIRECTIO build option, and change the fs/nfs/Makefile to always build in the NFS direct I/O engine. Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> --- fs/Kconfig| 24

[PATCH 00/10] RFC: NFS-related fs/Kconfig updates

2008-02-05 Thread Chuck Lever
Another pass at cleaning up the NFS and NFSD entries in fs/Kconfig. Comments / suggestions? -- corporate: - To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 4/5] NFSD: Remove NFSD_TCP kernel build option

2008-02-05 Thread Frank van Maarseveen
On Tue, Feb 05, 2008 at 12:50:39PM -0500, Trond Myklebust wrote: > > On Tue, 2008-02-05 at 16:50 +0100, Frank van Maarseveen wrote: > > Last time I checked (around 2.6.22) writing large files on NFSv3 over > > UDP was 20% faster compared to TCP (Gb LAN with one switch connecting > > all machines).

Re: [PATCH 4/5] NFSD: Remove NFSD_TCP kernel build option

2008-02-05 Thread Trond Myklebust
On Tue, 2008-02-05 at 16:50 +0100, Frank van Maarseveen wrote: > Last time I checked (around 2.6.22) writing large files on NFSv3 over > UDP was 20% faster compared to TCP (Gb LAN with one switch connecting > all machines). > > TCP and its timeout/retransmission behavior isn't always the best cho

Re: [PATCH 4/5] NFSD: Remove NFSD_TCP kernel build option

2008-02-05 Thread Frank van Maarseveen
On Tue, Feb 05, 2008 at 04:49:39PM +1100, Greg Banks wrote: > Chuck Lever wrote: > > On Feb 4, 2008, at 7:29 PM, Greg Banks wrote: > >> Trond Myklebust wrote: > >>> On Tue, 2008-02-05 at 11:19 +1100, Greg Banks wrote: > >>> > Chuck Lever wrote: > > > TCP support in the Linux NFS serve

Re: [NFS] [PATCH] Make UDF exportable

2008-02-05 Thread Christoph Hellwig
On Wed, Jan 30, 2008 at 09:53:24PM +0100, Rasmus Rohde wrote: > I've cooked together a patch for making UDF exportable. Thanks, I know some people have been waiting for this for quite a while. Please make sure Jan Kara who's the new udf maintainer and linux-fsdevel where we discuss general filesys

(fwd) nfs hang on 2.6.24

2008-02-05 Thread maximilian attems
please take a look - Forwarded message from Andrew Dixie <[EMAIL PROTECTED]> - Date: Tue, 5 Feb 2008 12:57:37 +1300 (NZDT) Subject: nfs hang on 2.6.24 From: Andrew Dixie <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] I've recently updated to 2.6.24 as recommended on bug 463508. But the new k