Submitter | Klaus Schmidinger |
---|---|
Date | Oct. 3, 2012, 12:55 p.m. |
Message ID | <506C35B4.9060704@tvdr.de> |
Download | mbox | patch |
Permalink | /patch/14865/ |
State | New |
Headers | show |
Comments
Am 03.10.2012 14:55, schrieb Klaus Schmidinger: > Which file system are you using for your video directory? > I recently switched from ext3 to ext4 and it does feel a little "snappier". Its an XFS disk, and it was surprisingly fast on deleting when it was fresh. Unfortunately, > #>df -m /video > Filesystem 1M-blocks Used Available Use% Mounted on > /dev/mapper/lvm--disk-data > 948568 943016 5553 100% /mnt/data which is not a good use% to run any file system on long term. :( Cheers, Udo
Patch
--- recording.c 2012/09/30 13:05:14 2.64 +++ recording.c 2012/10/03 12:52:13 @@ -97,6 +97,8 @@ bool deleted = false; cThreadLock DeletedRecordingsLock(&DeletedRecordings); for (cRecording *r = DeletedRecordings.First(); r; ) { + if (cIoThrottle::Engaged()) + return; if (r->Deleted() && time(NULL) - r->Deleted() > DELETEDLIFETIME) { cRecording *next = DeletedRecordings.Next(r); r->Remove();