Lines Matching defs:log_start
96 sector_t log_start; /* log head. where new data appends */
141 /* all stripes in r5cache, in the order of seq at sh->log_start */
219 sector_t log_start; /* where the io_unit starts */
278 log->log_start);
426 free_space = r5l_ring_distance(log, log->log_start,
742 bio->bi_iter.bi_sector = log->rdev->data_offset + log->log_start;
749 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS);
759 if (log->log_start == 0)
762 io->log_end = log->log_start;
787 block->position = cpu_to_le64(log->log_start);
789 io->log_start = log->log_start;
967 if (sh->log_start == MaxSector) {
969 sh->log_start = io->log_start;
1061 * not in cache yet (sh->log_start == MaxSector).
1064 sh->log_start == MaxSector) {
1069 if (sh->log_start == log->last_checkpoint)
1150 * for write back, returns log_start of first sh in stripe_in_journal_list
1170 new_cp = sh->log_start;
1210 log->next_checkpoint = io->log_start;
1863 sh->log_start = MaxSector;
2413 sh->log_start = ctx->pos;
2418 next_checkpoint = sh->log_start;
2511 log->log_start = ctx->pos;
2846 sh->log_start = MaxSector;
2924 sh->log_start == MaxSector)
2927 if (sh->log_start == log->last_checkpoint)
3022 log->log_start = r5l_ring_add(log, cp, BLOCK_SECTORS);