[mythtv-commits] Ticket #6846: FreeSpace calculations don't work correctly

MythTV mythtv at cvs.mythtv.org
Sun Aug 16 01:24:12 UTC 2009


#6846: FreeSpace calculations don't work correctly
------------------------------------+---------------------------------------
 Reporter:  eric.bosch at comcast.net  |        Owner:  ijr    
     Type:  defect                  |       Status:  closed 
 Priority:  minor                   |    Milestone:  0.22   
Component:  MythTV - General        |      Version:  head   
 Severity:  medium                  |   Resolution:  invalid
  Mlocked:  0                       |  
------------------------------------+---------------------------------------

Comment(by cpinkham):

 (In [21297]) Add the filesystem block size to the FileSystemInfo structure
 and modify
 the backend's duplicate filesystem detection logic to use the maximum of
 the block sizes of the two filesystems it is comparing or 32K as the
 'fuzzy' comparison value when comparing the sizes of two filesystems to
 determine if they are in fact the same fileystem, and yes, I can make a
 longer run-on sentence, I just wasn't trying that hard this time.

 With newer kernels supporting NFS block sizes up to 1 MegaByte, our
 32K fuzzy comparison wasn't working in some cases.  Now we'll use a
 larger number, but only if necessary because a filesystem was mounted
 with a larger block size than 32K.

 References #6846.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6846#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list