anand76
442b3bfbb1
Try to align WritableFileWriter buffered writes ( #13158 )
...
Summary:
In buffered IO mode, without checksum calculation for buffered data enabled, try to align writes to the file system on a power of two. This can improve performance, especially on a distributed file system like Warm Storage that does erasure coding and benefits from full stripe writes. We do this by filling up the writable buffer, with a partial append if necessary, before flushing. When checksum calculation for buffered data is enabled, we don't do this since its preferable to not split the data, especially if the caller provides the checksum. We don't guarantee alignment if the caller manually flushes before finishing the file.
Tests:
Add unit tests in file_reader_writer_test and external_sst_file_basic_test.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/13158
Reviewed By: pdillinger
Differential Revision: D66669367
Pulled By: anand1976
fbshipit-source-id: 6df1b4538bda696e2170515420ee4c3766c83bb8
2024-12-04 10:10:02 -08:00
..
2023-02-13 02:21:38 -08:00
2024-05-28 15:33:57 -07:00
2024-02-16 09:14:55 -08:00
2024-09-14 09:48:21 -07:00
2023-11-08 13:28:43 -08:00
2023-01-27 13:14:19 -08:00
2024-04-04 12:33:05 -07:00
2023-08-17 11:52:38 -07:00
2024-04-30 08:33:31 -07:00
2023-01-27 13:14:19 -08:00
2024-03-15 11:43:28 -07:00
2021-09-10 10:00:26 -07:00
2022-05-28 00:15:28 -07:00
2021-12-16 17:15:13 -08:00
2024-03-30 07:17:52 -07:00
2022-10-26 12:08:20 -07:00
2024-01-29 10:38:08 -08:00
2024-11-14 10:10:38 -08:00
2024-05-13 15:43:12 -07:00
2023-12-01 11:15:17 -08:00
2020-02-20 12:09:57 -08:00
2023-08-18 15:01:59 -07:00
2023-09-18 09:26:29 -07:00
2022-10-26 12:08:20 -07:00
2024-01-31 13:14:42 -08:00
2023-08-02 11:30:10 -07:00
2024-09-14 09:48:21 -07:00
2023-05-17 19:44:24 -07:00
2024-01-29 10:38:08 -08:00
2020-12-01 11:21:44 -08:00
2019-05-21 16:22:35 -07:00
2020-12-01 11:21:44 -08:00
2024-01-29 10:38:08 -08:00
2024-03-04 10:08:32 -08:00
2024-03-04 10:08:32 -08:00
2024-01-29 10:38:08 -08:00
2024-03-04 10:08:32 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-10-12 10:05:23 -07:00
2023-01-27 13:14:19 -08:00
2023-12-01 11:15:17 -08:00
2022-10-26 12:08:20 -07:00
2023-08-17 11:52:38 -07:00
2021-09-10 10:00:26 -07:00
2024-01-31 13:14:42 -08:00
2023-02-13 02:21:38 -08:00
2024-12-04 10:10:02 -08:00
2024-03-19 16:17:57 -07:00
2024-06-12 18:47:11 -07:00
2023-04-03 10:41:00 -07:00
2021-08-20 18:41:51 -07:00
2022-04-13 07:34:01 -07:00
2020-03-20 14:59:54 -07:00
2023-08-02 11:30:10 -07:00
2021-10-18 23:32:01 -07:00
2024-01-29 10:38:08 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-12-29 15:29:23 -08:00
2023-08-02 11:30:10 -07:00
2023-08-02 11:30:10 -07:00
2024-01-24 07:39:59 -08:00
2022-10-26 12:08:20 -07:00
2023-05-24 11:57:15 -07:00
2023-09-13 09:50:44 -07:00
2019-05-21 16:22:35 -07:00
2022-10-26 12:08:20 -07:00
2024-05-28 15:33:57 -07:00
2022-10-26 12:08:20 -07:00
2024-02-26 16:55:13 -08:00
2024-02-26 16:55:13 -08:00
2024-02-26 16:55:13 -08:00
2024-02-07 10:44:11 -08:00
2021-03-15 04:34:11 -07:00
2022-06-15 14:44:43 -07:00
2024-03-04 10:08:32 -08:00
2021-02-26 08:50:42 -08:00
2024-01-24 08:20:50 -08:00
2023-04-12 13:24:34 -07:00
2021-09-10 10:00:26 -07:00
2023-07-18 15:38:52 -07:00
2024-03-15 11:43:28 -07:00
2023-05-19 15:25:49 -07:00
2024-03-04 10:08:32 -08:00
2024-03-04 10:08:32 -08:00
2024-05-06 08:53:06 -07:00
2024-07-08 15:59:02 -07:00
2023-05-25 10:16:58 -07:00
2024-01-10 10:17:31 -08:00
2024-03-04 10:08:32 -08:00
2024-01-29 10:38:08 -08:00
2021-03-25 22:08:58 -07:00
2024-03-04 10:08:32 -08:00
2023-01-27 13:14:19 -08:00
2024-03-04 10:08:32 -08:00
2022-10-26 12:08:20 -07:00
2023-09-15 08:30:44 -07:00
2024-03-04 10:08:32 -08:00
2024-01-31 13:14:42 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2022-10-18 00:35:35 -07:00
2022-10-26 12:08:20 -07:00
2024-11-06 17:32:03 -08:00
2024-11-06 17:32:03 -08:00
2024-11-06 17:32:03 -08:00
2022-10-21 12:27:50 -07:00
2024-01-31 13:14:42 -08:00
2022-10-18 00:35:35 -07:00
2021-09-10 10:00:26 -07:00
2023-05-22 14:28:58 -07:00
2024-05-23 20:26:57 -07:00
2022-10-26 12:08:20 -07:00
2024-06-26 07:26:20 -07:00
2023-09-05 14:44:17 -07:00