Use the log sync setting to decide whether to sync the directory on log file creation.
Let logging manage syncing the directory itself #1343
Add SLOT_SYNC_DIR to sync directory on both dsync and fsync. #1343
Fix loop conditions since it now includes SLOT_SYNC_DIR. #1343
Move directory sync code into os_fsync.c, only sync directories when creating files.
Merge branch 'develop' into directory-sync-log-files
Simplify the directory/file sync loop, clean up a few cases where we
were ignoring error returns.
Merge pull request #1348 from wiredtiger/directory-sync-log-files-loop

Simplify the directory/file sync loop
Initialize sync_dir_lsn to zero, not one. #1343
Keep an open file handle on the log directory. #1343
Fix error message. #1343
Remove debug verbose message.
ERR->RET
Move initialization of direct_io.
KNF
Merge branch 'develop' into directory-sync-log-files
Merge branch 'develop' into directory-sync-log-files
Merge pull request #1343 from wiredtiger/directory-sync-log-files

Use the log sync setting to decide whether to sync the directory on log file creation