Skip to content

Commit

Permalink
Merge pull request #649 from lukemartinlogan/dev
Browse files Browse the repository at this point in the history
Remove libaio headers for now
  • Loading branch information
lukemartinlogan authored Dec 26, 2023
2 parents 381f757 + f0abdb6 commit cb27858
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 cb27858

Please sign in to comment.