Date: Wed, 11 Nov 2015 09:24:51 -0800 From: Conrad Meyer <cem@FreeBSD.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Ivan Radovanovic <radovanovic@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Detecting new file name after receiving kevent's NOTE_RENAME Message-ID: <CAG6CVpUV4=6ZZnfXJnnkmFFV2gQrktxBUa73dK6EWrsYb6=V7w@mail.gmail.com> In-Reply-To: <20151111105656.GX2257@kib.kiev.ua> References: <5641A2A5.7070909@gmail.com> <20151110081421.GL2257@kib.kiev.ua> <56426054.2070007@gmail.com> <20151111105656.GX2257@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 11, 2015 at 2:56 AM, Konstantin Belousov <kostikbel@gmail.com> wrote: > It is up to filesystem to cache or not cache the file name entry. > If filesystem does not insert the name entry into namecache on rename, > there is nothing which could help vn_fullpath(9) to return a path. Besides vn_vptocnp? I thought vn_fullpath(9) should always succeed since 10.0 if the vnode still exists. Best, Conrad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUV4=6ZZnfXJnnkmFFV2gQrktxBUa73dK6EWrsYb6=V7w>