Skip to content

Commit

Permalink
refactor: fs manager
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed May 17, 2023
1 parent 6b9fba3 commit c97692e
Show file tree
Hide file tree
Showing 42 changed files with 740 additions and 853 deletions.
3 changes: 2 additions & 1 deletion idl/metadata.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ enum split_status
enum disk_status
{
NORMAL = 0,
SPACE_INSUFFICIENT
SPACE_INSUFFICIENT,
IO_ERROR
}

enum manual_compaction_status
Expand Down
3 changes: 2 additions & 1 deletion src/aio/native_linux_aio_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ linux_fd_t native_linux_aio_provider::open(const char *file_name, int flag, int
{
auto fd = ::open(file_name, flag, pmode);
if (fd == DSN_INVALID_FILE_HANDLE) {
LOG_ERROR("create file failed, err = {}", utils::safe_strerror(errno));
LOG_ERROR(
"create file failed, file = {}, err = {}", file_name, utils::safe_strerror(errno));
}
return linux_fd_t(fd);
}
Expand Down
Loading

0 comments on commit c97692e

Please sign in to comment.