Skip to content

Commit

Permalink
Remove libaio headers for now
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Dec 26, 2023
1 parent 501141c commit f0abdb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tasks/bdev/include/bdev/bdev_tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef HRUN_TASKS_BDEV_INCLUDE_BDEV_BDEV_TASKS_H_
#define HRUN_TASKS_BDEV_INCLUDE_BDEV_BDEV_TASKS_H_

#include <libaio.h>
// #include <libaio.h>
#include "hrun/api/hrun_client.h"
#include "hrun/task_registry/task_lib.h"
#include "hrun_admin/hrun_admin.h"
Expand Down Expand Up @@ -166,7 +166,7 @@ struct WriteTask : public Task, TaskFlags<TF_LOCAL> {
IN size_t disk_off_; /**< Offset on disk */
IN size_t size_; /**< Size in buf */
TEMP int phase_ = 0;
TEMP io_context_t ctx_ = 0;
// TEMP io_context_t ctx_ = 0;

/** SHM default constructor */
HSHM_ALWAYS_INLINE explicit
Expand Down Expand Up @@ -217,7 +217,7 @@ struct ReadTask : public Task, TaskFlags<TF_LOCAL> {
IN size_t disk_off_; /**< Offset on disk */
IN size_t size_; /**< Size in disk buf */
TEMP int phase_ = 0;
TEMP io_context_t ctx_ = 0;
// TEMP io_context_t ctx_ = 0;

/** SHM default constructor */
HSHM_ALWAYS_INLINE explicit
Expand Down
2 changes: 1 addition & 1 deletion tasks/posix_bdev/src/posix_bdev.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <libaio.h>
// #include <libaio.h>

namespace hermes::posix_bdev {

Expand Down

0 comments on commit f0abdb6

Please sign in to comment.