Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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 …]
Dkfd_ioctl.h35 * - 1.7 - Checkpoint Restore (CRIU) API
523 * CRIU IOCTLs (Checkpoint Restore In Userspace)
528 * 2. CHECKPOINT op to checkpoint process contents (BOs, queues, events, svm-ranges)
566 __u64 devices; /* Used during ops: CHECKPOINT, RESTORE */
567 __u64 bos; /* Used during ops: CHECKPOINT, RESTORE */
568 __u64 priv_data; /* Used during ops: CHECKPOINT, RESTORE */
/Linux-v6.1/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.h53 * @ns_cno: next checkpoint number
60 * @ns_last_cno: checkpoint number of the latest segment
66 * @ns_cpfile: checkpoint file inode
78 * @ns_interval: checkpoint creation interval
105 * - loading the latest checkpoint exclusively.
152 /* Checkpoint tree */
227 * @cno: checkpoint number
253 /* 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.c323 * the same checkpoint. in nilfs_cleanup_super()
525 goto reuse; /* already attached checkpoint */ in nilfs_attach_checkpoint()
534 "Invalid checkpoint (checkpoint number=%llu)", in nilfs_attach_checkpoint()
961 "The specified checkpoint is not a snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
970 "error %d while loading snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
982 * nilfs_tree_is_busy() - try to shrink dentries of a checkpoint
1067 "error %d while loading last checkpoint (checkpoint number=%llu)", in nilfs_fill_super()
1208 msg = "too large checkpoint number"; in nilfs_parse_snapshot_option()
1213 msg = "invalid checkpoint number 0"; in nilfs_parse_snapshot_option()
Dexport.h11 * @cno: checkpoint number
/Linux-v6.1/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.rst52 the upper index structures such as inode, inode map, and checkpoint block are
168 data_flush Enable data flushing before checkpoint in order to
255 checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable"
260 While mounting with checkpoint=disabled, the filesystem must
267 with checkpoint=disable:100% would always succeed, but it may
270 This space is reclaimed once checkpoint=enable.
271 checkpoint_merge When checkpoint is enabled, this can be used to create a kernel
272 daemon and make it to merge concurrent checkpoint requests as
273 much as possible to eliminate redundant checkpoint issues. Plus,
274 we can eliminate the sluggish issue caused by slow checkpoint
[all …]
/Linux-v6.1/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.
44 * Unlink a buffer from a transaction checkpoint(io) list.
61 * Move a buffer from the checkpoint list to the checkpoint io list
83 * Check a checkpoint buffer could be release or not.
98 * for a checkpoint to free up some space in the log.
114 * were waiting for the checkpoint lock. If there are no in __jbd2_log_wait_for_space()
191 * Perform an actual checkpoint. We take the first transaction on the
206 jbd2_debug(1, "Start checkpoint\n"); in jbd2_log_do_checkpoint()
[all …]
DMakefile8 jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
/Linux-v6.1/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.1/fs/xfs/
Dxfs_log_priv.h212 * passed to the iclog for checkpoint post-commit processing. After being
214 * next set of transactions to be aggregated into a checkpoint.
253 * This structure tracks the list of committing checkpoint contexts so
255 * flush until we have a the commit record LSN of the checkpoint. We can
258 * checkpoint is still in the process of committing, we can block waiting for
296 * track both space consumed and the number of vectors in the checkpoint
307 * logged in order to prevent checkpoint ticket overruns.
318 * space needed by the checkpoint transaction. This means that we never need to
319 * specifically reserve space for the CIL checkpoint transaction, nor do we
320 * need to regrant space once the checkpoint completes. This also means the
[all …]
Dxfs_log_cil.c80 * first checkpoint it is written to. Hence if it is different to the in xlog_item_in_current_chkpt()
81 * current sequence, we're in a new checkpoint. in xlog_item_in_current_chkpt()
197 * initialise the first CIL checkpoint context.
408 * tell in future commits whether this is the first checkpoint in xfs_cil_prepare_item()
539 * consumed by the item. Add the space to the checkpoint ticket and calculate
541 * as well. Remove the amount of space we added to the checkpoint ticket from
562 * We can do this safely because the context can't checkpoint until we in xlog_cil_insert_items()
583 * We need to take the CIL checkpoint unit reservation on the first in xlog_cil_insert_items()
830 * contain the start record for the checkpoint. Otherwise this write contains
831 * the commit record for the checkpoint.
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-fs-f2fs37 over total volume size, f2fs tries to conduct checkpoint to
99 checkpoint is triggered, and issued during the checkpoint.
188 Description: Controls the checkpoint timing, set to 60 seconds by default.
227 ratio exceeds configured threshold, checkpoint will
341 Description: If checkpoint=disable, it displays the number of blocks that
343 If checkpoint=enable it displays the number of blocks that
344 would be unusable if checkpoint=disable were to be set.
360 Description: Number of checkpoint operations performed on demand. Available when
366 Description: Number of checkpoint operations performed in the background to
452 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.1/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.1/fs/f2fs/
Dcheckpoint.c3 * fs/f2fs/checkpoint.c
942 /* The second checkpoint pack should start at the next segment */ in f2fs_get_valid_checkpoint()
969 /* Sanity checking of checkpoint */ in f2fs_get_valid_checkpoint()
1200 * Freeze all the FS-operations for checkpoint.
1283 * 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()
1509 /* update ckpt flag for checkpoint */ in do_checkpoint()
1538 /* write out checkpoint buffer at block 0 */ in do_checkpoint()
1582 /* barrier and flush checkpoint cp pack 2 page if it can */ in do_checkpoint()
[all …]
/Linux-v6.1/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.1/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.1/Documentation/admin-guide/device-mapper/
Dera.rst35 checkpoint section in Messages
78 - Send a checkpoint message to the era target

12345