Commit Graph

2 Commits

Author SHA1 Message Date
doujiang24 4e03dbe013
code format & enable code format checking in ci (#677)
Signed-off-by: doujiang24 <doujiang24@gmail.com>
2025-08-02 15:50:25 +08:00
Sgt.Pepper 553490c5d4
[Store]feat: Add 3fs native api plugin for KVCache storage persistence (#610)
* initial version for 3fs native api

* delete redundant code in file_interface and storage_backend. Only keep api in use

* refactor some problem

* refactor file interface, add lockRAII

* fix some problem

* fix test problem

* rm char file interface , edit filemode

* edit cmake file , mkdir hf3fs in store

* Refactor 3FS plugin integration: break circular includes, rename symbols for clarity, and ensure StorageFile is fully visible before ThreeFSFile inherits it.

* add span<char> writefile interface

* restore puttolocalfile

* add document for 3fs usage guide

* add tl::expected<> return type, add use_3fs macro in code

* fix test fail

* add check read/write size equals to length

* fix test
2025-07-24 16:05:09 +08:00