Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
refactor: remove empty_aio_provider and posix aio_provider (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Tao authored and qinzuoyan committed Sep 16, 2019
1 parent 1a66d5f commit ec725ed
Show file tree
Hide file tree
Showing 66 changed files with 7 additions and 560 deletions.
1 change: 0 additions & 1 deletion src/core/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ set(MY_BINPLACES "${CMAKE_CURRENT_SOURCE_DIR}/config-bad-section.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/config-sample.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/config-test-corrupt-message.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/config-test.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/config-test-posix-aio.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/config-test-sim.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/config-unmatch-section.ini"
"${CMAKE_CURRENT_SOURCE_DIR}/command.txt"
Expand Down
72 changes: 0 additions & 72 deletions src/core/tests/config-test-posix-aio.ini

This file was deleted.

1 change: 0 additions & 1 deletion src/core/tests/gtest.filter
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
config-test.ini -core.corrupt_message:core.aio*:core.operation_failed:tools_hpc.*
config-test-sim.ini -core.corrupt_message:core.aio*:core.operation_failed:tools_hpc.*:tools_simulator.*:task_test.signal_finished_task
config-test-sim.ini tools_simulator.*
config-test-posix-aio.ini core.aio*:core.operation_failed
64 changes: 0 additions & 64 deletions src/core/tools/common/empty_aio_provider.cpp

This file was deleted.

58 changes: 0 additions & 58 deletions src/core/tools/common/empty_aio_provider.h

This file was deleted.

11 changes: 0 additions & 11 deletions src/core/tools/common/native_aio_provider.linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
* THE SOFTWARE.
*/

/*
* Description:
* What is this file about?
*
* Revision history:
* xxxx-xx-xx, author, first version
* xxxx-xx-xx, author, fix bug about xxx
*/
#ifdef __linux__

#include "native_aio_provider.linux.h"

#include <fcntl.h>
Expand Down Expand Up @@ -245,4 +235,3 @@ error_code native_linux_aio_provider::aio_internal(aio_task *aio_tsk,

} // namespace tools
} // namespace dsn
#endif
Loading

0 comments on commit ec725ed

Please sign in to comment.