7 #include "compiler/compiler.h"
11 extern bool __must_check get_next_trim(struct thread_data *td, struct io_u *io_u);
12 extern bool io_u_should_trim(struct thread_data *td, struct io_u *io_u);
15 * Determine whether a given io_u should be logged for verify or
18 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo)
20 if (!flist_empty(&ipo->trim_list)) {
21 flist_del_init(&ipo->trim_list);
27 static inline bool get_next_trim(struct thread_data *td, struct io_u *io_u)
31 static inline bool io_u_should_trim(struct thread_data *td, struct io_u *io_u)
35 static inline void remove_trim_entry(struct thread_data *td, struct io_piece *ipo)