summaryrefslogtreecommitdiffstats
path: root/inc/dnbd3/config.h
Commit message (Collapse)AuthorAgeFilesLines
* [FUSE] cow: More fixes and refactoringSimon Rettberg6 days1-0/+1
| | | | | | | | | | | | | | 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.
* [FUSE] cow: Cleanup, comments, fixes, minor refactoringSimon Rettberg6 days1-16/+0Star
| | | | | | | | | - 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
* [FUSE] basic cow implementation & rudimentary testsMichael Scherle6 days1-0/+16
|
* [KERNEL] Removes duplicate word 'of' in license headersManuel Bentele2021-04-161-1/+1
|
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-161-0/+43
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.