Re: Linux 2.6.29
From: Andrew Morton
Date: Thu Apr 02 2009 - 12:13:13 EST
On Thu, 2 Apr 2009 13:05:32 +0200 Janne Grunau <j@xxxxxxxxxx> wrote:
> MythTV calls fsync every few seconds on ongoing recordings to prevent
> stalls due to large cache writebacks on ext3.
It should use sync_file_range(SYNC_FILE_RANGE_WRITE). That will
- have minimum latency. It tries to avoid blocking at all.
- avoid writing metadata
- avoid syncing other unrelated files within ext3
- avoid waiting for the ext3 commit to complete.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/