Improve comments on options.writable_file_max_buffer_size
Comments of options.writable_file_max_buffer_size mentioned Windows, which is confusing. Remove it.
This commit is contained in:
parent
1ababeb76a
commit
1178bf775f
@ -934,7 +934,7 @@ struct DBOptions {
|
|||||||
size_t random_access_max_buffer_size = 1024 * 1024;
|
size_t random_access_max_buffer_size = 1024 * 1024;
|
||||||
|
|
||||||
// This is the maximum buffer size that is used by WritableFileWriter.
|
// This is the maximum buffer size that is used by WritableFileWriter.
|
||||||
// On Windows, we need to maintain an aligned buffer for writes.
|
// With direct IO, we need to maintain an aligned buffer for writes.
|
||||||
// We allow the buffer to grow until it's size hits the limit in buffered
|
// We allow the buffer to grow until it's size hits the limit in buffered
|
||||||
// IO and fix the buffer size when using direct IO to ensure alignment of
|
// IO and fix the buffer size when using direct IO to ensure alignment of
|
||||||
// write requests if the logical sector size is unusual
|
// write requests if the logical sector size is unusual
|
||||||
|
Loading…
Reference in New Issue
Block a user