Lines Matching defs:r5l_log
37 struct r5l_log { struct
38 struct md_rdev *rdev;
40 u32 uuid_checksum;
42 sector_t device_size; /* log device size, round to
44 sector_t max_free_space; /* reclaim run if free space is at
47 sector_t last_checkpoint; /* log tail. where recovery scan
49 u64 last_cp_seq; /* log tail sequence */
51 sector_t log_start; /* log head. where new data appends */
52 u64 seq; /* log head sequence */
54 sector_t next_checkpoint;
55 u64 next_cp_seq;
57 struct mutex io_mutex;
58 struct r5l_io_unit *current_io; /* current io_unit accepting new data */
60 spinlock_t io_list_lock;
61 struct list_head running_ios; /* io_units which are still running,
64 struct list_head io_end_ios; /* io_units which have been completely
67 struct list_head flushing_ios; /* io_units which are waiting for log
69 struct list_head finished_ios; /* io_units which settle down in log disk */
70 struct bio flush_bio;
72 struct kmem_cache *io_kc;
74 struct md_thread *reclaim_thread;
75 unsigned long reclaim_target; /* number of space that need to be
99 struct r5l_log *log; argument