[mythtv-commits] mythtv commit: r21297 - in trunk/mythtv by cpinkham

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


      Author: cpinkham
        Date: 2009-08-16 01:24:11 +0000 (Sun, 16 Aug 2009)
New Revision: 21297
   Changeset: http://cvs.mythtv.org/trac/changeset/21297

Modified:

   trunk/mythtv/libs/libmythtv/remoteutil.cpp
   trunk/mythtv/libs/libmythtv/remoteutil.h
   trunk/mythtv/programs/mythbackend/backendutil.cpp

Log:

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.






More information about the mythtv-commits mailing list