Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug in
AggregatingWriter::write()
(openzfs#480)
If `AggregatingWriter::write()` is passed a slice that's larger than the buffer capacity, it will panic. This normally doesn't happen, since the BlockBasedLogChunk is designed to be small (a few KB). This commit changes `Aggregatingwriter::Write()` to allocate a larger buffer if necessary.
- Loading branch information