Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:microsoft/dpdpu
Browse files Browse the repository at this point in the history
  • Loading branch information
qizzz committed Dec 10, 2023
2 parents 528da4b + 573651f commit 4acb348
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DPDPU/Common/Include/DPU/FileService.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define WORKER_THREAD_COUNT 1

extern int ForceQuitFileBackEnd;
extern volatile int ForceQuitFileBackEnd;

//
// File service running on the DPU
Expand Down Expand Up @@ -109,4 +109,4 @@ SubmitDataPlaneRequest(
DataPlaneRequestContext* Context,
bool IsRead,
RequestIdT Index
);
);
2 changes: 1 addition & 1 deletion DPDPU/Common/Source/DPU/FileService.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct DPUStorage *Sto;
char *G_BDEV_NAME = "malloc_delay";
FileService* FS;
extern bool G_INITIALIZATION_DONE;
extern int ForceQuitFileBackEnd;
extern volatile int ForceQuitFileBackEnd;
int WorkerId = 0;

//
Expand Down
2 changes: 1 addition & 1 deletion DPDPU/Main/Source/Main.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ main(
sEngPara.Argc = 3;
sEngPara.Argv = argv;

fprintf(stdout, "Starting storage engine...\n");
ret = pthread_create(&sEng, NULL, StorageEngine, (void*)&sEngPara);
if (ret) {
fprintf(stderr, "Failed to run storage engine\n");
Expand Down Expand Up @@ -78,7 +79,6 @@ main(
// Wait for storage engine
//
//
fprintf(stdout, "Waiting for storage engine to exit\n");
pthread_join(sEng, NULL);
fprintf(stdout, "Storage engine exited\n");

Expand Down

0 comments on commit 4acb348

Please sign in to comment.