Re: long cifs timeout when share becomes unavailable

2012-05-25 Thread Jeff Layton
On Thu, 24 May 2012 16:44:58 +0400 Sergey Urushkin wrote: > Jeff Layton писал 24.05.2012 14:31: > > On Thu, 24 May 2012 10:13:29 +0400 > > Sergey Urushkin wrote: > >> > >> And I can not see any timeout options for mount.cifs (except acl > >> timeout). > >> So, the actual questions are: 1) is t

Re: long cifs timeout when share becomes unavailable

2012-05-24 Thread Sergey Urushkin
Jeff Layton писал 24.05.2012 14:31: On Thu, 24 May 2012 10:13:29 +0400 Sergey Urushkin wrote: And I can not see any timeout options for mount.cifs (except acl timeout). So, the actual questions are: 1) is there a way to avoid these hangs (analog of 'intr'?) and 2) how can I reduce this unre

Re: long cifs timeout when share becomes unavailable

2012-05-24 Thread Jeff Layton
On Thu, 24 May 2012 10:13:29 +0400 Sergey Urushkin wrote: > Hi, > > there are issues with cifs share mounted via mount.cifs (with recent > kernels): the first 'ls' on the dir where cifs share is mounted after the > server becomes unavailable 1) hangs (can't be interrupted with ^C) and 2) > lasts

long cifs timeout when share becomes unavailable

2012-05-23 Thread Sergey Urushkin
Hi, there are issues with cifs share mounted via mount.cifs (with recent kernels): the first 'ls' on the dir where cifs share is mounted after the server becomes unavailable 1) hangs (can't be interrupted with ^C) and 2) lasts about 5 minutes. The first problem appears everywhere I tested (ubuntu