public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* smbfs 2.4.19pre6
@ 2002-04-16 21:10 Christian Bornträger
  2002-04-16 21:20 ` Christian Bornträger
  2002-04-16 23:29 ` Urban Widmark
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Bornträger @ 2002-04-16 21:10 UTC (permalink / raw)
  To: linux-kernel

Hello list,

I have a smbfs mounted samba-share that got lost due to a network error.

Every process accessing the mount point falls into uniterruptable sleep - till 
the reboot. Even a lsof is frozen. 

Is this a bug or a known issue?

greetings

Christian


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: smbfs 2.4.19pre6
  2002-04-16 21:10 smbfs 2.4.19pre6 Christian Bornträger
@ 2002-04-16 21:20 ` Christian Bornträger
  2002-04-16 23:29 ` Urban Widmark
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Bornträger @ 2002-04-16 21:20 UTC (permalink / raw)
  To: linux-kernel

Christian Bornträger wrote:

> Every process accessing the mount point falls into uniterruptable sleep -
> till the reboot. Even a lsof is frozen.

I have to correct myself. After some minutes the frozen processes stop.

Sorry.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: smbfs 2.4.19pre6
  2002-04-16 21:10 smbfs 2.4.19pre6 Christian Bornträger
  2002-04-16 21:20 ` Christian Bornträger
@ 2002-04-16 23:29 ` Urban Widmark
  1 sibling, 0 replies; 3+ messages in thread
From: Urban Widmark @ 2002-04-16 23:29 UTC (permalink / raw)
  To: Christian Bornträger; +Cc: linux-kernel

On Tue, 16 Apr 2002, Christian [iso-8859-15] Bornträger wrote:

> Hello list,
> 
> I have a smbfs mounted samba-share that got lost due to a network error.
> 
> Every process accessing the mount point falls into uniterruptable sleep - till 
> the reboot. Even a lsof is frozen. 
> 
> Is this a bug or a known issue?

It's known, and it's a bug. The network part of smbfs has a few problems.

I did some patches that used poll to check if they could send things and
timeout after 30 seconds. Perhaps combined with checking the tcp state
would work for this case.

The overly long delay (and most people would assume it is frozen) is one
or more network timeouts (tcp level?) that needs to pass before the 
process stops.

That the mount fails to recover could be related to smbmount not managing
to stay alive.

For 2.5 there is work going on that should fix this at the same time as it
allows oplock support and stuff. The process should always be
interruptible.

/Urban


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-16 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 21:10 smbfs 2.4.19pre6 Christian Bornträger
2002-04-16 21:20 ` Christian Bornträger
2002-04-16 23:29 ` Urban Widmark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox