lkml.org 
[lkml]   [2003]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: short freezing while file re-creation
Hello!

On Fri, Jun 06, 2003 at 05:24:54PM +0200, Stephan von Krawczynski wrote:

> while experimenting around my other problem I noticed my box freezes for some
> seconds while tar is re-creating an archive of around 70 GB size on a reiserfs
> with 3ware-connected device.
> This is experienced with 2.4.21-rc7. Reproducable via:
> create BIG tar archive file (my size 70 GB) on a reiserfs
> re-create same archive and watch box gone dead while the old archive is zapped.
> (Gone dead means: mouse froze, keyboard froze, X froze)

Hm, I will try .

Wild guess: does this patch helps? (untessted, not even compiled, but should be safe )

Bye,
Oleg
===== stree.c 1.21 vs edited =====
--- 1.21/fs/reiserfs/stree.c Tue Mar 4 19:48:52 2003
+++ edited/fs/reiserfs/stree.c Fri Jun 6 20:01:29 2003
@@ -1773,6 +1773,8 @@
journal_begin(th, p_s_inode->i_sb, orig_len_alloc) ;
reiserfs_update_inode_transaction(p_s_inode) ;
}
+ if (current->need_resched)
+ schedule() ;
} while ( n_file_size > ROUND_UP (n_new_file_size) &&
search_for_position_by_key(p_s_inode->i_sb, &s_item_key, &s_search_path) == POSITION_FOUND ) ;

-
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 13:36    [W:0.142 / U:0.252 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site