Whamcloud - gitweb
LU-13376 utils: add batching to ofd_access_log_reader
[fs/lustre-release.git] / lustre / utils / ofd_access_batch.h
1 #ifndef _OFD_ACCESS_BATCH_H_
2 #define _OFD_ACCESS_BATCH_H_
3 #include <sys/types.h>
4 #include <linux/types.h>
5
6 struct lu_fid;
7 struct alr_batch;
8
9 struct alr_batch *alr_batch_create(unsigned int shift);
10 void alr_batch_destroy(struct alr_batch *alrb);
11 int alr_batch_add(struct alr_batch *alrb, const char *obd_name,
12                 const struct lu_fid *pfid, time_t time, __u64 begin, __u64 end,
13                 __u32 size, __u32 segment_count, __u32 flags);
14 int alr_batch_print(struct alr_batch *alrb, FILE *file);
15
16 #endif /* _OFD_ACCESS_BATCH_H_ */