lkml.org 
[lkml]   [2004]   [Jun]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 29 Jun 2004 07:23:54 +0100 (BST)
FromHugh Dickins <>
SubjectRe: [system crash] [swaps] make the filesystem inaccessible and all applications that try to access it hangs
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2008