From owner-svn-src-head@FreeBSD.ORG Sun Dec 21 14:46:28 2014 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36587554; Sun, 21 Dec 2014 14:46:28 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1CCC13A76; Sun, 21 Dec 2014 14:46:26 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA05309; Sun, 21 Dec 2014 16:48:19 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Y2hm5-000PgR-0D; Sun, 21 Dec 2014 16:46:25 +0200 Message-ID: <5496DD08.7060201@FreeBSD.org> Date: Sun, 21 Dec 2014 16:45:28 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: svn commit: r276008 - in head/sys: kern sys References: <201412211332.sBLDW8VC030548@svn.freebsd.org> <5496D86D.7070209@FreeBSD.org> <20141221144154.GW2148@kib.kiev.ua> In-Reply-To: <20141221144154.GW2148@kib.kiev.ua> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 14:46:28 -0000 On 21/12/2014 16:41, Konstantin Belousov wrote: > On Sun, Dec 21, 2014 at 04:25:49PM +0200, Andriy Gapon wrote: >> On 21/12/2014 15:32, Konstantin Belousov wrote: >>> Author: kib >>> Date: Sun Dec 21 13:32:07 2014 >>> New Revision: 276008 >>> URL: https://svnweb.freebsd.org/changeset/base/276008 >>> >>> Log: >>> Add VN_OPEN_NAMECACHE flag for vn_open_cred(9), which requests that >>> the created file name was cached. Use the flag for core dumps. >> >> Just curious about a rationale for using the new flag for core dumps. >> Sorry if I missed any public discussion about this and that I wasn't able to >> figure out the rationale myself. > > I am not sure I understand the question. Are you asking or objecting ? Asking. > Is this a question about new flag being used vs. detecting the core > dumps by some other means ? > > Or, are you asking why caching of the name could be needed for > core dump files at all ? Sort of. Why VN_OPEN_NAMECACHE is useful in the case of core dumps? What does it make better? -- Andriy Gapon