Home
last modified time | relevance | path

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

123456

/linux-6.14.4/fs/nilfs2/
Dcpfile.c3 * NILFS checkpoint file.
116 * nilfs_cpfile_checkpoint_offset - calculate the byte offset of a checkpoint
118 * @cpfile: checkpoint file inode
119 * @cno: checkpoint number
120 * @bh: buffer head of block containing checkpoint indexed by @cno
122 * Return: Byte offset in the folio of the checkpoint specified by @cno.
135 * checkpoint snapshot list in the folio
137 * @cpfile: checkpoint file inode
138 * @cno: checkpoint number
139 * @bh: buffer head of block containing checkpoint indexed by @cno
[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
77 * @ns_interval: checkpoint creation interval
104 * - loading the latest checkpoint exclusively.
151 /* Checkpoint tree */
219 * @cno: checkpoint number
245 /* Special checkpoint number */
Dsegment.h25 * @ri_cno: Number of the last checkpoint
101 * @sc_cno: checkpoint number of current log
182 * checkpoint
185 * Next checkpoint will have update of files
Dioctl.c180 * nilfs_ioctl_change_cpmode - change checkpoint mode (checkpoint/snapshot)
187 * given checkpoint between checkpoint and snapshot state. This ioctl
192 * %-EFAULT - Failure during checkpoint mode changing.
231 * nilfs_ioctl_delete_checkpoint - remove checkpoint
238 * checkpoint from NILFS2 file system. This ioctl is used in rmcp
243 * %-EFAULT - Failure during checkpoint removing.
280 * @posp: pointer on array of checkpoint's numbers
281 * @flags: checkpoint mode (checkpoint or snapshot)
283 * @size: size in bytes of one checkpoint info item in array
314 * and by nilfs_cleanerd daemon. The checkpoint statistics are copied to
[all …]
Dsuper.c330 * the same checkpoint. in nilfs_cleanup_super()
565 goto reuse; /* already attached checkpoint */ in nilfs_attach_checkpoint()
579 nilfs_err(sb, "Invalid checkpoint (checkpoint number=%llu)", in nilfs_attach_checkpoint()
788 "invalid option \"cp=0\": invalid checkpoint number 0"); in nilfs_parse_param()
972 "The specified checkpoint is not a snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
981 "error %d while loading snapshot (checkpoint number=%llu)", in nilfs_attach_snapshot()
993 * nilfs_tree_is_busy() - try to shrink dentries of a checkpoint
1087 "error %d while loading last checkpoint (checkpoint number=%llu)", in nilfs_fill_super()
/linux-6.14.4/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-6.14.4/Documentation/filesystems/xfs/
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 …]
/linux-6.14.4/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()
147 * Perform an actual checkpoint. We take the first transaction on the
162 jbd2_debug(1, "Start checkpoint\n"); in jbd2_log_do_checkpoint()
196 /* checkpoint all of the transaction's buffers */ in jbd2_log_do_checkpoint()
251 BUFFER_TRACE(bh, "remove from checkpoint"); in jbd2_log_do_checkpoint()
253 * 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-6.14.4/Documentation/filesystems/
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
172 data_flush Enable data flushing before checkpoint in order to
260 checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable"
265 While mounting with checkpoint=disable, the filesystem must
272 with checkpoint=disable:100% would always succeed, but it may
275 This space is reclaimed once checkpoint=enable.
276 checkpoint_merge When checkpoint is enabled, this can be used to create a kernel
277 daemon and make it to merge concurrent checkpoint requests as
278 much as possible to eliminate redundant checkpoint issues. Plus,
279 we can eliminate the sluggish issue caused by slow checkpoint
[all …]
/linux-6.14.4/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()
196 * initialise the first CIL checkpoint context.
407 * tell in future commits whether this is the first checkpoint in xfs_cil_prepare_item()
538 * consumed by the item. Add the space to the checkpoint ticket and calculate
540 * 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()
588 * We need to take the CIL checkpoint unit reservation on the first in xlog_cil_insert_items()
714 * Take the checkpoint's log vector chain of items and insert the attached log
718 * The AIL tracks log items via the start record LSN of 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-6.14.4/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-6.14.4/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-6.14.4/fs/f2fs/
Dcheckpoint.c3 * fs/f2fs/checkpoint.c
153 /* skip data, if we already have an error in checkpoint. */ in __is_bitmap_valid()
958 /* The second checkpoint pack should start at the next segment */ in f2fs_get_valid_checkpoint()
985 /* Sanity checking of checkpoint */ in f2fs_get_valid_checkpoint()
1221 * Freeze all the FS-operations for checkpoint.
1306 * dirty node blocks and some checkpoint values by block allocation. in block_operations()
1442 /* submit checkpoint (with barrier if NOBARRIER is not set) */ in commit_checkpoint()
1483 /* start to update checkpoint, cp ver is already updated previously */ in do_checkpoint()
1523 /* update ckpt flag for checkpoint */ in do_checkpoint()
1551 /* write out checkpoint buffer at block 0 */ in do_checkpoint()
[all …]
/linux-6.14.4/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-6.14.4/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
352 Description: If checkpoint=disable, it displays the number of blocks that
354 If checkpoint=enable it displays the number of blocks that
355 would be unusable if checkpoint=disable were to be set.
371 Description: Number of checkpoint operations performed on demand. Available when
377 Description: Number of checkpoint operations performed in the background to
463 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-6.14.4/include/linux/
Df2fs_fs.h124 __le32 segment_count_ckpt; /* # of segments for checkpoint */
130 __le32 cp_blkaddr; /* start block address of checkpoint */
153 __u8 s_stop_reason[MAX_STOP_REASON]; /* stop checkpoint reason */
160 * For checkpoint
178 #define F2FS_CP_PACKS 2 /* # of checkpoint packs */
181 __le64 checkpoint_ver; /* checkpoint block version number */
211 #define CP_CHKSUM_OFFSET (F2FS_BLKSIZE - sizeof(__le32)) /* default chksum offset in checkpoint */
252 __le64 cp_ver; /* checkpoint version */
/linux-6.14.4/include/uapi/linux/raid/
Dmd_p.h166 __u32 cp_events_hi; /* 9 high-order of checkpoint update count */
167 __u32 cp_events_lo; /* 10 low-order of checkpoint update count */
171 __u32 cp_events_lo; /* 9 low-order of checkpoint update count */
172 __u32 cp_events_hi; /* 10 high-order of checkpoint update count */
176 __u32 recovery_cp; /* 11 recovery checkpoint sector count */
/linux-6.14.4/Documentation/admin-guide/device-mapper/
Dera.rst35 checkpoint section in Messages
78 - Send a checkpoint message to the era target
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dverifier_precision.c121 /* every few iterations we'll have a checkpoint here with in state_loop_first_last_equal()
125 "if r0 >= 10 goto l1_%=;" /* checkpoint + mark_precise */ in state_loop_first_last_equal()

123456