Simon Riggs <[EMAIL PROTECTED]> writes: > So we would use the async properties of sync, but not the file range > support?
That's the part of it that looked potentially useful to me, anyway. I don't see any value for us in syncing just part of a file, because we don't have enough disk layout knowledge to make intelligent choices of what to sync. I think the OP had some idea of having the bgwriter write and then force-sync individual pages, but what good is that? Once we've done the write() the page is exposed to the kernel's write scheduler and should be written at an intelligent time. Trying to force sync in advance of our own real need for it to be synced (ie the next checkpoint) doesn't seem to me to offer any benefit. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly