Searched refs:rbio (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/btrfs/ |
D | raid56.c | 161 static int __raid56_parity_recover(struct btrfs_raid_bio *rbio); 162 static noinline void finish_rmw(struct btrfs_raid_bio *rbio); 165 static int fail_bio_stripe(struct btrfs_raid_bio *rbio, struct bio *bio); 166 static int fail_rbio_index(struct btrfs_raid_bio *rbio, int failed); 167 static void __free_raid_bio(struct btrfs_raid_bio *rbio); 168 static void index_rbio_pages(struct btrfs_raid_bio *rbio); 169 static int alloc_rbio_pages(struct btrfs_raid_bio *rbio); 171 static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio, 175 static void start_async_work(struct btrfs_raid_bio *rbio, btrfs_func_t work_func) in start_async_work() argument 177 btrfs_init_work(&rbio->work, btrfs_rmw_helper, work_func, NULL, NULL); in start_async_work() [all …]
|
D | raid56.h | 39 void raid56_add_scrub_pages(struct btrfs_raid_bio *rbio, struct page *page, 47 void raid56_parity_submit_scrub_rbio(struct btrfs_raid_bio *rbio); 52 void raid56_submit_missing_rbio(struct btrfs_raid_bio *rbio);
|
D | scrub.c | 2166 struct btrfs_raid_bio *rbio; in scrub_missing_raid56_pages() local 2192 rbio = raid56_alloc_missing_rbio(fs_info, bio, bbio, length); in scrub_missing_raid56_pages() 2193 if (!rbio) in scrub_missing_raid56_pages() 2199 raid56_add_scrub_pages(rbio, spage->page, spage->logical); in scrub_missing_raid56_pages() 2206 raid56_submit_missing_rbio(rbio); in scrub_missing_raid56_pages() 2751 struct btrfs_raid_bio *rbio; in scrub_parity_check_and_repair() local 2773 rbio = raid56_parity_alloc_scrub_rbio(fs_info, bio, bbio, in scrub_parity_check_and_repair() 2777 if (!rbio) in scrub_parity_check_and_repair() 2781 raid56_parity_submit_scrub_rbio(rbio); in scrub_parity_check_and_repair()
|