File: disk_uring.h

package info (click to toggle)
raft 0.22.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,504 kB
  • sloc: ansic: 37,539; makefile: 264; sh: 77; python: 22
file content (19 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Sequential writes using io_uring. */

#ifndef DISK_URING_H_
#define DISK_URING_H_

#include <stddef.h>
#include <sys/uio.h>

#include "fs.h"
#include "profiler.h"
#include "report.h"

int DiskWriteUsingUring(int fd,
                        struct iovec *iov,
                        unsigned n,
                        struct Profiler *profiler,
                        struct histogram *histogram);

#endif /* DISK_URING_H_ */