[mythtv-commits] Ticket #1835: Gradually delete big files to avoid I/O starvation on some filesystems

MythTV mythtv at cvs.mythtv.org
Wed Jun 14 06:01:05 UTC 2006


#1835: Gradually delete big files to avoid I/O starvation on some filesystems
---------------------------------------------------------+------------------
 Reporter:  bolek-mythtv at curl.com (Boleslaw Ciesielski)  |        Owner:  danielk 
     Type:  patch                                        |       Status:  assigned
 Priority:  minor                                        |    Milestone:  0.20    
Component:  mythtv                                       |      Version:  head    
 Severity:  medium                                       |   Resolution:          
---------------------------------------------------------+------------------
Comment (by Yeechang Lee <ylee at pobox.com>):

 For what it's worth, I've been trying out both the v3 and v4 versions of
 the patch on my 0.19-fixes system (FC4 ATrpms-129; I patch the SRPM then
 rebuild).

 Both versions patch cleanly onto the 0.19-fixes source. Both rename the
 file being truncated as 'cifsxxxx' (it's a network mount). However, I
 could never get v4, which I tried first, to work right; it'd either
 truncate really, really slowly (like 35K/second slowly) or not truncate at
 all. v3 works great (I did modify the sleep interval between truncations
 to ten seconds, not Boleslaw's two), except that the cifsxxxx files don't
 ever get cleared away after reaching the point where the remainder is
 smaller than the truncation size (83MB for me). Other than that, the patch
 works exactly as advertised. My restricted-to-ext3 NAS is redeemed!

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1835>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list