Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Draid56.c180 static int __raid56_parity_recover(struct btrfs_raid_bio *rbio);
181 static noinline void finish_rmw(struct btrfs_raid_bio *rbio);
184 static void async_rmw_stripe(struct btrfs_raid_bio *rbio);
185 static void async_read_rebuild(struct btrfs_raid_bio *rbio);
186 static int fail_bio_stripe(struct btrfs_raid_bio *rbio, struct bio *bio);
187 static int fail_rbio_index(struct btrfs_raid_bio *rbio, int failed);
188 static void __free_raid_bio(struct btrfs_raid_bio *rbio);
189 static void index_rbio_pages(struct btrfs_raid_bio *rbio);
190 static int alloc_rbio_pages(struct btrfs_raid_bio *rbio);
192 static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio,
[all …]
Draid56.h51 void raid56_add_scrub_pages(struct btrfs_raid_bio *rbio, struct page *page,
59 void raid56_parity_submit_scrub_rbio(struct btrfs_raid_bio *rbio);
64 void raid56_submit_missing_rbio(struct btrfs_raid_bio *rbio);
Dscrub.c2184 struct btrfs_raid_bio *rbio; in scrub_missing_raid56_pages() local
2212 rbio = raid56_alloc_missing_rbio(sctx->dev_root, bio, bbio, length); in scrub_missing_raid56_pages()
2213 if (!rbio) in scrub_missing_raid56_pages()
2219 raid56_add_scrub_pages(rbio, spage->page, spage->logical); in scrub_missing_raid56_pages()
2226 raid56_submit_missing_rbio(rbio); in scrub_missing_raid56_pages()
2764 struct btrfs_raid_bio *rbio; in scrub_parity_check_and_repair() local
2789 rbio = raid56_parity_alloc_scrub_rbio(sctx->dev_root, bio, bbio, in scrub_parity_check_and_repair()
2793 if (!rbio) in scrub_parity_check_and_repair()
2797 raid56_add_scrub_pages(rbio, spage->page, spage->logical); in scrub_parity_check_and_repair()
2800 raid56_parity_submit_scrub_rbio(rbio); in scrub_parity_check_and_repair()
/linux-4.4.14/drivers/md/
Draid10.c177 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc() local
184 struct bio *rbio = r10_bio->devs[0].bio; in r10buf_pool_alloc() local
185 page = rbio->bi_io_vec[i].bv_page; in r10buf_pool_alloc()
193 if (rbio) in r10buf_pool_alloc()
194 rbio->bi_io_vec[i].bv_page = page; in r10buf_pool_alloc()