Please enable JavaScript.
Coggle requires JavaScript to display documents.
io_uring_bpf_decompress - Coggle Diagram
io_uring_bpf_decompress
ideas
support android's use case
decompress data into sqe group buffer
design
support decompress algorithems
lz4, zstd & gz
in-place decompression
at least lz4 & zstd supports it
io_uring buffers
plain userspace buffers
fixed buffers
provided buffer
sqe group buffer
cover everything via iov_iter
generic
prep iov_iter
sync interface
iterator over two iov_iter
two backings
ubuf
bvec_buf
verify
method 1
add compress interface and run decompression for verifying
inplace compression & de-compression
non-inplace compression & decompression
method 2
build compressed data from userspace and decompress from this buffer
how to verify sqe group?
write one simple compressed target
allocate space and compress data to the allocated space
record the mapping
simple 8MB compressed target
single queue
whole file compressed
new compressed target
cover group provided buffer
loop over lz4/zstd/gz?
no