NetBSD Problem Report #33990
From martin@aprisoft.de Thu Jul 13 12:24:11 2006
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 4D64C63B896
for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Jul 2006 12:24:11 +0000 (UTC)
Message-Id: <20060713122407.7B64CAF5824@emmas.aprisoft.de>
Date: Thu, 13 Jul 2006 14:24:07 +0200 (CEST)
From: martin@duskware.de
Reply-To: martin@duskwre.de
To: gnats-bugs@NetBSD.org
Subject: NFS code assumes static file handle size
X-Send-Pr-Version: 3.95
>Number: 33990
>Category: kern
>Synopsis: NFS code assumes static file handle size
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 13 12:25:00 +0000 2006
>Last-Modified: Thu Jul 13 12:30:00 +0000 2006
>Originator: Martin Husemann
>Release: NetBSD 3.99.21
>Organization:
>Environment:
System: NetBSD martins.aprisoft.de 3.99.21 NetBSD 3.99.21 (MARTINS) #0: Thu Jun 29 18:07:35 CEST 2006 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/MARTINS amd64
Architecture: x86_64
Machine: amd64
>Description:
The NFS server code assumes the local host has a fixed size of filehandles.
This is not true in -current anymore.
We should consider to adapt the code better and get rid of constant NFSX_V3FH
and instead use the real fid-size in use on the exported filesystem.
>How-To-Repeat:
code inspection
>Fix:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/33990: NFS code assumes static file handle size
Date: Thu, 13 Jul 2006 14:26:53 +0200
I forgot to mention: the assumed static filehandle size is not big enough
for example on amd64 machines exporting CODA (does that make sense?) or
NTFS file systems.
Martin
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.