8 #include <sys/resource.h>
18 #include "compiler/compiler.h"
22 #include "arch/arch.h"
40 TD_DDIR_READ = 1 << 0,
41 TD_DDIR_WRITE = 1 << 1,
42 TD_DDIR_RAND = 1 << 2,
43 TD_DDIR_RW = TD_DDIR_READ | TD_DDIR_WRITE,
44 TD_DDIR_RANDREAD = TD_DDIR_READ | TD_DDIR_RAND,
45 TD_DDIR_RANDWRITE = TD_DDIR_WRITE | TD_DDIR_RAND,
46 TD_DDIR_RANDRW = TD_DDIR_RW | TD_DDIR_RAND,
56 * Use for maintaining statistics
59 unsigned long max_val;
60 unsigned long min_val;
61 unsigned long samples;
68 * A single data sample
77 * Dynamically growing data sample log
80 unsigned long nr_samples;
81 unsigned long max_samples;
82 struct io_sample *log;
86 * When logging io actions, this matches a single sent io_u
90 struct rb_node rb_node;
91 struct list_head list;
95 struct fio_file *file;
97 unsigned long long offset;
102 unsigned int file_action;
107 IO_U_F_FREE = 1 << 0,
108 IO_U_F_FLIGHT = 1 << 1,
118 #ifdef FIO_HAVE_LIBAIO
121 #ifdef FIO_HAVE_POSIXAIO
125 struct sg_io_hdr hdr;
127 #ifdef FIO_HAVE_GUASI
131 struct timeval start_time;
132 struct timeval issue_time;
135 * Allocated/set buffer and length
138 unsigned long buflen;
139 unsigned long long offset;
140 unsigned long long endpos;
143 * IO engine state, may be different from above when we get
144 * partial transfers / residual data counts
147 unsigned long xfer_buflen;
155 * io engine private data
164 struct fio_file *file;
166 struct list_head list;
169 * Callback for io completion
171 int (*end_io)(struct thread_data *, struct io_u *);
175 * io_ops->queue() return values
178 FIO_Q_COMPLETED = 0, /* completed sync */
179 FIO_Q_QUEUED = 1, /* queued, will complete async */
180 FIO_Q_BUSY = 2, /* no more room, call ->commit() */
183 #define FIO_HDR_MAGIC 0xf00baaef
186 VERIFY_NONE = 0, /* no verification */
187 VERIFY_MD5, /* md5 sum data blocks */
188 VERIFY_CRC64, /* crc64 sum data blocks */
189 VERIFY_CRC32, /* crc32 sum data blocks */
190 VERIFY_CRC16, /* crc16 sum data blocks */
191 VERIFY_CRC7, /* crc7 sum data blocks */
192 VERIFY_SHA256, /* sha256 sum data blocks */
193 VERIFY_SHA512, /* sha512 sum data blocks */
194 VERIFY_META, /* block_num, timestamp etc. */
195 VERIFY_NULL, /* pretend to verify */
199 * A header structure associated with each checksummed data block. It is
200 * followed by a checksum specific header that contains the verification
203 struct verify_header {
204 unsigned int fio_magic;
206 unsigned int verify_type;
210 uint32_t md5_digest[16];
232 unsigned char thread;
233 unsigned short numberio;
234 unsigned long time_sec;
235 unsigned long time_usec;
238 struct group_run_stats {
239 unsigned long long max_run[2], min_run[2];
240 unsigned long long max_bw[2], min_bw[2];
241 unsigned long long io_kb[2];
242 unsigned long long agg[2];
246 * What type of allocation to use for io buffers
249 MEM_MALLOC = 0, /* ordinary malloc */
250 MEM_SHM, /* use shared memory segments */
251 MEM_SHMHUGE, /* use shared memory segments with huge pages */
252 MEM_MMAP, /* use anonynomous mmap */
253 MEM_MMAPHUGE, /* memory mapped huge file */
257 * The type of object we are working on
260 FIO_TYPE_FILE = 1, /* plain file */
261 FIO_TYPE_BD, /* block device */
262 FIO_TYPE_CHAR, /* character device */
263 FIO_TYPE_PIPE, /* pipe */
266 enum fio_ioengine_flags {
267 FIO_SYNCIO = 1 << 0, /* io engine has synchronous ->queue */
268 FIO_RAWIO = 1 << 1, /* some sort of direct/raw io */
269 FIO_DISKLESSIO = 1 << 2, /* no disk involved */
270 FIO_NOEXTEND = 1 << 3, /* engine can't extend file */
271 FIO_NODISKUTIL = 1 << 4, /* diskutil can't handle filename */
272 FIO_UNIDIR = 1 << 5, /* engine is uni-directional */
273 FIO_NOIO = 1 << 6, /* thread does only pseudo IO */
274 FIO_SIGQUIT = 1 << 7, /* needs SIGQUIT to exit */
277 enum fio_file_flags {
278 FIO_FILE_OPEN = 1 << 0, /* file is open */
279 FIO_FILE_CLOSING = 1 << 1, /* file being closed */
280 FIO_FILE_EXTEND = 1 << 2, /* needs extend */
281 FIO_FILE_DONE = 1 << 3, /* io completed to this file */
282 FIO_SIZE_KNOWN = 1 << 4, /* size has been set */
283 FIO_FILE_HASHED = 1 << 5, /* file is on hash */
287 * Each thread_data structure has a number of files associated with it,
288 * this structure holds state information for a single file.
291 struct list_head hash_list;
292 enum fio_filetype filetype;
295 * A file may not be a file descriptor, let the io engine decide
298 unsigned long file_data;
303 * filename and possible memory mapping
307 unsigned int major, minor;
310 * size of the file, offset into file, and io size from that offset
312 unsigned long long real_file_size;
313 unsigned long long file_offset;
314 unsigned long long io_size;
316 unsigned long long last_pos;
319 * if io is protected by a semaphore, this is set
321 struct fio_mutex *lock;
323 unsigned int lock_batch;
324 enum fio_ddir lock_ddir;
327 * block map for random io
329 unsigned long *file_map;
330 unsigned int num_maps;
331 unsigned int last_free_lookup;
334 enum fio_file_flags flags;
338 * How many depth levels to log
340 #define FIO_IO_U_MAP_NR 8
341 #define FIO_IO_U_LAT_U_NR 10
342 #define FIO_IO_U_LAT_M_NR 12
353 struct io_log *slat_log;
354 struct io_log *clat_log;
355 struct io_log *bw_log;
358 * bandwidth and latency stats
360 struct io_stat clat_stat[2]; /* completion latency */
361 struct io_stat slat_stat[2]; /* submission latency */
362 struct io_stat bw_stat[2]; /* bandwidth stats */
364 unsigned long long stat_io_bytes[2];
365 struct timeval stat_sample_time[2];
368 * fio system usage accounting
370 struct rusage ru_start;
371 struct rusage ru_end;
372 unsigned long usr_time;
373 unsigned long sys_time;
375 unsigned long minf, majf;
378 * IO depth and latency stats
380 unsigned int io_u_map[FIO_IO_U_MAP_NR];
381 unsigned int io_u_submit[FIO_IO_U_MAP_NR];
382 unsigned int io_u_complete[FIO_IO_U_MAP_NR];
383 unsigned int io_u_lat_u[FIO_IO_U_LAT_U_NR];
384 unsigned int io_u_lat_m[FIO_IO_U_LAT_M_NR];
385 unsigned long total_io_u[2];
386 unsigned long short_io_u[2];
387 unsigned long total_submit;
388 unsigned long total_complete;
390 unsigned long long io_bytes[2];
391 unsigned long runtime[2];
392 unsigned long total_run_time;
400 struct thread_options {
408 enum td_ddir td_ddir;
409 unsigned int ddir_nr;
410 unsigned int iodepth;
411 unsigned int iodepth_low;
412 unsigned int iodepth_batch;
414 unsigned long long size;
415 unsigned int fill_device;
416 unsigned long long file_size_low;
417 unsigned long long file_size_high;
418 unsigned long long start_offset;
421 unsigned int min_bs[2];
422 unsigned int max_bs[2];
423 struct bssplit *bssplit;
424 unsigned int bssplit_nr;
426 unsigned int nr_files;
427 unsigned int open_files;
428 enum file_lock_mode file_lock_mode;
429 unsigned int lockfile_batch;
431 unsigned int odirect;
432 unsigned int invalidate_cache;
433 unsigned int create_serialize;
434 unsigned int create_fsync;
435 unsigned int end_fsync;
436 unsigned int sync_io;
438 unsigned int do_verify;
439 unsigned int verifysort;
440 unsigned int verify_interval;
441 unsigned int verify_offset;
442 unsigned int verify_pattern;
443 unsigned int verify_pattern_bytes;
444 unsigned int verify_fatal;
445 unsigned int use_thread;
447 unsigned int do_disk_util;
448 unsigned int override_sync;
449 unsigned int rand_repeatable;
450 unsigned int write_lat_log;
451 unsigned int write_bw_log;
452 unsigned int norandommap;
453 unsigned int softrandommap;
454 unsigned int bs_unaligned;
455 unsigned int fsync_on_close;
457 unsigned int hugepage_size;
458 unsigned int rw_min_bs;
459 unsigned int thinktime;
460 unsigned int thinktime_spin;
461 unsigned int thinktime_blocks;
462 unsigned int fsync_blocks;
463 unsigned int start_delay;
464 unsigned long long timeout;
465 unsigned int overwrite;
466 unsigned int bw_avg_time;
468 unsigned long long zone_size;
469 unsigned long long zone_skip;
470 enum fio_memtype mem_type;
472 unsigned int stonewall;
473 unsigned int new_group;
474 unsigned int numjobs;
475 os_cpu_mask_t cpumask;
476 unsigned int cpumask_set;
478 unsigned int rwmixcycle;
479 unsigned int rwmix[2];
481 unsigned int file_service_type;
482 unsigned int group_reporting;
483 unsigned int fadvise_hint;
484 unsigned int zero_buffers;
485 unsigned int refill_buffers;
486 unsigned int time_based;
488 char *read_iolog_file;
489 char *write_iolog_file;
492 * Pre-run and post-run shell
498 unsigned int ratemin;
499 unsigned int ratecycle;
500 unsigned int rate_iops;
501 unsigned int rate_iops_min;
506 * CPU "io" cycle burner
508 unsigned int cpuload;
509 unsigned int cpucycle;
512 #define FIO_VERROR_SIZE 128
515 * This describes a single thread/process executing a fio job.
518 struct thread_options o;
519 char verror[FIO_VERROR_SIZE];
523 struct thread_stat ts;
524 struct fio_file **files;
525 unsigned int files_index;
526 unsigned int nr_open_files;
527 unsigned int nr_done_files;
528 unsigned int nr_normal_files;
530 unsigned int next_file;
531 os_random_state_t next_file_state;
537 size_t orig_buffer_size;
538 volatile int terminate;
539 volatile int runstate;
541 unsigned int ioprio_set;
542 unsigned int last_was_sync;
552 os_random_state_t bsrange_state;
553 os_random_state_t verify_state;
558 * IO engine hooks, contains everything needed to submit an io_u
559 * to any of the available IO engines.
561 struct ioengine_ops *io_ops;
564 * Current IO depth and list of free and busy io_u's.
566 unsigned int cur_depth;
567 unsigned int io_u_queued;
568 struct list_head io_u_freelist;
569 struct list_head io_u_busylist;
570 struct list_head io_u_requeues;
575 unsigned long rate_usec_cycle;
576 long rate_pending_usleep;
577 unsigned long rate_bytes;
578 unsigned long rate_blocks;
579 struct timeval lastrate;
581 unsigned long long total_io_size;
583 unsigned long io_issues[2];
584 unsigned long long io_blocks[2];
585 unsigned long long io_bytes[2];
586 unsigned long long io_skip_bytes;
587 unsigned long long this_io_bytes[2];
588 unsigned long long zone_bytes;
589 struct fio_mutex *mutex;
592 * State for random io, a bitmap of blocks done vs not done
594 os_random_state_t random_state;
596 struct timeval start; /* start of this loop */
597 struct timeval epoch; /* time job was started */
598 struct timeval rw_end[2];
599 struct timeval last_issue;
600 unsigned int rw_end_set[2];
603 * read/write mixed workload state
605 os_random_state_t rwmix_state;
606 unsigned long rwmix_issues;
607 enum fio_ddir rwmix_ddir;
608 unsigned int ddir_nr;
611 * IO history logs for verification. We use a tree for sorting,
612 * if we are overwriting. Otherwise just use a fifo.
614 struct rb_root io_hist_tree;
615 struct list_head io_hist_list;
620 struct list_head io_log_list;
625 struct timeval timeout_end;
626 struct itimerval timer;
629 * for fileservice, how often to switch to a new file
631 unsigned int file_service_nr;
632 unsigned int file_service_left;
633 struct fio_file *file_service_file;
636 * For generating file sizes
638 os_random_state_t file_size_state;
642 * roundrobin available files, or choose one at random.
645 FIO_FSERVICE_RANDOM = 1,
650 * when should interactive ETA output be generated
659 * 30 second per-io_u timeout, with 5 second intervals to avoid resetting
660 * the timer on each queue operation.
662 #define IO_U_TIMEOUT_INC 5
663 #define IO_U_TIMEOUT 30
665 #define __td_verror(td, err, msg, func) \
671 snprintf(td->verror, sizeof(td->verror) - 1, "file:%s:%d, func=%s, error=%s", __FILE__, __LINE__, (func), (msg)); \
675 #define td_verror(td, err, func) \
676 __td_verror((td), (err), strerror((err)), (func))
677 #define td_vmsg(td, err, msg, func) \
678 __td_verror((td), (err), (msg), (func))
680 extern int exitall_on_terminate;
681 extern int thread_number;
682 extern int nr_process, nr_thread;
685 extern int terse_output;
686 extern int temp_stall_ts;
687 extern unsigned long long mlock_size;
688 extern unsigned long page_mask, page_size;
689 extern int read_only;
690 extern int eta_print;
691 extern unsigned long done_secs;
692 extern char *job_section;
694 extern struct thread_data *threads;
696 #define td_read(td) ((td)->o.td_ddir & TD_DDIR_READ)
697 #define td_write(td) ((td)->o.td_ddir & TD_DDIR_WRITE)
698 #define td_rw(td) (((td)->o.td_ddir & TD_DDIR_RW) == TD_DDIR_RW)
699 #define td_random(td) ((td)->o.td_ddir & TD_DDIR_RAND)
700 #define file_randommap(td, f) (!(td)->o.norandommap && (f)->file_map)
702 static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u)
704 assert(!(io_u->ddir == DDIR_WRITE && !td_write(td)));
707 #define BLOCKS_PER_MAP (8 * sizeof(long))
708 #define TO_MAP_BLOCK(f, b) (b)
709 #define RAND_MAP_IDX(f, b) (TO_MAP_BLOCK(f, b) / BLOCKS_PER_MAP)
710 #define RAND_MAP_BIT(f, b) (TO_MAP_BLOCK(f, b) & (BLOCKS_PER_MAP - 1))
712 #define MAX_JOBS (1024)
714 static inline int should_fsync(struct thread_data *td)
716 if (td->last_was_sync)
720 if (td_write(td) || td_rw(td) || td->o.override_sync)
727 * Disk utils as read in /sys/block/<dev>/stat
729 struct disk_util_stat {
732 unsigned long long sectors[2];
735 unsigned time_in_queue;
739 * Per-device disk util management
742 struct list_head list;
749 struct disk_util_stat dus;
750 struct disk_util_stat last_dus;
756 #define DISK_UTIL_MSEC (250)
768 extern int __must_check read_iolog_get(struct thread_data *, struct io_u *);
769 extern void log_io_u(struct thread_data *, struct io_u *);
770 extern void log_file(struct thread_data *, struct fio_file *, enum file_log_act);
771 extern int __must_check init_iolog(struct thread_data *td);
772 extern void log_io_piece(struct thread_data *, struct io_u *);
773 extern void queue_io_piece(struct thread_data *, struct io_piece *);
774 extern void prune_io_piece_log(struct thread_data *);
775 extern void write_iolog_close(struct thread_data *);
780 extern void add_clat_sample(struct thread_data *, enum fio_ddir, unsigned long);
781 extern void add_slat_sample(struct thread_data *, enum fio_ddir, unsigned long);
782 extern void add_bw_sample(struct thread_data *, enum fio_ddir, struct timeval *);
783 extern void show_run_stats(void);
784 extern void init_disk_util(struct thread_data *);
785 extern void update_rusage_stat(struct thread_data *);
786 extern void update_io_ticks(void);
787 extern void disk_util_timer_arm(void);
788 extern void setup_log(struct io_log **);
789 extern void finish_log(struct thread_data *, struct io_log *, const char *);
790 extern void __finish_log(struct io_log *, const char *);
791 extern struct io_log *agg_io_log[2];
792 extern int write_bw_log;
793 extern void add_agg_sample(unsigned long, enum fio_ddir);
798 extern unsigned long long utime_since(struct timeval *, struct timeval *);
799 extern unsigned long long utime_since_now(struct timeval *);
800 extern unsigned long mtime_since(struct timeval *, struct timeval *);
801 extern unsigned long mtime_since_now(struct timeval *);
802 extern unsigned long time_since_now(struct timeval *);
803 extern unsigned long mtime_since_genesis(void);
804 extern void __usec_sleep(unsigned int);
805 extern void usec_sleep(struct thread_data *, unsigned long);
806 extern void rate_throttle(struct thread_data *, unsigned long, unsigned int);
807 extern void fill_start_time(struct timeval *);
808 extern void fio_gettime(struct timeval *, void *);
809 extern void set_genesis_time(void);
812 * Init/option functions
814 extern int __must_check parse_options(int, char **);
815 extern int fio_option_parse(struct thread_data *, const char *);
816 extern int fio_cmd_option_parse(struct thread_data *, const char *, char *);
817 extern void fio_fill_default_options(struct thread_data *);
818 extern int fio_show_option_help(const char *);
819 extern void fio_options_dup_and_init(struct option *);
820 extern void options_mem_dupe(struct thread_data *);
821 extern void options_mem_free(struct thread_data *);
822 #define FIO_GETOPT_JOB 0x89988998
823 #define FIO_NR_OPTIONS 128
826 * File setup/shutdown
828 extern void close_files(struct thread_data *);
829 extern void close_and_free_files(struct thread_data *);
830 extern int __must_check setup_files(struct thread_data *);
831 extern int __must_check open_files(struct thread_data *);
832 extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *);
833 extern int __must_check generic_open_file(struct thread_data *, struct fio_file *);
834 extern int __must_check generic_close_file(struct thread_data *, struct fio_file *);
835 extern int add_file(struct thread_data *, const char *);
836 extern void get_file(struct fio_file *);
837 extern int __must_check put_file(struct thread_data *, struct fio_file *);
838 extern void lock_file(struct thread_data *, struct fio_file *, enum fio_ddir);
839 extern void unlock_file(struct thread_data *, struct fio_file *);
840 extern void unlock_file_all(struct thread_data *, struct fio_file *);
841 extern int add_dir_files(struct thread_data *, const char *);
842 extern int init_random_map(struct thread_data *);
843 extern void dup_files(struct thread_data *, struct thread_data *);
844 extern int get_fileno(struct thread_data *, const char *);
845 extern void free_release_files(struct thread_data *);
850 extern void print_thread_status(void);
851 extern void print_status_init(int);
856 #ifdef FIO_HAVE_DISK_UTIL
857 extern void show_disk_util(void);
858 extern void disk_util_timer_arm(void);
859 extern void init_disk_util(struct thread_data *);
860 extern void update_io_ticks(void);
862 #define show_disk_util()
863 #define disk_util_timer_arm()
864 #define init_disk_util(td)
865 #define update_io_ticks()
869 * Thread life cycle. Once a thread has a runstate beyond TD_INITIALIZED, it
870 * will never back again. It may cycle between running/verififying/fsyncing.
871 * Once the thread reaches TD_EXITED, it is just waiting for the core to
888 extern void populate_verify_io_u(struct thread_data *, struct io_u *);
889 extern int __must_check get_next_verify(struct thread_data *td, struct io_u *);
890 extern int __must_check verify_io_u(struct thread_data *, struct io_u *);
895 extern int __must_check fio_pin_memory(void);
896 extern void fio_unpin_memory(void);
897 extern int __must_check allocate_io_mem(struct thread_data *);
898 extern void free_io_mem(struct thread_data *);
903 #define queue_full(td) list_empty(&(td)->io_u_freelist)
904 extern struct io_u *__get_io_u(struct thread_data *);
905 extern struct io_u *get_io_u(struct thread_data *);
906 extern void put_io_u(struct thread_data *, struct io_u *);
907 extern void requeue_io_u(struct thread_data *, struct io_u **);
908 extern long __must_check io_u_sync_complete(struct thread_data *, struct io_u *);
909 extern long __must_check io_u_queued_complete(struct thread_data *, int);
910 extern void io_u_queued(struct thread_data *, struct io_u *);
911 extern void io_u_log_error(struct thread_data *, struct io_u *);
912 extern void io_u_init_timeout(void);
913 extern void io_u_set_timeout(struct thread_data *);
914 extern void io_u_mark_depth(struct thread_data *, unsigned int);
915 extern void io_u_fill_buffer(struct thread_data *td, struct io_u *, unsigned int);
916 void io_u_mark_complete(struct thread_data *, unsigned int);
917 void io_u_mark_submit(struct thread_data *, unsigned int);
920 * io engine entry points
922 extern int __must_check td_io_init(struct thread_data *);
923 extern int __must_check td_io_prep(struct thread_data *, struct io_u *);
924 extern int __must_check td_io_queue(struct thread_data *, struct io_u *);
925 extern int __must_check td_io_sync(struct thread_data *, struct fio_file *);
926 extern int __must_check td_io_getevents(struct thread_data *, unsigned int, unsigned int, struct timespec *);
927 extern int __must_check td_io_commit(struct thread_data *);
928 extern int __must_check td_io_open_file(struct thread_data *, struct fio_file *);
929 extern int td_io_close_file(struct thread_data *, struct fio_file *);
934 #ifdef FIO_HAVE_BLKTRACE
935 extern int is_blktrace(const char *);
936 extern int load_blktrace(struct thread_data *, const char *);
939 struct ioengine_ops {
940 struct list_head list;
944 int (*setup)(struct thread_data *);
945 int (*init)(struct thread_data *);
946 int (*prep)(struct thread_data *, struct io_u *);
947 int (*queue)(struct thread_data *, struct io_u *);
948 int (*commit)(struct thread_data *);
949 int (*getevents)(struct thread_data *, unsigned int, unsigned int, struct timespec *);
950 struct io_u *(*event)(struct thread_data *, int);
951 int (*cancel)(struct thread_data *, struct io_u *);
952 void (*cleanup)(struct thread_data *);
953 int (*open_file)(struct thread_data *, struct fio_file *);
954 int (*close_file)(struct thread_data *, struct fio_file *);
959 #define FIO_IOOPS_VERSION 9
961 extern struct ioengine_ops *load_ioengine(struct thread_data *, const char *);
962 extern void register_ioengine(struct ioengine_ops *);
963 extern void unregister_ioengine(struct ioengine_ops *);
964 extern void close_ioengine(struct thread_data *);
967 * Mark unused variables passed to ops functions as unused, to silence gcc
969 #define fio_unused __attribute((__unused__))
970 #define fio_init __attribute__((constructor))
971 #define fio_exit __attribute__((destructor))
973 #define for_each_td(td, i) \
974 for ((i) = 0, (td) = &threads[0]; (i) < (int) thread_number; (i)++, (td)++)
975 #define for_each_file(td, f, i) \
976 if ((td)->files_index) \
977 for ((i) = 0, (f) = (td)->files[0]; \
978 (i) < (td)->o.nr_files && ((f) = (td)->files[i]) != NULL; \
981 #define fio_assert(td, cond) do { \
984 fprintf(stderr, "file:%s:%d, assert %s failed\n", __FILE__, __LINE__, #cond); \
985 (td)->runstate = TD_EXITED; \
986 (td)->error = EFAULT; \
991 static inline void fio_file_reset(struct fio_file *f)
993 f->last_free_lookup = 0;
994 f->last_pos = f->file_offset;
997 static inline void clear_error(struct thread_data *td)
1000 td->verror[0] = '\0';
1003 #ifdef FIO_INC_DEBUG
1004 static inline void dprint_io_u(struct io_u *io_u, const char *p)
1006 struct fio_file *f = io_u->file;
1008 dprint(FD_IO, "%s: io_u %p: off=%llu/len=%lu/ddir=%d", p, io_u,
1009 (unsigned long long) io_u->offset,
1010 io_u->buflen, io_u->ddir);
1011 if (fio_debug & (1 << FD_IO)) {
1013 log_info("/%s", f->file_name);
1019 #define dprint_io_u(io_u, p)