Searched refs:recovery_active (Results 1 – 3 of 3) sorted by relevance
266 atomic_t recovery_active; /* blocks scheduled, but not written */ member
3927 resync = mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active); in sync_speed_show()6224 resync = mddev->curr_resync - atomic_read(&mddev->recovery_active); in status_resync()6289 db = (mddev->curr_mark_cnt - atomic_read(&mddev->recovery_active)) in status_resync()6604 atomic_sub(blocks, &mddev->recovery_active); in md_done_sync()6857 atomic_set(&mddev->recovery_active, 0); in md_do_sync()6882 atomic_read(&mddev->recovery_active) == 0); in md_do_sync()6911 atomic_add(sectors, &mddev->recovery_active); in md_do_sync()6939 mark_cnt[next] = io_sectors - atomic_read(&mddev->recovery_active); in md_do_sync()6974 wait_event(mddev->recovery_wait, !atomic_read(&mddev->recovery_active)); in md_do_sync()
1546 atomic_read(&bitmap->mddev->recovery_active) == 0); in bitmap_cond_end_sync()