Files
scylladb/core
Raphael S. Carvalho d864da71fc core: avoid fsyncing output stream twice
For some reason, I added a fsync call when the file underlying the
stream gets truncated. That happens when flushing a file, which
size isn't aligned to the requested DMA buffer.
Instead, fsync should only be called when closing the stream, so this
patch changes the code to do that.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
2015-06-08 11:59:22 +03:00
..
2015-03-01 15:29:13 +02:00
2015-06-03 20:44:48 +03:00
2015-04-19 10:33:38 +03:00
2015-03-11 14:45:43 +02:00
2015-05-19 19:33:18 +03:00
2015-06-01 11:35:37 +03:00
2015-06-01 11:35:37 +03:00
2015-03-15 20:18:17 +02:00
2015-05-19 19:33:18 +03:00
2015-06-03 20:27:36 +03:00
2015-03-03 14:58:58 +02:00
2015-06-03 20:27:36 +03:00
2015-03-24 10:12:47 +02:00
2015-05-14 11:26:58 +03:00
2015-06-04 20:57:00 +03:00