41 .nc_rpc_delay_min = 1000,
42 .nc_rpc_delay_max = 5000,
43 .nc_frag_delay_min = 100,
44 .nc_frag_delay_max = 1000,
45 .nc_rate_min = 750000000,
46 .nc_rate_max = 1000000000,
54 .ns_pre_bulk_max = 1000,
55 .ns_file_size = 1024*1024
66 .ct_unitsize = 4*1024*1024,
70 .ct_total = 1024*1024*1024,
72 .ct_delay_max = 1000000,
82 .cc_cylinders = 153352,
84 .cc_cylinder_skew = 76,
85 .cc_sectors_min = 1220,
86 .cc_sectors_max = 1800,
87 .cc_cyl_in_zone = 48080,
89 .cc_seek_avg = 8500000,
90 .cc_seek_track_to_track = 800000,
91 .cc_seek_full_stroke = 16000000,
92 .cc_write_settle = 500000,
93 .cc_head_switch = 500000,
94 .cc_command_latency = 0,
143 int main(
int argc,
char **argv)
unsigned long ct_client_step
#define M0_GETOPTS(progname, argc, argv,...)
M0_INTERNAL void sim_init(struct sim *state)
static struct chs_conf ST31000640SS
static struct net_srv srv0
M0_INTERNAL void chs_dev_fini(struct chs_dev *dev)
M0_INTERNAL void chs_conf_fini(struct chs_conf *conf)
M0_INTERNAL void elevator_init(struct elevator *el, struct storage_dev *dev)
static struct m0t1fs_conf m0t1fs
static void workload_fini(void)
M0_INTERNAL void sim_log(struct sim *s, enum sim_log_level level, const char *format,...)
static struct net_conf net
int m0_init(struct m0 *instance)
#define container_of(ptr, type, member)
#define M0_VOIDARG(ch, desc, func)
unsigned long ct_thread_step
M0_INTERNAL void sim_run(struct sim *state)
M0_INTERNAL void chs_conf_init(struct chs_conf *conf)
#define M0_FORMATARG(ch, desc, fmt, ptr)
M0_INTERNAL void m0t1fs_fini(struct m0t1fs_conf *conf)
M0_INTERNAL void m0t1fs_init(struct sim *s, struct m0t1fs_conf *conf)
M0_INTERNAL void * sim_alloc(size_t size)
int main(int argc, char **argv)
Test server for m0console.
M0_INTERNAL void net_init(struct net_conf *net)
struct storage_dev * e_dev
struct storage_conf cc_storage
static void workload_init(struct sim *s, int argc, char **argv)
M0_INTERNAL void elevator_fini(struct elevator *el)
M0_INTERNAL void cnt_dump_all(void)
M0_INTERNAL void chs_dev_init(struct chs_dev *dev, struct sim *sim, struct chs_conf *conf)
unsigned long long ns_file_size
struct storage_dev cd_storage
static struct elevator el
M0_INTERNAL void sim_name_set(char **name, const char *format,...)
M0_INTERNAL void sim_fini(struct sim *state)
static struct m0_addb2_source * s
M0_INTERNAL void net_fini(struct net_conf *net)