Igor Canadi 832158e7f7 Fsync directory after we create a new file
Summary:
@dhruba, I'm not sure where we need to sync the directory. I implemented the function in Env() and added the dir sync just after we close the newly created file in the builder.

Should I also add FsyncDir() to new files that get created by a compaction?

Test Plan: Confirmed that FsyncDir is returning Status::OK()

Reviewers: dhruba, haobo

Reviewed By: dhruba

CC: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D14751
2014-01-27 11:02:21 -08:00
..
2013-12-10 10:48:35 +02:00
2014-01-22 10:55:16 -08:00
2014-01-22 10:55:16 -08:00
2013-10-28 17:54:09 -07:00
2014-01-22 10:45:26 -08:00
2013-12-03 11:17:58 -08:00
2013-10-28 17:54:09 -07:00
2013-10-25 08:32:14 -07:00
2014-01-17 12:46:06 -08:00
2014-01-17 12:46:06 -08:00
2013-12-03 12:42:15 -08:00
2013-12-03 12:42:15 -08:00
2014-01-14 15:27:09 -08:00
2014-01-23 16:26:08 -08:00
2014-01-16 14:06:53 -08:00
2014-01-16 14:06:53 -08:00
2014-01-17 12:46:06 -08:00