[mythtv-users] Howto prevent MythTV flushing/Syncing disk writes (LiveTV/Recordings) [ SOLVED ]
cal
cal at graggrag.com
Thu Mar 20 10:45:43 UTC 2008
Allan Stirling wrote:
> cal wrote:
>> which is another good reason for a switch setting. Maybe when
>> qt4 lands in trunk ...
>
> No, it is not.
>
> Sorry - But myth has _way_ too many user-twiddleables
> already. This confuses new users _and_ makes it harder to
> optimize a system.
>
> The real way to do it could be to only fsync if you're in
> this situation - To test (on startup):
>
> 1. SBE creates a file
> 2. Sends a request to MBE to read file (repeated for a few
> seconds)
> 3. If MBE couldn't read the file, fsync()
> 4. Test read again - If it now succeeds, set a fsyncneeded flag.
>
> If you're all on one box, none of this is required.
yep, sounds nice.
More information about the mythtv-users
mailing list