summaryrefslogtreecommitdiffstats
path: root/src/cowtest
Commit message (Collapse)AuthorAgeFilesLines
* [FUSE] Fix division by zeroSimon Rettberg2024-05-131-1/+1
|
* [FUSE] cow: More fixes and refactoringSimon Rettberg2024-05-131-15/+35
| | | | | | | | | | | | | | 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 Rettberg2024-05-131-1/+2
| | | | | | | | | - 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] Fixed cow daemon issueMichael Scherle2024-05-132-5/+5
|
* [COWTEST] improvements to cowtest readmeMichael Scherle2024-05-132-105/+236
|
* [COWTEST] random test now cancels on ctrl-cMichael Scherle2024-05-131-40/+33Star
|
* [FUSE] basic cow implementation & rudimentary testsMichael Scherle2024-05-133-0/+1297