0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::fs: Default write_opts::keep_size to true for fallocate() behavior.

This commit is contained in:
Jason Volk 2019-04-25 22:16:13 -07:00
parent cfe4807b77
commit 67380746b6

View file

@ -52,7 +52,7 @@ struct ircd::fs::write_opts
:opts :opts
{ {
/// for allocate() /// for allocate()
bool keep_size {false}; bool keep_size {true};
/// Yields the ircd::ctx until the buffers are written. This performs /// Yields the ircd::ctx until the buffers are written. This performs
/// the unix incremental write loop internally. When this option is true, /// the unix incremental write loop internally. When this option is true,