Re: files disappearing from ls on NFS

2013-05-28 Thread Rick Macklem
s problem for head kernels between r248567-r251078 and stable/9 kernels from r249078 (Apr. 4) until a week from now. Sorry for any inconvenience and thanks go to Hartmut for his help isolating this, rick > RM> > RM>rick > RM> > RM>> harti > RM>> > RM>>

Re: files disappearing from ls on NFS

2013-05-20 Thread John Baldwin
On Wednesday, May 15, 2013 4:38:38 am Hartmut Brandt wrote: > On Wed, 15 May 2013, Rick Macklem wrote: > > RM>Well, getdents() basically just calls kern_getdirentries() and it calls > RM>VOP_READDIR() { which is called nfs_readdir() in the NFS clients }. > RM>nfs_readdir() calls ncl_bioread() to

Re: files disappearing from ls on NFS

2013-05-15 Thread Hartmut Brandt
riginal Message- RM>> From: Rick Macklem [mailto:rmack...@uoguelph.ca] RM>> Sent: Tuesday, May 14, 2013 2:50 PM RM>> To: Brandt, Hartmut RM>> Cc: curr...@freebsd.org RM>> Subject: Re: files disappearing from ls on NFS RM>> RM>> Hartmut Brandt wrote:

Re: files disappearing from ls on NFS

2013-05-14 Thread Rick Macklem
l I can think to do is scan the commits that seem to somehow relate to the buffer cache or copying to userland or ???) rick > harti > > -Original Message- > From: Rick Macklem [mailto:rmack...@uoguelph.ca] > Sent: Tuesday, May 14, 2013 2:50 PM > To: Brandt, Hartmut > Cc: cu

RE: files disappearing from ls on NFS

2013-05-14 Thread Hartmut.Brandt
Now I've also changed NFS_DIRBLKSIZ to 4k - no change. harti -Original Message- From: Rick Macklem [mailto:rmack...@uoguelph.ca] Sent: Tuesday, May 14, 2013 2:50 PM To: Brandt, Hartmut Cc: curr...@freebsd.org Subject: Re: files disappearing from ls on NFS Hartmut Brandt wrote: >

RE: files disappearing from ls on NFS

2013-05-14 Thread Hartmut.Brandt
printfs() here and there to figure out... harti -Original Message- From: Rick Macklem [mailto:rmack...@uoguelph.ca] Sent: Tuesday, May 14, 2013 2:50 PM To: Brandt, Hartmut Cc: curr...@freebsd.org Subject: Re: files disappearing from ls on NFS Hartmut Brandt wrote: > On Mon, 13 May

Re: files disappearing from ls on NFS

2013-05-14 Thread Rick Macklem
Hartmut Brandt wrote: > On Mon, 13 May 2013, Rick Macklem wrote: > > RM>Hartmut Brandt wrote: > RM>> On Sun, 12 May 2013, Rick Macklem wrote: > RM>> > RM>> RM>Hartmut Brandt wrote: > RM>> RM>> Hi, > RM>> RM>> > RM>> RM>> I've updated one of my -current machines this week (previous > RM>> update >

Re: files disappearing from ls on NFS

2013-05-14 Thread Hartmut Brandt
On Mon, 13 May 2013, Rick Macklem wrote: RM>Hartmut Brandt wrote: RM>> On Sun, 12 May 2013, Rick Macklem wrote: RM>> RM>> RM>Hartmut Brandt wrote: RM>> RM>> Hi, RM>> RM>> RM>> RM>> I've updated one of my -current machines this week (previous RM>> update RM>> RM>> was in RM>> RM>> february). Now I

Re: files disappearing from ls on NFS

2013-05-13 Thread Rick Macklem
Hartmut Brandt wrote: > On Sun, 12 May 2013, Rick Macklem wrote: > > RM>Hartmut Brandt wrote: > RM>> Hi, > RM>> > RM>> I've updated one of my -current machines this week (previous > update > RM>> was in > RM>> february). Now I see a strange effect (it seems only on NFS > mounts): > RM>> ls or > RM

Re: files disappearing from ls on NFS

2013-05-13 Thread Hartmut Brandt
On Sun, 12 May 2013, Rick Macklem wrote: RM>Hartmut Brandt wrote: RM>> Hi, RM>> RM>> I've updated one of my -current machines this week (previous update RM>> was in RM>> february). Now I see a strange effect (it seems only on NFS mounts): RM>> ls or RM>> even echo * will list only some files (str

Re: files disappearing from ls on NFS

2013-05-11 Thread Rick Macklem
Hartmut Brandt wrote: > Hi, > > I've updated one of my -current machines this week (previous update > was in > february). Now I see a strange effect (it seems only on NFS mounts): > ls or > even echo * will list only some files (strange enough the first files > from > the normal, alphabetically or

Re: files disappearing from ls on NFS

2013-05-07 Thread Hartmut Brandt
klem [mailto:rmack...@uoguelph.ca] RM>> Sent: Saturday, May 04, 2013 11:33 PM RM>> To: Brandt, Hartmut RM>> Cc: curr...@freebsd.org; Andrzej Tobola RM>> Subject: Re: files disappearing from ls on NFS RM>> RM>> Hartmut Brandt wrote: RM>> > On Fri, 3 May 2013,

Re: files disappearing from ls on NFS

2013-05-06 Thread Rick Macklem
m: Rick Macklem [mailto:rmack...@uoguelph.ca] > Sent: Saturday, May 04, 2013 11:33 PM > To: Brandt, Hartmut > Cc: curr...@freebsd.org; Andrzej Tobola > Subject: Re: files disappearing from ls on NFS > > Hartmut Brandt wrote: > > On Fri, 3 May 2013, Rick Macklem wrote: > > &

RE: files disappearing from ls on NFS

2013-05-05 Thread Hartmut.Brandt
d.org; Andrzej Tobola Subject: Re: files disappearing from ls on NFS Hartmut Brandt wrote: > On Fri, 3 May 2013, Rick Macklem wrote: > > RM>Ok, if you succeed in isolating the commit, that would be great. > > Hmm. I'm somewhat stuck. clang from yesterday can't compile clang

RE: files disappearing from ls on NFS

2013-05-05 Thread Hartmut.Brandt
t: Re: files disappearing from ls on NFS Hartmut Brandt wrote: > On Fri, 3 May 2013, Rick Macklem wrote: > > RM>Ok, if you succeed in isolating the commit, that would be great. > > Hmm. I'm somewhat stuck. clang from yesterday can't compile clang from > a > mon

Re: files disappearing from ls on NFS

2013-05-04 Thread Rick Macklem
Hartmut Brandt wrote: > On Fri, 3 May 2013, Rick Macklem wrote: > > RM>Ok, if you succeed in isolating the commit, that would be great. > > Hmm. I'm somewhat stuck. clang from yesterday can't compile clang from > a > month ago... > > harti > Oh, and one other thing you can try is switching to t

Re: files disappearing from ls on NFS

2013-05-04 Thread Rick Macklem
Hartmut Brandt wrote: > On Fri, 3 May 2013, Rick Macklem wrote: > > RM>Ok, if you succeed in isolating the commit, that would be great. > > Hmm. I'm somewhat stuck. clang from yesterday can't compile clang from > a > month ago... > > harti > Oh well. You could try this patch (which is the one t

Re: files disappearing from ls on NFS

2013-05-04 Thread Hartmut Brandt
On Fri, 3 May 2013, Rick Macklem wrote: RM>Ok, if you succeed in isolating the commit, that would be great. Hmm. I'm somewhat stuck. clang from yesterday can't compile clang from a month ago... harti RM> RM>rick RM> RM>> harti RM>> RM>> On Fri, 3 May 2013, Rick Macklem wrote: RM>> RM>> RM>Ha

Re: files disappearing from ls on NFS

2013-05-03 Thread Daniel Braniss
> Hartmut Brandt wrote: > > On Fri, 3 May 2013, Daniel Braniss wrote: > > > > DB>I don't know about current, but on 9.1-stable, the nfsstat -m only > > works > > DB>for root! nfsstat can be run by anybody. > > > > Same for current. It silently prints nothing. Took me some time > > to figure out I

Re: files disappearing from ls on NFS

2013-05-03 Thread Rick Macklem
Hartmut Brandt wrote: > Hi, > > I've updated one of my -current machines this week (previous update > was in > february). Now I see a strange effect (it seems only on NFS mounts): > ls or > even echo * will list only some files (strange enough the first files > from > the normal, alphabetically or

Re: files disappearing from ls on NFS

2013-05-03 Thread Rick Macklem
Hartmut Brandt wrote: > Hi Rick, > > I checked. readdirsize is 64k. > Since the server replied with 4K, I suspect you are seeing the same problem the other reporter has. I'll email if/when I have more information on it. > I will try to do a binary search for the problematic commit next week. >

Re: files disappearing from ls on NFS

2013-05-03 Thread Rick Macklem
Hartmut Brandt wrote: > On Fri, 3 May 2013, Daniel Braniss wrote: > > DB>I don't know about current, but on 9.1-stable, the nfsstat -m only > works > DB>for root! nfsstat can be run by anybody. > > Same for current. It silently prints nothing. Took me some time > to figure out I should try as roo

Re: files disappearing from ls on NFS

2013-05-03 Thread Rick Macklem
Daniel Braniss wrote: > > Hartmut Brandt wrote: > > > Hi, > > > > > > I've updated one of my -current machines this week (previous > > > update > > > was in > > > february). Now I see a strange effect (it seems only on NFS > > > mounts): > > > ls or > > > even echo * will list only some files (stra

Re: files disappearing from ls on NFS

2013-05-03 Thread Daniel Braniss
> Hartmut Brandt wrote: > > Hi, > > > > I've updated one of my -current machines this week (previous update > > was in > > february). Now I see a strange effect (it seems only on NFS mounts): > > ls or > > even echo * will list only some files (strange enough the first files > > from > > the norma

Re: files disappearing from ls on NFS

2013-05-03 Thread Hartmut Brandt
On Fri, 3 May 2013, Daniel Braniss wrote: DB>I don't know about current, but on 9.1-stable, the nfsstat -m only works DB>for root! nfsstat can be run by anybody. Same for current. It silently prints nothing. Took me some time to figure out I should try as root... harti __

Re: files disappearing from ls on NFS

2013-05-03 Thread Hartmut Brandt
Hi Rick, I checked. readdirsize is 64k. I will try to do a binary search for the problematic commit next week. For this I had to do a local checkout (usually I have the system sources on the file server and this fails, of course). harti On Fri, 3 May 2013, Rick Macklem wrote: RM>Hartmut Bra

Re: files disappearing from ls on NFS

2013-05-03 Thread Rick Macklem
Hartmut Brandt wrote: > Hi, > > I've updated one of my -current machines this week (previous update > was in > february). Now I see a strange effect (it seems only on NFS mounts): > ls or > even echo * will list only some files (strange enough the first files > from > the normal, alphabetically or

Re: files disappearing from ls on NFS

2013-05-02 Thread Hartmut Brandt
On Thu, 2 May 2013, Freddie Cash wrote: FC>There was just a security update that dealt with changes to getdirent or FC>something along those lines. FC> FC>Check the security notices, and then see if reverting that change makes a FC>difference. FC> FC>It was just in the past week here. If you mean

Re: files disappearing from ls on NFS

2013-05-02 Thread Freddie Cash
There was just a security update that dealt with changes to getdirent or something along those lines. Check the security notices, and then see if reverting that change makes a difference. It was just in the past week here. On Thu, May 2, 2013 at 9:11 AM, Hartmut Brandt wrote: > Hi, > > I've up