Home
last modified time | relevance | path

Searched full:checkpoint (Results 1 – 25 of 130) sorted by relevance

123456

/Linux-v6.6/include/uapi/linux/
Dnilfs2_api.h20 * struct nilfs_cpinfo - checkpoint information
23 * @ci_cno: checkpoint number
25 * @ci_nblk_inc: number of blocks incremented by this checkpoint
28 * @ci_next: next checkpoint number in snapshot list
41 /* checkpoint flags */
143 * struct nilfs_cpmode - change checkpoint mode structure
144 * @cm_cno: checkpoint number
145 * @cm_mode: mode of checkpoint
171 * struct nilfs_period - period of checkpoint numbers
172 * @p_start: start checkpoint number (inclusive)
[all …]
Dnilfs2_ondisk.h82 * @sr_cpfile: checkpoint file inode
162 __le64 s_last_cno; /* Last checkpoint number */
187 __le16 s_checkpoint_size; /* Size of a checkpoint */
240 #define NILFS_CPFILE_INO 4 /* checkpoint file */
339 * @fi_cno: checkpoint number
396 * @ss_cno: checkpoint number
469 * @de_start: start checkpoint number
470 * @de_end: end checkpoint number
484 * @ssl_next: next checkpoint number on snapshot list
485 * @ssl_prev: previous checkpoint number on snapshot list
[all …]
/Linux-v6.6/fs/nilfs2/
Dcpfile.c3 * NILFS checkpoint file.
147 * @start_cno: start checkpoint number (inclusive)
148 * @end_cno: end checkpoint number (inclusive)
149 * @cnop: place to store the next checkpoint number
190 * nilfs_cpfile_get_checkpoint - get a checkpoint
191 * @cpfile: inode of checkpoint file
192 * @cno: checkpoint number
194 * @cpp: pointer to a checkpoint
197 * Description: nilfs_cpfile_get_checkpoint() acquires the checkpoint
198 * specified by @cno. A new checkpoint will be created if @cno is the current
[all …]
Dthe_nilfs.h54 * @ns_cno: next checkpoint number
61 * @ns_last_cno: checkpoint number of the latest segment
67 * @ns_cpfile: checkpoint file inode
79 * @ns_interval: checkpoint creation interval
106 * - loading the latest checkpoint exclusively.
153 /* Checkpoint tree */
229 * @cno: checkpoint number
255 /* Special checkpoint number */
Dsegment.h25 * @ri_ri_cno: Number of the last checkpoint
101 * @sc_cno: checkpoint number of current log
185 * checkpoint
188 * Next checkpoint will have update of files
Dioctl.c169 * nilfs_ioctl_change_cpmode - change checkpoint mode (checkpoint/snapshot)
176 * given checkpoint between checkpoint and snapshot state. This ioctl
179 * Return Value: On success, 0 is returned and mode of a checkpoint is
185 * %-EFAULT - Failure during checkpoint mode changing.
223 * nilfs_ioctl_delete_checkpoint - remove checkpoint
230 * checkpoint from NILFS2 file system. This ioctl is used in rmcp
233 * Return Value: On success, 0 is returned and a checkpoint is
239 * %-EFAULT - Failure during checkpoint removing.
275 * @posp: pointer on array of checkpoint's numbers
276 * @flags: checkpoint mode (checkpoint or snapshot)
[all …]
Dsuper.c324 * the same checkpoint. in nilfs_cleanup_super()
557 goto reuse; /* already attached checkpoint */ in nilfs_attach_checkpoint()
566 "Invalid checkpoint (checkpoint number=%llu)", in nilfs_attach_checkpoint()
993 "The specified checkpoint is not a snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
1002 "error %d while loading snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
1014 * nilfs_tree_is_busy() - try to shrink dentries of a checkpoint
1099 "error %d while loading last checkpoint (checkpoint number=%llu)", in nilfs_fill_super()
1240 msg = "too large checkpoint number"; in nilfs_parse_snapshot_option()
1245 msg = "invalid checkpoint number 0"; in nilfs_parse_snapshot_option()
Dexport.h11 * @cno: checkpoint number
/Linux-v6.6/Documentation/filesystems/
Dxfs-delayed-logging-design.rst591 size of a checkpoint to be slightly less than a half the log.
593 Apart from this size requirement, a checkpoint transaction looks no different
596 perspective, the checkpoint transaction is also no different - just a lot
600 Because the checkpoint is just another transaction and all the changes to log
603 minimise the time we hold the CIL locked while writing the checkpoint
607 per-checkpoint context that travels through the log write process through to
608 checkpoint completion.
610 Hence a checkpoint has a context that tracks the state of the current
611 checkpoint from initiation to checkpoint completion. A new context is initiated
612 at the same time a checkpoint transaction is started. That is, when we remove
[all …]
Dnilfs2.rst61 cp=n Specify the checkpoint-number of the snapshot to be
68 checkpoint if no metadata update is going. This mode
100 NILFS_IOCTL_CHANGE_CPMODE Change mode of given checkpoint between
101 checkpoint and snapshot state. This ioctl is
104 NILFS_IOCTL_DELETE_CHECKPOINT Remove checkpoint from NILFS2 file system.
143 NILFS_IOCTL_SYNC Make a checkpoint. This ioctl is used in
170 mkcp make a checkpoint or a snapshot.
171 chcp change an existing checkpoint to a snapshot or vice versa.
172 rmcp invalidate specified checkpoint(s).
179 where <cno> is the checkpoint number of the snapshot.
[all …]
Df2fs.rst56 the upper index structures such as inode, inode map, and checkpoint block are
174 data_flush Enable data flushing before checkpoint in order to
262 checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable"
267 While mounting with checkpoint=disable, the filesystem must
274 with checkpoint=disable:100% would always succeed, but it may
277 This space is reclaimed once checkpoint=enable.
278 checkpoint_merge When checkpoint is enabled, this can be used to create a kernel
279 daemon and make it to merge concurrent checkpoint requests as
280 much as possible to eliminate redundant checkpoint issues. Plus,
281 we can eliminate the sluggish issue caused by slow checkpoint
[all …]
/Linux-v6.6/fs/jbd2/
Dcheckpoint.c3 * linux/fs/jbd2/checkpoint.c
9 * Checkpoint routines for the generic filesystem journaling code.
26 * Unlink a buffer from a transaction checkpoint list.
47 * for a checkpoint to free up some space in the log.
63 * were waiting for the checkpoint lock. If there are no in __jbd2_log_wait_for_space()
141 * Perform an actual checkpoint. We take the first transaction on the
156 jbd2_debug(1, "Start checkpoint\n"); in jbd2_log_do_checkpoint()
190 /* checkpoint all of the transaction's buffers */ in jbd2_log_do_checkpoint()
245 BUFFER_TRACE(bh, "remove from checkpoint"); in jbd2_log_do_checkpoint()
247 * If the transaction was released or the checkpoint in jbd2_log_do_checkpoint()
[all …]
DMakefile8 jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
/Linux-v6.6/net/sched/
Dsch_plug.c10 * Output commit property is commonly used by applications using checkpoint
11 * based fault-tolerance to ensure that the checkpoint from which a system
15 * wherein a VM is checkpointed, say every 50ms. The checkpoint is replicated
22 * 2.1 Stop VM and take checkpoint(i).
25 * checkpoint(i) to backup host.
76 * issued after committing a checkpoint at the target.
82 * be released (committed checkpoint).
/Linux-v6.6/fs/xfs/
Dxfs_log_cil.c79 * first checkpoint it is written to. Hence if it is different to the in xlog_item_in_current_chkpt()
80 * current sequence, we're in a new checkpoint. in xlog_item_in_current_chkpt()
202 * initialise the first CIL checkpoint context.
413 * tell in future commits whether this is the first checkpoint in xfs_cil_prepare_item()
544 * consumed by the item. Add the space to the checkpoint ticket and calculate
546 * as well. Remove the amount of space we added to the checkpoint ticket from
568 * We can do this safely because the context can't checkpoint until we in xlog_cil_insert_items()
594 * We need to take the CIL checkpoint unit reservation on the first in xlog_cil_insert_items()
775 * contain the start record for the checkpoint. Otherwise this write contains
776 * the commit record for the checkpoint.
[all …]
Dxfs_log_priv.h214 * passed to the iclog for checkpoint post-commit processing. After being
216 * next set of transactions to be aggregated into a checkpoint.
260 * This structure tracks the list of committing checkpoint contexts so
262 * flush until we have a the commit record LSN of the checkpoint. We can
265 * checkpoint is still in the process of committing, we can block waiting for
300 * track both space consumed and the number of vectors in the checkpoint
311 * logged in order to prevent checkpoint ticket overruns.
322 * space needed by the checkpoint transaction. This means that we never need to
323 * specifically reserve space for the CIL checkpoint transaction, nor do we
324 * need to regrant space once the checkpoint completes. This also means the
[all …]
/Linux-v6.6/Documentation/bpf/
Dverifier.rst335 --- checkpoint ---
434 --- checkpoint #0 ---
436 --- checkpoint #1 ---
439 --- checkpoint #2 ---
441 --- checkpoint #3 ---
447 Checkpoint +-------------------------------+-------------------------------+
452 Checkpoint +-------------------------------+
460 Checkpoint +-------------------------------+-------------------------------+
466 Checkpoint +-------------------------------+-------------------------------+
477 all the way up to checkpoint #1.
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-fs-f2fs37 over total volume size, f2fs tries to conduct checkpoint to
106 checkpoint, and issued by issue_discard thread after checkpoint.
196 Description: Controls the checkpoint timing, set to 60 seconds by default.
235 ratio exceeds configured threshold, checkpoint will
349 Description: If checkpoint=disable, it displays the number of blocks that
351 If checkpoint=enable it displays the number of blocks that
352 would be unusable if checkpoint=disable were to be set.
368 Description: Number of checkpoint operations performed on demand. Available when
374 Description: Number of checkpoint operations performed in the background to
460 0x1 SBI_IS_DIRTY dirty flag for checkpoint
[all …]
Dsysfs-fs-nilfs2109 Show checkpoint number of the latest segment.
141 Show next checkpoint number.
230 Show checkpoint number of the latest segment.
236 Show next checkpoint number.
/Linux-v6.6/fs/f2fs/
Dcheckpoint.c3 * fs/f2fs/checkpoint.c
153 /* skip data, if we already have an error in checkpoint. */ in __is_bitmap_valid()
941 /* The second checkpoint pack should start at the next segment */ in f2fs_get_valid_checkpoint()
968 /* Sanity checking of checkpoint */ in f2fs_get_valid_checkpoint()
1199 * Freeze all the FS-operations for checkpoint.
1282 * dirty node blocks and some checkpoint values by block allocation. in block_operations()
1426 /* submit checkpoint (with barrier if NOBARRIER is not set) */ in commit_checkpoint()
1467 /* start to update checkpoint, cp ver is already updated previously */ in do_checkpoint()
1507 /* update ckpt flag for checkpoint */ in do_checkpoint()
1536 /* write out checkpoint buffer at block 0 */ in do_checkpoint()
[all …]
/Linux-v6.6/drivers/misc/vmw_vmci/
Dvmci_doorbell.h29 * written to the checkpoint as is, so changing this structure will
30 * break checkpoint compatibility.
Dvmci_context.h20 /* Used to determine what checkpoint state to get and set. */
91 /* VMCICptBufInfo: Used to set/get current context's checkpoint state. */
/Linux-v6.6/include/linux/
Df2fs_fs.h126 __le32 segment_count_ckpt; /* # of segments for checkpoint */
132 __le32 cp_blkaddr; /* start block address of checkpoint */
155 __u8 s_stop_reason[MAX_STOP_REASON]; /* stop checkpoint reason */
162 * For checkpoint
180 #define F2FS_CP_PACKS 2 /* # of checkpoint packs */
183 __le64 checkpoint_ver; /* checkpoint block version number */
213 #define CP_CHKSUM_OFFSET 4092 /* default chksum offset in checkpoint */
349 __le64 cp_ver; /* checkpoint version */
/Linux-v6.6/include/uapi/linux/raid/
Dmd_p.h170 __u32 cp_events_hi; /* 9 high-order of checkpoint update count */
171 __u32 cp_events_lo; /* 10 low-order of checkpoint update count */
175 __u32 cp_events_lo; /* 9 low-order of checkpoint update count */
176 __u32 cp_events_hi; /* 10 high-order of checkpoint update count */
180 __u32 recovery_cp; /* 11 recovery checkpoint sector count */
/Linux-v6.6/Documentation/admin-guide/device-mapper/
Dera.rst35 checkpoint section in Messages
78 - Send a checkpoint message to the era target

123456