Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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-v5.15/Documentation/filesystems/
Dxfs-delayed-logging-design.rst308 size of a checkpoint to be slightly less than a half the log.
310 Apart from this size requirement, a checkpoint transaction looks no different
313 perspective, the checkpoint transaction is also no different - just a lot
317 Because the checkpoint is just another transaction and all the changes to log
320 minimise the time we hold the CIL locked while writing the checkpoint
324 per-checkpoint context that travels through the log write process through to
325 checkpoint completion.
327 Hence a checkpoint has a context that tracks the state of the current
328 checkpoint from initiation to checkpoint completion. A new context is initiated
329 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
241 checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable"
246 While mounting with checkpoint=disabled, the filesystem must
253 with checkpoint=disable:100% would always succeed, but it may
256 This space is reclaimed once checkpoint=enable.
257 checkpoint_merge When checkpoint is enabled, this can be used to create a kernel
258 daemon and make it to merge concurrent checkpoint requests as
259 much as possible to eliminate redundant checkpoint issues. Plus,
260 we can eliminate the sluggish issue caused by slow checkpoint
[all …]
/Linux-v5.15/fs/nilfs2/
Dcpfile.c3 * cpfile.c - 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.c322 * the same checkpoint. in nilfs_cleanup_super()
524 goto reuse; /* already attached checkpoint */ in nilfs_attach_checkpoint()
533 "Invalid checkpoint (checkpoint number=%llu)", in nilfs_attach_checkpoint()
960 "The specified checkpoint is not a snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
969 "error %d while loading snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
981 * nilfs_tree_is_busy() - try to shrink dentries of a checkpoint
1066 "error %d while loading last checkpoint (checkpoint number=%llu)", in nilfs_fill_super()
1209 msg = "too large checkpoint number"; in nilfs_parse_snapshot_option()
1214 msg = "invalid checkpoint number 0"; in nilfs_parse_snapshot_option()
Dexport.h11 * @cno: checkpoint number
/Linux-v5.15/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 jbd_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-v5.15/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-v5.15/fs/xfs/
Dxfs_log_priv.h232 * passed to the iclog for checkpoint post-commit processing. After being
234 * next set of transactions to be aggregated into a checkpoint.
262 * This structure tracks the list of committing checkpoint contexts so
264 * flush until we have a the commit record LSN of the checkpoint. We can
267 * 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.c81 * initialise the first CIL checkpoint context.
298 * tell in future commits whether this is the first checkpoint in xfs_cil_prepare_item()
416 * consumed by the item. Add the space to the checkpoint ticket and calculate
418 * as well. Remove the amount of space we added to the checkpoint ticket from
437 * We can do this safely because the context can't checkpoint until we in xlog_cil_insert_items()
455 * for the checkpoint. The context ticket is special - the unit in xlog_cil_insert_items()
666 * contain the start record for the checkpoint. Otherwise this write contains
667 * the commit record for the checkpoint.
725 * Ensure that the order of log writes follows checkpoint sequence order. This
803 * Write out the commit record of a checkpoint transaction to close off a
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-fs-f2fs37 over total volume size, f2fs tries to conduct checkpoint to
98 checkpoint is triggered, and issued during the checkpoint.
155 Description: Controls the checkpoint timing, set to 60 seconds by default.
194 ratio exceeds configured threshold, checkpoint will
303 Description: If checkpoint=disable, it displays the number of blocks that
305 If checkpoint=enable it displays the number of blocks that
306 would be unusable if checkpoint=disable were to be set.
322 Description: Number of checkpoint operations performed on demand. Available when
328 Description: Number of checkpoint operations performed in the background to
414 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-v5.15/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-v5.15/fs/f2fs/
Dcheckpoint.c3 * fs/f2fs/checkpoint.c
927 /* The second checkpoint pack should start at the next segment */ in f2fs_get_valid_checkpoint()
954 /* Sanity checking of checkpoint */ in f2fs_get_valid_checkpoint()
1181 * Freeze all the FS-operations for checkpoint.
1264 * dirty node blocks and some checkpoint values by block allocation. in block_operations()
1407 /* submit checkpoint (with barrier if NOBARRIER is not set) */ in commit_checkpoint()
1448 /* start to update checkpoint, cp ver is already updated previously */ in do_checkpoint()
1490 /* update ckpt flag for checkpoint */ in do_checkpoint()
1519 /* write out checkpoint buffer at block 0 */ in do_checkpoint()
1562 /* barrier and flush checkpoint cp pack 2 page if it can */ in do_checkpoint()
[all …]
/Linux-v5.15/include/linux/
Df2fs_fs.h90 __le32 segment_count_ckpt; /* # of segments for checkpoint */
96 __le32 cp_blkaddr; /* start block address of checkpoint */
124 * For checkpoint
142 #define F2FS_CP_PACKS 2 /* # of checkpoint packs */
145 __le64 checkpoint_ver; /* checkpoint block version number */
175 #define CP_CHKSUM_OFFSET 4092 /* default chksum offset in checkpoint */
311 __le64 cp_ver; /* checkpoint version */
/Linux-v5.15/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-v5.15/Documentation/admin-guide/device-mapper/
Dera.rst35 checkpoint section in Messages
78 - Send a checkpoint message to the era target
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ih.c167 /* Waiter helper that checks current rptr matches or passes checkpoint wptr */
186 * amdgpu_ih_wait_on_checkpoint_process - wait to process IVs up to checkpoint
191 * Used to ensure ring has processed IVs up to the checkpoint write pointer.

12345