| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't allocate a data cluster in data file for empty l2 entries when
resizing the image file.
Calculating l2 offset in metadata file was broken and overlapping l1.
Delete unneeded entries from cow struct.
Rename a few more variables.
Fix a few possible race conditions.
Only upload modified blocks from cluster.
Simplify cow_write() function by handling misaligned start/end first.
Try to also simplify cow_read() a bit.
TODO: Documentation, update the cow merger service.
|
|
|
|
|
|
|
|
|
| |
- Use the term "cluster" for a group of dnbd3-blocks instead of also
calling them blocks.
- Use term "table" instead of "array" for the L1 and L2 tables.
- Use term "index" instead of "offset" when addressing those tables
- Fix a few logic bugs, use-after-free
- Add TODOs for parts that need better comments
|
| |
|
| |
|
|
This change restructures the source code directories, separates shared
form non-shared application code and adds CMake dependencies. These
dependencies allow the tracking of changes and trigger a rebuild of
those build targets where changed files are involved.
WARNING: Note that the support of the DNBD3_SERVER_AFL build option is
not supported yet. Thus, the option should be never turned on.
|