summaryrefslogtreecommitdiffstats
path: root/src/fuse/cowfile.h
Commit message (Collapse)AuthorAgeFilesLines
* [FUSE] Buffer upload reply contents and conditionally printSimon Rettberg2024-05-151-1/+2
|
* [FUSE] Use CURLOPT_HEADERFUNCTION instead of curl_easy_headerSimon Rettberg2024-05-131-0/+1
| | | | | curl_easy_header was introduced in 7.83, so not even available in Ubuntu 22.04. Switch to manual header parsing.
* [FUSE] More cleanup and minor fixesSimon Rettberg2024-05-131-7/+8
| | | | | | | | - Add support for aborting session and further uploads via SIGQUIT - Make API versioned - Change it to "uuid" everywhere instead of a mix of uuid and guid - Server can now tell us to wait with further uploads - merge request is now urlencoded POST instead of mime data
* [FUSE] cow: More fixes and refactoringSimon Rettberg2024-05-131-25/+27
| | | | | | | | | | | | | | 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-44/+49
| | | | | | | | | - 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-131-1/+1
|
* [FUSE] basic cow implementation & rudimentary testsMichael Scherle2024-05-131-0/+136