[Bug 1625739] Re: Slow start when current directory is on CIFS/SMB share

2016-09-21 Thread Yury V. Zaytsev
Sorry, I wish I could have helped you with something more substantial, but, as I said, unfortunately, I see no practical way of reducing the amount of stat calls that mc makes :-/ ** Changed in: mc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a mem

[Bug 1625739] Re: Slow start when current directory is on CIFS/SMB share

2016-09-21 Thread Fuujuhi
Actually I know that my SMB server is overloaded (it also serves as backup server, running rsync and co). It's only that you don't feel that it is loaded when browsing with ls/cd commands and bash completion, whereas you feel it significantly when using mc. I any case I would understand if you rej

[Bug 1625739] Re: Slow start when current directory is on CIFS/SMB share

2016-09-21 Thread Yury V. Zaytsev
I see, thanks for the clarification. It seems that you have some kind of a problem with your setup, be it a misconfiguration or a CIFS client bug. Unfortunately, we can't remove stat calls from mc: it basically uses it for everything in the world, i.e. mode & ownership information, access & modifi

[Bug 1625739] Re: Slow start when current directory is on CIFS/SMB share

2016-09-21 Thread Fuujuhi
Well, sorry I did not mention that, but indeed, it also take a long time outside of mc. Typically, a `stat -f /smb/lacie-cloudbox/myshare` is also slow. Also, mc is not always slow on CIFS/SMB shares. At first sight, it seems to depend on the server speed & load (nothing new here I guess). So, t

[Bug 1625739] Re: Slow start when current directory is on CIFS/SMB share

2016-09-20 Thread Yury V. Zaytsev
So, why the stat call is taking so long, is it really an mc problem, i.e. if you just make the call outside of mc, does it also take a long time? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625739