commit | 02bcaa8c31feb93c61b701d143a7eea3efd2124d | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Nov 24 10:42:00 2006 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Nov 24 10:42:00 2006 +0100 |
tree | 3e04b32b6c6b24cd397f0f04d828c49dfb6b5cac | |
parent | c11883f748f8f192fc6b4b0ec25add8781a8f4a8 [diff] |
[PATCH] Time and seek optimizations We did too many gettimeofday() calls, this patch cuts the number by 40%. Use clock_gettime() MONOTONIC instead, it is faster on my system at least. This patch also optimizes calling lseek() only when necessary for the sync io engine. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>