svn commit: r276008 - in head/sys: kern sys

Andriy Gapon avg at FreeBSD.org
Sun Dec 21 14:46:28 UTC 2014


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


More information about the svn-src-all mailing list