FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> writes: > Seems that we misuse sync_file_range. > Can you please try this? > > diff --git a/usr/bs_mmap.c b/usr/bs_mmap.c [...] > diff --git a/usr/bs_rdwr.c b/usr/bs_rdwr.c [...] > diff --git a/usr/util.h b/usr/util.h Thanks! It runs at a much more plausible speed for O_SYNC and O_DIRECT now, so this patch does seem to fix the problem. Best wishes, Chris. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html