]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/writer: Split do_write, add handling of compressed
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 19 Mar 2024 21:18:18 +0000 (21:18 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Wed, 9 Apr 2025 13:59:07 +0000 (13:59 +0000)
commit533505d147f6aec503cfe330b8e2fc0f67b6f929
tree624bb0342e18d2f960573d48339e089df211e310
parent880f4aa91f5bc8d7ee71b944084c0c8f8ddde698
os/bluestore/writer: Split do_write, add handling of compressed

Split do_write into do_write and do_write_with_blobs.
The original is used when only uncompressed data is written.
The new one accepts stream of data formatted into blobs;
the blobs can be compressed or uncompressed.

Add blob_create_full_compressed.
Fix do_put_new_blobs to handle compressed.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/os/bluestore/Writer.cc
src/os/bluestore/Writer.h
src/os/bluestore/bluestore_types.h