Re: Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-10-04 Thread Andriy Gapon
I've written a patch that implements zfs_vptocnp() using z_parent property. The new code should be 100% reliable for directories and "mostly" reliable for files (that is, when hardlinks across directories are not used). Could you please review / test it? https://reviews.freebsd.org/D8146

Re: Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-09-04 Thread Andriy Gapon
On 04/09/2016 17:51, Konstantin Belousov wrote: > It is only masked when name cache has an entry for the vnode. So sometimes > vn_fullpath() should be broken even if no normalization is applied. Yes, this is true. > OTOH, classic filesystems like UFS do not have any other means to translate >

Re: Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-09-04 Thread Konstantin Belousov
On Sun, Sep 04, 2016 at 04:11:39PM +0300, Andriy Gapon wrote: > On 04/09/2016 11:24, Andriy Gapon wrote: > > On 27/08/2016 22:09, Frederic Chardon wrote: > >>> Anybody is able to reproduce this behavior or is it a local problem? > >> Reverting 303970 solves this issue. gcore and adb works again,

Re: Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-09-04 Thread Andriy Gapon
On 04/09/2016 11:24, Andriy Gapon wrote: > On 27/08/2016 22:09, Frederic Chardon wrote: >>> Anybody is able to reproduce this behavior or is it a local problem? >> Reverting 303970 solves this issue. gcore and adb works again, and I >> can start the vboxnet service. >> I recreated my boot pool

Re: Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-09-04 Thread Andriy Gapon
On 27/08/2016 22:09, Frederic Chardon wrote: >> Anybody is able to reproduce this behavior or is it a local problem? > Reverting 303970 solves this issue. gcore and adb works again, and I > can start the vboxnet service. > I recreated my boot pool with no properties defined, just to be sure. I

Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-08-27 Thread Frederic Chardon
2016-08-25 13:29 GMT+02:00 Frederic Chardon : > > Le 23 août 2016 20:24, "Frederic Chardon" a > écrit : >> >> 2016-08-23 19:35 GMT+02:00 Frederic Chardon : >> > 2016-08-23 9:35 GMT+02:00 Konstantin Belousov

Re: kern.proc.pathname failure while booting from zfs

2016-08-25 Thread Frederic Chardon
Le 23 août 2016 20:24, "Frederic Chardon" a écrit : > > 2016-08-23 19:35 GMT+02:00 Frederic Chardon : > > 2016-08-23 9:35 GMT+02:00 Konstantin Belousov : > >> On Tue, Aug 23, 2016 at 09:27:56AM +0200, Frederic Chardon

Re: kern.proc.pathname failure while booting from zfs

2016-08-23 Thread Frederic Chardon
2016-08-23 19:35 GMT+02:00 Frederic Chardon : > 2016-08-23 9:35 GMT+02:00 Konstantin Belousov : >> On Tue, Aug 23, 2016 at 09:27:56AM +0200, Frederic Chardon wrote: >>> Le 20 ao??t 2016 22:03, "Frederic Chardon" a >>>

Re: kern.proc.pathname failure while booting from zfs

2016-08-23 Thread Frederic Chardon
2016-08-23 9:35 GMT+02:00 Konstantin Belousov : > On Tue, Aug 23, 2016 at 09:27:56AM +0200, Frederic Chardon wrote: >> Le 20 ao??t 2016 22:03, "Frederic Chardon" a >> ??crit : >> > >> > Hi >> > >> > I see a strange interaction between zfs on root

Re: kern.proc.pathname failure while booting from zfs

2016-08-23 Thread Konstantin Belousov
On Tue, Aug 23, 2016 at 09:27:56AM +0200, Frederic Chardon wrote: > Le 20 ao??t 2016 22:03, "Frederic Chardon" a > ??crit : > > > > Hi > > > > I see a strange interaction between zfs on root and kern.proc.pathname > > on my laptop. Whenever I try to use gcore it fails

Re: kern.proc.pathname failure while booting from zfs

2016-08-23 Thread Frederic Chardon
Le 20 août 2016 22:03, "Frederic Chardon" a écrit : > > Hi > > I see a strange interaction between zfs on root and kern.proc.pathname > on my laptop. Whenever I try to use gcore it fails with: > gcore 1023 > gcore: kern.proc.pathname failure > > However, gcore

kern.proc.pathname failure while booting from zfs

2016-08-20 Thread Frederic Chardon
Hi I see a strange interaction between zfs on root and kern.proc.pathname on my laptop. Whenever I try to use gcore it fails with: gcore 1023 gcore: kern.proc.pathname failure However, gcore /usr/local/bin/zsh 1023 is working properly. I made some tests booting from usb stick (fresh