Home
last modified time | relevance | path

Searched refs:recovery_active (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/md/
Dmd.c4825 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()
7774 int scale, recovery_active; in status_resync() local
7791 resync -= atomic_read(&mddev->recovery_active); in status_resync()
7879 recovery_active = atomic_read(&mddev->recovery_active); in status_resync()
7882 if (curr_mark_cnt >= (recovery_active + resync_mark_cnt)) in status_resync()
7883 db = curr_mark_cnt - (recovery_active + resync_mark_cnt); in status_resync()
8221 atomic_sub(blocks, &mddev->recovery_active); in md_done_sync()
8555 atomic_set(&mddev->recovery_active, 0); in md_do_sync()
8586 atomic_read(&mddev->recovery_active) == 0); in md_do_sync()
8620 atomic_add(sectors, &mddev->recovery_active); in md_do_sync()
[all …]
Dmd.h405 atomic_t recovery_active; /* blocks scheduled, but not written */ member
Dmd-bitmap.c1628 atomic_read(&bitmap->mddev->recovery_active) == 0); in md_bitmap_cond_end_sync()