Searched refs:pending_io (Results 1 – 3 of 3) sorted by relevance
131 atomic_t pending_io; member261 atomic_set(&stripe->pending_io, 0); in init_scrub_stripe()286 wait_event(stripe->io_wait, atomic_read(&stripe->pending_io) == 0); in wait_scrub_stripe_io()807 if (atomic_dec_and_test(&stripe->pending_io)) in scrub_repair_read_endio()826 ASSERT(atomic_read(&stripe->pending_io) == 0); in scrub_stripe_submit_repair_read()840 atomic_inc(&stripe->pending_io); in scrub_stripe_submit_repair_read()859 atomic_inc(&stripe->pending_io); in scrub_stripe_submit_repair_read()1119 if (atomic_dec_and_test(&stripe->pending_io)) { in scrub_read_endio()1148 if (atomic_dec_and_test(&stripe->pending_io)) in scrub_write_endio()1162 atomic_inc(&stripe->pending_io); in scrub_submit_write_bio()[all …]
82 unsigned long __percpu *pending_io; member
594 this_cpu_inc(*md->pending_io); in alloc_io()967 this_cpu_dec(*md->pending_io); in __dm_io_complete()2226 if (md->pending_io) { in cleanup_mapped_device()2227 free_percpu(md->pending_io); in cleanup_mapped_device()2228 md->pending_io = NULL; in cleanup_mapped_device()2336 md->pending_io = alloc_percpu(unsigned long); in alloc_dev()2337 if (!md->pending_io) in alloc_dev()2730 sum += *per_cpu_ptr(md->pending_io, cpu); in dm_in_flight_bios()