[mythtv] [mythtv-commits] Ticket #2242: Recordings not being deleted fast enough

Martin Ebourne lists at ebourne.me.uk
Sat Aug 26 22:31:15 UTC 2006


On Sat, 26 Aug 2006 21:51:49 +0000, MythTV wrote:
> #2242: Recordings not being deleted fast enough
> ------------------------------------------------+---------------------------
>  Reporter:  Martin Ebourne <martin at zepler.org>  |        Owner:  ijr     
>      Type:  defect                              |       Status:  reopened
>  Priority:  minor                               |    Milestone:          
> Component:  mythtv                              |      Version:  head    
>  Severity:  medium                              |   Resolution:          
> ------------------------------------------------+---------------------------
> Changes (by bolek-mythtv at curl.com (Boleslaw Ciesielski)):
> 
>   * status:  closed => reopened
>   * resolution:  fixed =>
> 
> Comment:
> 
>  I am reopenning this ticket because I found the actual bug. The problem
>  was that the st_blksize field in the stat buffer is '''not''' the unit for
>  the st_blocks field. st_blocks is always in the unit of 512 bytes.

I've just tested this fix and can confirm it does fix the problem. After
this patch the file sizes reported in the truncate code are correct and do
decrement at the rate of 8MiB/s.

xfs is releasing the free space back immediately and even with all 3 dvb
cards recording simultaneously the free space is still increasing.

Cheers,

Martin.



More information about the mythtv-dev mailing list