Lines Matching defs:space
28 * log->max_free_space is min(1/4 disk size, 10G reclaimable space).
89 sector_t max_free_space; /* reclaim run if free space is at
124 unsigned long reclaim_target; /* number of space that need to be
133 struct list_head no_space_stripes; /* pending stripes, log has no space */
324 void r5l_wake_reclaim(struct r5l_log *log, sector_t space);
370 * Total log space (in sectors) needed to flush all data in cache
372 * To avoid deadlock due to log space, it is necessary to reserve log
373 * space to flush critical stripes (stripes that occupying log space near
374 * last_checkpoint). This function helps check how much log space is
377 * To reduce log space requirements, two mechanisms are used to give cache
386 * pages of journal space. For stripes that has not passed 1, flushing it
387 * requires (conf->raid_disks + 1) pages of journal space. There are at
388 * most (conf->group_cnt + 1) stripe that passed 1. So total journal space
410 * evaluate log space usage and update R5C_LOG_TIGHT and R5C_LOG_CRITICAL
412 * R5C_LOG_TIGHT is set when free space on the log device is less than 3x of
413 * reclaim_required_space. R5C_LOG_CRITICAL is set when free space on the log
1060 * log space critical, do not process stripes that are
1131 /* This will run after log space is reclaimed */
1466 /* if log space is tight, flush stripes on stripe_in_journal_list */
1511 * shouldn't reuse space of an unreclaimable io_unit
1561 void r5l_wake_reclaim(struct r5l_log *log, sector_t space)
1564 unsigned long new = (unsigned long)space; /* overflow in theory */