raid5-log.h (c002c27874faaa170b535d03d7efee89ecdd9be4) | raid5-log.h (b03e0ccb5ab9df3efbe51c87843a1ffbecbafa1f) |
---|---|
1#ifndef _RAID5_LOG_H 2#define _RAID5_LOG_H 3 4extern int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev); 5extern void r5l_exit_log(struct r5conf *conf); 6extern int r5l_write_stripe(struct r5l_log *log, struct stripe_head *head_sh); 7extern void r5l_write_stripe_run(struct r5l_log *log); 8extern void r5l_flush_stripe_to_raid(struct r5l_log *log); 9extern void r5l_stripe_write_finished(struct stripe_head *sh); 10extern int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio); | 1#ifndef _RAID5_LOG_H 2#define _RAID5_LOG_H 3 4extern int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev); 5extern void r5l_exit_log(struct r5conf *conf); 6extern int r5l_write_stripe(struct r5l_log *log, struct stripe_head *head_sh); 7extern void r5l_write_stripe_run(struct r5l_log *log); 8extern void r5l_flush_stripe_to_raid(struct r5l_log *log); 9extern void r5l_stripe_write_finished(struct stripe_head *sh); 10extern int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio); |
11extern void r5l_quiesce(struct r5l_log *log, int state); | 11extern void r5l_quiesce(struct r5l_log *log, int quiesce); |
12extern bool r5l_log_disk_error(struct r5conf *conf); 13extern bool r5c_is_writeback(struct r5l_log *log); 14extern int 15r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh, 16 struct stripe_head_state *s, int disks); 17extern void 18r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh, 19 struct stripe_head_state *s); --- 97 unchanged lines hidden --- | 12extern bool r5l_log_disk_error(struct r5conf *conf); 13extern bool r5c_is_writeback(struct r5l_log *log); 14extern int 15r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh, 16 struct stripe_head_state *s, int disks); 17extern void 18r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh, 19 struct stripe_head_state *s); --- 97 unchanged lines hidden --- |