Skip to contentSkip to conversation

make the filesystem inaccessible and all applications that try to access it hangs

system crash jlm_devel 2 participants 2 messages Jun 28, 2004 – Jun 29, 2004

lore
Share & tools
lore

jlm_devel

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · jlm_devel

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