public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [system crash] [swaps] make the filesystem inaccessible and all applications that try to access it hangs
@ 2004-06-28 20:33 jlm_devel
  2004-06-29  6:23 ` Hugh Dickins
  0 siblings, 1 reply; 2+ messages in thread
From: jlm_devel @ 2004-06-28 20:33 UTC (permalink / raw)
  To: linux-kernel

hello,
please cc me since I'm not registered
I work on swapd and I found a way to "crash" a filesystem entry with 
operations on swaps :
kernel version 2.6.7

step to reproduce :
make a swap file into one directory
activate it
rm it

now all application trying to access the containing directory will 
hangs..... including the swapd I write.....

best regards
JLM

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

* Re: [system crash] [swaps] make the filesystem inaccessible and all applications that try to access it hangs
  2004-06-28 20:33 [system crash] [swaps] make the filesystem inaccessible and all applications that try to access it hangs jlm_devel
@ 2004-06-29  6:23 ` Hugh Dickins
  0 siblings, 0 replies; 2+ messages in thread
From: Hugh Dickins @ 2004-06-29  6:23 UTC (permalink / raw)
  To: jlm_devel; +Cc: linux-kernel

On Mon, 28 Jun 2004, jlm_devel wrote:
> I work on swapd and I found a way to "crash" a filesystem entry with 
> operations on swaps :
> kernel version 2.6.7
> 
> step to reproduce :
> make a swap file into one directory
> activate it
> rm it
> 
> now all application trying to access the containing directory will 
> hangs..... including the swapd I write.....

You'll find that fixed, I believe, in latest 2.6.7-bk or 2.6.7-mm3:
we used to hold i_sem while the swapfile was in use, but are now
protecting it differently (S_SWAPFILE): to end reports like yours!

Thanks,
Hugh


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

end of thread, other threads:[~2004-06-29  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 20:33 [system crash] [swaps] make the filesystem inaccessible and all applications that try to access it hangs jlm_devel
2004-06-29  6:23 ` Hugh Dickins

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