Skip to content

Commit

Permalink
vos
Browse files Browse the repository at this point in the history
  • Loading branch information
yyongycy committed Dec 4, 2023
1 parent f3558b2 commit b1947a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
public class TestLibRawDeviceStore {

public static void main(String [] argv) {
final String configPath = System.getenv("CACHE_STORE_CONFIG_PATH");
LibRawDeviceStore.loadLibrary(NativeLibraryLoader.LibCacheStoreVersion.VERSION_1);
LibRawDeviceStore libRawDeviceStore = new LibRawDeviceStore();
libRawDeviceStore.openCacheStore("/home/ec2-user/SourceCode/ceph/src/test/fio/ceph-bluestore.conf");
libRawDeviceStore.openCacheStore(configPath);
System.out.println(String.format("Successfully open the cachestore"));
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(1024);
byteBuffer.putChar('f');
Expand Down

0 comments on commit b1947a7

Please sign in to comment.