474
478
if (duration >= toku_long_fsync_threshold) {
475
479
toku_sync_fetch_and_add(&toku_long_fsync_count, 1);
476
480
toku_sync_fetch_and_add(&toku_long_fsync_time, duration);
488
snprintf(fdname, sizeof fdname, "/proc/%d/fd/%d", getpid(), fd);
494
ctime_r(&t, tstr), __FUNCTION__, fd, s > 0 ? lname : "?", duration, eintr_count);
497
ctime_r(&t, tstr), __FUNCTION__, fd, duration, eintr_count);