Home
last modified time | relevance | path

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

/fs/btrfs/
Draid56.c178 static int __raid56_parity_recover(struct btrfs_raid_bio *rbio);
179 static noinline void finish_rmw(struct btrfs_raid_bio *rbio);
182 static int fail_bio_stripe(struct btrfs_raid_bio *rbio, struct bio *bio);
183 static int fail_rbio_index(struct btrfs_raid_bio *rbio, int failed);
184 static void __free_raid_bio(struct btrfs_raid_bio *rbio);
185 static void index_rbio_pages(struct btrfs_raid_bio *rbio);
186 static int alloc_rbio_pages(struct btrfs_raid_bio *rbio);
188 static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio,
192 static void start_async_work(struct btrfs_raid_bio *rbio, btrfs_func_t work_func) in start_async_work() argument
194 btrfs_init_work(&rbio->work, work_func, NULL, NULL); in start_async_work()
[all …]
Draid56.h39 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);
Dscrub.c2207 struct btrfs_raid_bio *rbio; in scrub_missing_raid56_pages() local
2233 rbio = raid56_alloc_missing_rbio(fs_info, bio, bioc, length); in scrub_missing_raid56_pages()
2234 if (!rbio) in scrub_missing_raid56_pages()
2240 raid56_add_scrub_pages(rbio, spage->page, spage->logical); in scrub_missing_raid56_pages()
2246 raid56_submit_missing_rbio(rbio); in scrub_missing_raid56_pages()
2827 struct btrfs_raid_bio *rbio; in scrub_parity_check_and_repair() local
2849 rbio = raid56_parity_alloc_scrub_rbio(fs_info, bio, bioc, in scrub_parity_check_and_repair()
2853 if (!rbio) in scrub_parity_check_and_repair()
2857 raid56_parity_submit_scrub_rbio(rbio); in scrub_parity_check_and_repair()