Lines Matching refs:completion

16 #include "completion.h"
47 * completion per lock.
186 vdo_launch_completion(&journal->lock_counter.completion);
321 return vdo_is_read_only(journal->flush_vio->completion.vdo);
373 * @parent: The completion to notify in order to acknowledge the notification.
395 vdo_enter_read_only_mode(journal->flush_vio->completion.vdo, error_code);
477 * @completion: The journal's flush VIO.
481 static void complete_reaping(struct vdo_completion *completion)
483 struct recovery_journal *journal = completion->parent;
493 * @completion: The journal's flush VIO.
495 static void handle_flush_error(struct vdo_completion *completion)
497 struct recovery_journal *journal = completion->parent;
499 vio_record_metadata_io_error(as_vio(completion));
501 enter_journal_read_only_mode(journal, completion->result);
507 struct recovery_journal *journal = vio->completion.parent;
551 * @completion: The lock counter completion.
556 static void reap_recovery_journal_callback(struct vdo_completion *completion)
558 struct recovery_journal *journal = (struct recovery_journal *) completion->parent;
623 vdo_initialize_completion(&counter->completion, vdo,
625 vdo_prepare_completion(&counter->completion, reap_recovery_journal_callback,
774 journal->flush_vio->completion.callback_thread_id = journal->thread_id;
1259 * @completion: The completion of the VIO writing this block.
1264 static void complete_write(struct vdo_completion *completion)
1266 struct recovery_journal_block *block = completion->parent;
1302 static void handle_write_error(struct vdo_completion *completion)
1304 struct recovery_journal_block *block = completion->parent;
1307 vio_record_metadata_io_error(as_vio(completion));
1308 vdo_log_error_strerror(completion->result,
1311 enter_journal_read_only_mode(journal, completion->result);
1312 complete_write(completion);
1318 struct recovery_journal_block *block = vio->completion.parent;
1628 * @parent: The completion to notify once the journal is drained.
1666 * @parent: The completion to finish once the journal is resumed.