|
Network Block Device
@PACKAGE_VERSION@
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <sys/time.h>#include <sys/types.h>#include <stdint.h>#include <unistd.h>#include "config.h"#include "cliserv.h"#include "nbd.h"Go to the source code of this file.
Functions | |
| static void | dowrite (int f, void *buf, size_t len) |
| static uint64_t | getrandomuint64 () |
| int | main (int argc, char **argv) |
Variables | |
| const uint64_t | filesize =50*1000*1000 |
| const uint64_t | transactions = 250 |
|
inlinestatic |
Definition at line 21 of file make-integrityhuge.c.
Referenced by main().
|
inlinestatic |
Definition at line 34 of file make-integrityhuge.c.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 43 of file make-integrityhuge.c.
References dowrite(), nbd_reply::error, filesize, nbd_request::from, getrandomuint64(), handle, nbd_request::handle, nbd_reply::handle, htonll, nbd_request::len, nbd_request::magic, nbd_reply::magic, NBD_CMD_DISC, NBD_CMD_FLAG_FUA, NBD_CMD_FLUSH, NBD_CMD_READ, NBD_CMD_WRITE, NBD_REPLY_MAGIC, NBD_REQUEST_MAGIC, transactions, and nbd_request::type.
| const uint64_t filesize =50*1000*1000 |
Definition at line 18 of file make-integrityhuge.c.
Referenced by main().
| const uint64_t transactions = 250 |
Definition at line 19 of file make-integrityhuge.c.
Referenced by main().
1.8.8