]> git.proxmox.com Git - proxmox-backup.git/commit
datastore: chunker: implement chunker for payload stream
authorChristian Ebner <c.ebner@proxmox.com>
Fri, 19 Apr 2024 13:47:11 +0000 (15:47 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 5 Jun 2024 14:39:42 +0000 (16:39 +0200)
commit88ef759cc45e3f4bd0d7fdb20b75da765ec3d1b0
tree0cba86fa0784485b76b5a049d3880650d2ac6971
parente321815635f6c20354bb00f52e6b938c60350eb5
datastore: chunker: implement chunker for payload stream

Implement the Chunker trait for a dedicated payload stream chunker,
which extends the regular chunker by the option to suggest boundaries
to be used over the hast based boundaries whenever possible.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
pbs-datastore/src/chunker.rs
pbs-datastore/src/lib.rs