Home
last modified time | relevance | path

Searched full:resync (Results 1 – 25 of 107) sorted by relevance

12345

/linux/drivers/block/drbd/
H A Ddrbd_actlog.c209 tmp = lc_find(device->resync, enr/AL_EXT_PER_BM_SECT); in find_active_resync_extent()
500 /* Is resync active in this area? */ in drbd_al_begin_io_nonblock()
503 tmp = lc_find(device->resync, enr/AL_EXT_PER_BM_SECT); in drbd_al_begin_io_nonblock()
632 * resync LRU-cache are 16MB each.
637 * this resync extent into the resync extent lru cache.
639 * Returns whether all bits have been cleared for this resync extent,
656 * Otherwise, that extent should be in the resync extent lru cache in update_rs_extent()
660 e = lc_find(device->resync, enr); in update_rs_extent()
662 e = lc_get(device->resync, enr); in update_rs_extent()
682 * Whatever the reason (disconnect during resync, in update_rs_extent()
[all …]
H A Ddrbd_worker.c100 /* writes on behalf of the partner, or resync writes,
168 /* writes on behalf of the partner, or resync writes,
396 * be rescheduled for later. It is "only" background resync, after all. */ in read_for_csum()
515 if (device->rs_in_flight + sect_in == 0) { /* At start of resync */ in drbd_rs_controller()
573 * online-verify or (checksum-based) resync, if max-buffers, in drbd_rs_number_requests()
574 * socket buffer sizes and resync rate settings are mis-configured. */ in drbd_rs_number_requests()
603 /* empty resync? */ in make_resync_request()
611 to continue resync with a broken disk makes no sense at in make_resync_request()
613 drbd_err(device, "Disk broke down during resync!\n"); in make_resync_request()
752 * resync data block, and the last bit is cleared. in make_resync_request()
[all …]
H A Ddrbd_strings.c65 [-SS_NO_LOCAL_DISK] = "Can not resync without local disk",
66 [-SS_NO_REMOTE_DISK] = "Can not resync without remote disk",
69 [-SS_RESYNC_RUNNING] = "Can not start OV/resync since it is already active",
76 [-SS_NEED_CONNECTION] = "Need a connection to start verify or resync",
H A Ddrbd_protocol.h16 P_RS_DATA_REQUEST = 0x09, /* Used to ask for a data block for resync */
65 P_RS_THIN_REQ = 0x32, /* Request a block for resync or reply P_RS_DEALLOCATED */
196 /* Detect all-zeros during resync, and rather TRIM/UNMAP/DISCARD those blocks
197 * instead of fully allocate a supposedly thin volume on initial resync */
H A Ddrbd_state.c942 /* Do not promote during resync handshake triggered by "force primary". in is_valid_soft_transition()
1032 [ABORTED_RESYNC] = "Resync aborted.", in print_sanitize_warnings()
1082 /* Abort resync if a disk fails/detaches */ in sanitize_state()
1383 drbd_info(device, "Resync suspended\n"); in _drbd_set_state()
1440 /* Peer was forced D_UP_TO_DATE & R_PRIMARY, consider to resync */ in _drbd_set_state()
1507 drbd_err(device, "Writing the bitmap failed not starting resync.\n"); in abw_start_sync()
1802 /* we probably will start a resync soon. in after_state_ch()
1855 * if there is a resync going on still */ in after_state_ch()
1873 /* We want to pause/continue resync, tell peer. */ in after_state_ch()
1990 /* A resync finished or aborted, wake paused devices... */ in after_state_ch()
[all …]
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_ras.c253 * value. Hence the idea is to resync the TB on every HMI, so that we
254 * know about the exact state of the TB value. Resync TB call will
262 * - The resync TB is a core level action i.e. it will sync all the TBs
277 * will need to resync the TB. Bit 63 from subcore state bitmap flags
282 * - Primary thread from each subcore tries to set resync required bit[63]
285 * responsibility of TB resync. (Let us call it as thread leader)
293 * - Now all threads will wait for TB resync to complete by invoking
295 * - Thread leader will do a TB resync by invoking opal_resync_timebase()
296 * call and the it will clear the resync required bit.
297 * - All other threads will now come out of resync wait loop and proceed
[all …]
/linux/Documentation/driver-api/md/
H A Dmd-cluster.rst61 resync, and for metadata superblock updates. This communication is
94 informs other nodes that a resync is initiated or
97 sending node is about to resync. This overrides any previous
123 resync.
226 - initiates resync of the bitmap on the current node
233 The resync process is the regular md resync. However, in a clustered
234 environment when a resync is performed, it needs to tell other nodes
235 of the areas which are suspended. Before a resync starts, the node
240 performing resync finishes, it sends RESYNCING with an empty range to
306 This updates the resync range that is stored in the bitmap lock.
[all …]
H A Draid5-cache.rst30 tries to resync the array to bring it back to normal state. But before the
31 resync completes, any system crash will expose the chance of real data
/linux/Documentation/admin-guide/blockdev/drbd/
H A Ddisk-states-8.dot7 Consistent -> Inconsistent [ label = "start resync" ]
8 Outdated -> Inconsistent [ label = "start resync" ]
10 Inconsistent -> UpToDate [ label = "resync completed" ]
/linux/include/linux/
H A Dlru_cache.h35 backend storage upon next resync, if we don't get it right).
42 we need to resync all regions that have been target of in-flight WRITE IO
46 To avoid a "full resync", we need to persistently track these regions.
55 (possibly unnecessary) resync traffic.
58 limit the amount of resync traffic needed for crash recovery.
61 we need to resync all blocks that have been changed on the other replica
68 Having it fine-grained reduces the amount of resync traffic.
137 * DRBD currently (May 2009) only uses 61 elements on the resync lru_cache
H A Draid_class.h48 int resync; member
51 /* resync complete goes from 0 to this */
75 DEFINE_RAID_ATTRIBUTE(int, resync)
/linux/drivers/md/
H A Draid10.h9 * 2/ when resync/recovery/reshape is known to be happening - i.e. in code
10 * that is called as part of performing resync/recovery/reshape.
101 * Keep track of cluster resync window to send to other nodes.
143 struct bio *repl_bio; /* used for resync and
H A Dmd.h182 * resync from the bitmap
336 * resync lock, need to release the lock.
393 * mddev->curr_resync stores the current sector of the resync but
397 /* No resync in progress */
399 /* Yielded to allow another conflicting resync to commence */
403 /* Any value greater than or equal to this is in an active resync */
473 struct md_thread __rcu *sync_thread; /* doing resync or reconstruct */
482 /* As resync requests can complete out of order, we cannot easily track
483 * how much resync has been completed. So we occasionally pause until
485 * As such it may be well behind the real resync mark, but it is a value
[all …]
H A Draid1-10.c2 /* Maximum size of each resync request */
21 /* for managing resync I/O pages */
82 * 'strct resync_pages' stores actual pages used for doing the resync
275 * Balance on the whole device if no resync is going on (recovery is ok) or
276 * below the resync window. Otherwise, take the first readable disk.
H A Dmd-cluster.c342 /* wake up thread to continue resync in case resync in recover_bitmaps()
347 * resync thread in current node. in recover_bitmaps()
461 * clear the REMOTE flag since resync or recovery is finished in process_suspend_info()
482 * probably will perform resync with the region in process_suspend_info()
483 * [lo, hi] again, so we could reduce resync time in process_suspend_info()
491 * and set RESYNC_MASK since resync thread is running in process_suspend_info()
492 * in another node, so we don't need to do the resync in process_suspend_info()
721 * If resync thread run after raid1d thread, then process_metadata_update in lock_comm()
724 * so let resync wake up thread in case flag is set. in lock_comm()
848 pr_info("%s:%d Resync[%llu..%llu] in progress on %d\n", in gather_all_resync_info()
[all …]
H A Dmd-bitmap.c42 * whether a resync is needed. The second is a flag indicating whether a
43 * resync is active.
47 * | resync | resync | counter |
52 * The "resync needed" bit is set when:
55 * a resync is aborted on a chunk with 'resync active' set
56 * It is cleared (and resync-active set) when a resync starts across all drives
60 * The "resync active" bit is set when:
61 * a resync is started on all drives, and resync_needed is set.
63 * It is cleared when a resync completes.
66 * When the counter is '1' and the resync bits are clear, the on-disk
[all …]
H A Draid1.c17 * bitmapped intelligence in resync:
145 * for resync bio, r1bio pointer can be retrieved from the per-bio
256 /* resync pages array stored in the 1st bio's .bi_private */ in r1buf_pool_free()
349 * Wake up any possible resync thread that waits for the device in raid_end_bio_io()
873 * 1) If resync is in progress, find the first usable disk and use it even if it
876 * 2) Now that there is no resync, loop through all disks and skipping slow
973 * either some resync/recovery, or reconfigure the array.
992 * If resync/recovery is interrupted, returns -EINTR;
1023 * max resync count which allowed on current I/O barrier bucket. in raise_barrier()
1504 * Continue immediately if no resync is active currently. in raid1_write_request()
[all …]
H A Dmd-bitmap.h65 * resync happens across. For raid1 and raid5/6 it is the size of individual
162 /* always resync if no bitmap */ in md_bitmap_start_sync()
H A Dmd.c35 or stopping, or resync starting or stopping
73 [ACTION_RESYNC] = "resync",
2832 * During reshape/resync it might use array-addresses rather in md_update_sb()
2886 * so it can be re-added without a resync. in md_update_sb()
4080 * - array is not engaged in resync/recovery/reshape in level_store()
4571 * no resync can happen. no superblocks get written.
4577 * When written to inactive array, starts without resync
4583 * fully active: IO and resync can be happening.
4584 * When written to inactive array, starts with resync
5117 * Check if any sync operation (resync/recover/reshape) is in md_sync_action()
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen6/
H A Dpipeline.json60 … "MetricExpr": "d_ratio(bad_speculation * ex_ret_brn_misp, ex_ret_brn_misp + bp_fe_redir.resync)",
67 …"MetricExpr": "d_ratio(bad_speculation * bp_fe_redir.resync, ex_ret_brn_misp + bp_fe_redir.resync)…
/linux/arch/m68k/atari/
H A Datakeyb.c104 KEYBOARD, AMOUSE, RMOUSE, JOYSTICK, CLOCK, RESYNC enumerator
122 * introduced the RESYNC state for IKBD data. In this state, the bytes up to
163 /* Go to RESYNC state and skip this byte */ in atari_keyboard_interrupt()
164 kb_state.state = RESYNC; in atari_keyboard_interrupt()
286 case RESYNC: in atari_keyboard_interrupt()
/linux/drivers/input/touchscreen/
H A Dfujitsu_ts.c50 /* resync skip until start of frame */ in fujitsu_interrupt()
54 /* resync skip garbage */ in fujitsu_interrupt()
/linux/sound/soc/codecs/
H A Dadau1761.c527 SND_SOC_DAPM_SUPPLY("Decimator Resync Clock", ADAU1761_CLK_ENABLE0,
529 SND_SOC_DAPM_SUPPLY("Interpolator Resync Clock", ADAU1761_CLK_ENABLE0,
554 { "Left Decimator", NULL, "Decimator Resync Clock" },
555 { "Right Decimator", NULL, "Decimator Resync Clock" },
556 { "Left DAC", NULL, "Interpolator Resync Clock" },
557 { "Right DAC", NULL, "Interpolator Resync Clock" },
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c802 /* Generation received in a RESYNC overrides default flow generation */ in hfi1_kern_setup_hw_flow()
1837 * RESYNC. in hfi1_build_tid_rdma_read_req()
3111 * during a RESYNC, the generation is incremented and the in hfi1_tid_rdma_restart_req()
3546 * Last PSN of every generation is reserved for RESYNC. in hfi1_tid_write_alloc_resources()
4443 if (qpriv->resync) { in hfi1_build_tid_rdma_write_ack()
4468 if (qpriv->resync) { in hfi1_build_tid_rdma_write_ack()
4471 * RESYNC PSN, then we never received a good TID RDMA WRITE in hfi1_build_tid_rdma_write_ack()
4472 * DATA packet after a previous RESYNC. in hfi1_build_tid_rdma_write_ack()
4480 * Because the KDETH PSNs jump during a RESYNC, it's in hfi1_build_tid_rdma_write_ack()
4483 * RESYNC packets. Therefore, we save it. in hfi1_build_tid_rdma_write_ack()
[all …]
H A Dtrace.c387 case OP(TID_RDMA, RESYNC): in parse_everbs_hdrs()
389 le32_to_cpu(eh->tid_rdma.resync.kdeth0), in parse_everbs_hdrs()
390 le32_to_cpu(eh->tid_rdma.resync.kdeth1), in parse_everbs_hdrs()
391 be32_to_cpu(eh->tid_rdma.resync.verbs_qp)); in parse_everbs_hdrs()

12345