projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rand: add rand64_between()
[fio.git]
/
engines
/
solarisaio.c
diff --git
a/engines/solarisaio.c
b/engines/solarisaio.c
index 137dc225d151393959266e0e6e1df51377c67bfc..151f31d4822cb2e657f097ddafa3a46a84e7930b 100644
(file)
--- a/
engines/solarisaio.c
+++ b/
engines/solarisaio.c
@@
-28,7
+28,7
@@
static int fio_solarisaio_cancel(struct thread_data fio_unused *td,
static int fio_solarisaio_prep(struct thread_data fio_unused *td,
struct io_u *io_u)
{
static int fio_solarisaio_prep(struct thread_data fio_unused *td,
struct io_u *io_u)
{
- struct solarisaio_data *sd = td->io_ops
->
data;
+ struct solarisaio_data *sd = td->io_ops
_
data;
io_u->resultp.aio_return = AIO_INPROGRESS;
io_u->engine_data = sd;
io_u->resultp.aio_return = AIO_INPROGRESS;
io_u->engine_data = sd;
@@
-73,9
+73,9
@@
static void wait_for_event(struct timeval *tv)
}
static int fio_solarisaio_getevents(struct thread_data *td, unsigned int min,
}
static int fio_solarisaio_getevents(struct thread_data *td, unsigned int min,
- unsigned int max, struct timespec *t)
+ unsigned int max,
const
struct timespec *t)
{
{
- struct solarisaio_data *sd = td->io_ops
->
data;
+ struct solarisaio_data *sd = td->io_ops
_
data;
struct timeval tv;
int ret;
struct timeval tv;
int ret;
@@
-100,7
+100,7
@@
static int fio_solarisaio_getevents(struct thread_data *td, unsigned int min,
static struct io_u *fio_solarisaio_event(struct thread_data *td, int event)
{
static struct io_u *fio_solarisaio_event(struct thread_data *td, int event)
{
- struct solarisaio_data *sd = td->io_ops
->
data;
+ struct solarisaio_data *sd = td->io_ops
_
data;
return sd->aio_events[event];
}
return sd->aio_events[event];
}
@@
-108,7
+108,7
@@
static struct io_u *fio_solarisaio_event(struct thread_data *td, int event)
static int fio_solarisaio_queue(struct thread_data fio_unused *td,
struct io_u *io_u)
{
static int fio_solarisaio_queue(struct thread_data fio_unused *td,
struct io_u *io_u)
{
- struct solarisaio_data *sd = td->io_ops
->
data;
+ struct solarisaio_data *sd = td->io_ops
_
data;
struct fio_file *f = io_u->file;
off_t off;
int ret;
struct fio_file *f = io_u->file;
off_t off;
int ret;
@@
-155,7
+155,7
@@
static int fio_solarisaio_queue(struct thread_data fio_unused *td,
static void fio_solarisaio_cleanup(struct thread_data *td)
{
static void fio_solarisaio_cleanup(struct thread_data *td)
{
- struct solarisaio_data *sd = td->io_ops
->
data;
+ struct solarisaio_data *sd = td->io_ops
_
data;
if (sd) {
free(sd->aio_events);
if (sd) {
free(sd->aio_events);
@@
-204,7
+204,7
@@
static int fio_solarisaio_init(struct thread_data *td)
fio_solarisaio_init_sigio();
#endif
fio_solarisaio_init_sigio();
#endif
- td->io_ops
->
data = sd;
+ td->io_ops
_
data = sd;
return 0;
}
return 0;
}