From owner-freebsd-current@FreeBSD.ORG Sat Apr 21 03:05:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A84F216A400; Sat, 21 Apr 2007 03:05:55 +0000 (UTC) (envelope-from sepotvin@FreeBSD.org) Received: from toq10-srv.bellnexxia.net (toq10.bellnexxia.net [209.226.175.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2377813C4B8; Sat, 21 Apr 2007 03:05:54 +0000 (UTC) (envelope-from sepotvin@FreeBSD.org) Received: from toip37-bus.srvr.bell.ca ([67.69.240.38]) by tomts33-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070421021907.VUNU1829.tomts33-srv.bellnexxia.net@toip37-bus.srvr.bell.ca>; Fri, 20 Apr 2007 22:19:07 -0400 Received: from unknown (HELO mail.telcobridges.com) ([67.70.237.76]) by toip37-bus.srvr.bell.ca with ESMTP; 20 Apr 2007 22:19:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAOgRKUZDRu1M/2dsb2JhbAA Received: from [192.168.0.100] (modemcable120.208-83-70.mc.videotron.ca [70.83.208.120]) (authenticated bits=0) by mail.telcobridges.com (8.13.3/8.13.3) with ESMTP id l3L2J53j080250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 20 Apr 2007 22:19:06 -0400 (EDT) (envelope-from sepotvin@FreeBSD.org) Message-ID: <46297494.5050104@FreeBSD.org> Date: Fri, 20 Apr 2007 22:19:00 -0400 From: "Stephane E. Potvin" Organization: FreeBSD User-Agent: Thunderbird 1.5.0.10 (X11/20070416) MIME-Version: 1.0 To: freebsd-current@FreeBSD.org X-Enigmail-Version: 0.94.3.0 Content-Type: multipart/mixed; boundary="------------040905070709090605040409" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Greg Lewis , Pawel Jakub Dawidek Subject: ZFS, procfs and java X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 03:05:55 -0000 This is a multi-part message in MIME format. --------------040905070709090605040409 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It seems that the ZFS cache (dnlc) doesn't update the VSF_namecache fields in the vnodes (v_cache_src, v_cache_dst and v_dd). This unfortunately causes the file link in /proc/curproc to return "unknown" as it uses vn_fullpath which relies on the namecache fields to be set correctly. Java uses /proc/curproc/file to know where to find its libraries and doesn't expect the "unknown" return value returned when using ZFS (due to vn_fullpath failing). The attached patches to the java/jdk15 port fixes this issue but it doesn't fix the root of the problem. Would it be possible to add support in dnlc for updating the VFS namecache fields or to add knowledge of dnlc into vn_fullpath? Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGKXSMmdOXtTCX/nsRAgZkAJ9sLwdGsOXMNFAa4etkDFntlZl1IACg/Nzj pcW5y691zGlxv+ZRFq5ADKs= =XCss -----END PGP SIGNATURE----- --------------040905070709090605040409 Content-Type: application/octet-stream; name="patch-j2se::src::solaris::bin::java_md.c.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-j2se::src::solaris::bin::java_md.c.sig" iD8DBQBGKXSMmdOXtTCX/nsRAvRbAKC+MUiLGyfN7Lh0G1ZU3UB7NicDGACeMRXeSNXzc/kk h6Mzq5n94D/5nRk= --------------040905070709090605040409 Content-Type: application/octet-stream; name*0="patch-deploy::src::javaws::solaris::native::system_md.c.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="patch-deploy::src::javaws::solaris::native::system_md.c.sig" iD8DBQBGKXSMmdOXtTCX/nsRAoEOAJ4/23kZrNas1CqWFGLHUNU42Vdm/gCgsioZJkJB+s1h +x3mct+nBMmVNTA= --------------040905070709090605040409--