mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-10 16:23:53 +01:00
DSYNC is too slow for writing 16M
This commit is contained in:
1 parent
be43f44412
commit
923c5ed0b5
1 file changed
+1
-1
@@ -89,7 +89,7 @@ void BinaryWriter::open_file(const std::string& filename)
|
||||
|
||||
WriterUtils::create_destination_folder(filename);
|
||||
|
||||
output_file_fd_ = ::open(filename.c_str(), O_WRONLY | O_CREAT | O_DSYNC,
|
||||
output_file_fd_ = ::open(filename.c_str(), O_WRONLY | O_CREAT,
|
||||
S_IRWXU | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
|
||||
if (output_file_fd_ < 0) {
|
||||
stringstream err_msg;
|
||||
|
||||
Reference in new issue
Block a user