Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2014 16:45:28 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r276008 - in head/sys: kern sys
Message-ID:  <5496DD08.7060201@FreeBSD.org>
In-Reply-To: <20141221144154.GW2148@kib.kiev.ua>
References:  <201412211332.sBLDW8VC030548@svn.freebsd.org> <5496D86D.7070209@FreeBSD.org> <20141221144154.GW2148@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5496DD08.7060201>