[mythtv-commits] Ticket #11884: Auto expire fails on non-case sensitive file systems

MythTV noreply at mythtv.org
Tue Sep 12 23:09:53 UTC 2017


#11884: Auto expire fails on non-case sensitive file systems
----------------------------------+----------------------------
 Reporter:  doug@…                |          Owner:  mdean
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  30.0
Component:  MythTV - Housekeeper  |        Version:  0.27-fixes
 Severity:  low                   |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by David Hampton <mythtv@…>):

 I don't think this really affects correct operation of the system.  The
 ExpireRecordings function first gets a list of files that are deletable.
 Then, for each file system it attempts to delete files from that list
 until the file system space requirements are met.  I can conconct a
 scenario where doing case-insensitive comparison could cause one run of
 ExpireRecordings to not free up enough space, but the next run of
 ExpireRecordings would run correctly.

 The scenario is that a user has directories /A and /a, file /a/b is
 expired, and you are trying to free space on /A.  When ExpireRecordings
 gets to /a/b in the list of expired files, it will remove it and count the
 released space towards /A.  Given the order of the files in the expired
 list and the file sizes, this might make ExpireRecordings stop too soon.
 On the next run of ExpireRecordings /a/b will be gone and it will
 correctly free up the requested amount of space in /A.  The only side
 effect is that the expired recording /a/b would be deleted before space
 was needed to be freed up on /a.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11884#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list