1 #ifndef _OFD_ACCESS_BATCH_H_
2 #define _OFD_ACCESS_BATCH_H_
5 #include <linux/types.h>
10 struct alr_batch *alr_batch_create(unsigned int shift);
11 void alr_batch_destroy(struct alr_batch *alrb);
12 int alr_batch_add(struct alr_batch *alrb, const char *obd_name,
13 const struct lu_fid *pfid, time_t time, __u64 begin, __u64 end,
14 __u32 size, __u32 segment_count, __u32 flags);
15 int alr_batch_print(struct alr_batch *alrb, FILE *file,
16 pthread_mutex_t *file_mutex, int fraction);
18 #endif /* _OFD_ACCESS_BATCH_H_ */