junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

Check/error/document that the chunksize can not be smaller than 1k #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ddsnap code assumes that the chunksize parsed during initialization is
always multiplies of 512-byte sector size. But the current ddsnap/zumastor
code does not do any checks on that. Neither have we documented this
limitation. If users use a smaller chunk size, like 64-byte, the code will
break. We should add such checks in ddsnap code and document this
requirement. DanP suggests using 1k as the smallest allowed chunksize for
efficient btree operations.

Original issue reported on code.google.com by jiahotc...@gmail.com on 7 Jan 2008 at 11:55

GoogleCodeExporter commented 9 years ago
Fixed with commit 1390 and 1392.

Original comment by jiahotc...@gmail.com on 14 Feb 2008 at 4:47