Avi Kivity
114da51d73
Revert "commitlog: fix size of a write used to zero a segment"
...
This reverts commit df2f67626b . The fix
is correct, but has an unfortunate side effect with O_DSYNC: each
128k write also needs to flush the XFS log. This translates to
32MB/128k = 256 flushes, compared to one flush with the original code.
A better fix would be to prezero without O_DSYNC, then reopen the file
with O_DSYNC, but we can do that later.
Reopens #5857 .
2021-01-20 10:23:43 +02:00
..
2021-01-20 10:23:43 +02:00
2020-11-19 16:34:37 +01:00
2019-10-25 12:04:44 +02:00
2021-01-19 10:19:03 +02:00
2020-11-11 14:20:23 +02:00
2020-02-10 20:54:32 +03:00
2020-12-09 14:30:43 +01:00
2020-12-09 14:30:43 +01:00
2019-04-02 19:08:25 +03:00
2020-04-15 12:20:30 +02:00
2020-09-29 13:25:41 +03:00
2019-02-14 14:52:51 +02:00
2020-08-15 20:26:02 +03:00
2020-03-23 09:29:45 +02:00
2020-08-26 20:44:11 +03:00
2020-03-10 12:51:02 +02:00
2018-12-10 21:22:56 +02:00
2020-03-05 16:09:44 +01:00
2020-08-26 20:44:11 +03:00
2017-06-13 09:57:14 +03:00
2020-12-24 11:37:43 +02:00
2020-12-01 15:19:42 +02:00
2020-07-03 10:27:23 +02:00
2020-03-23 09:29:45 +02:00
2020-08-17 16:44:14 +02:00
2020-11-19 18:39:05 +03:00
2018-11-26 18:49:08 +01:00
2020-03-15 10:25:20 +01:00
2021-01-05 11:25:22 +02:00
2021-01-05 11:25:22 +02:00
2021-01-13 17:35:07 +02:00
2021-01-13 17:35:07 +02:00
2020-08-16 14:41:09 +03:00
2020-06-26 20:26:15 +03:00
2020-08-10 18:53:04 +03:00
2020-08-10 18:53:04 +03:00
2021-01-03 13:58:09 +02:00
2020-11-17 00:01:13 +02:00
2020-04-05 12:46:04 +03:00
2020-12-11 20:31:35 +03:00
2021-01-04 09:47:01 +01:00
2018-12-19 22:38:29 +00:00
2020-03-23 09:29:45 +02:00