| H A D | scrub.c | 25 #include "raid-stripe-tree.h" 93 * Set for data stripes if it's triggered from P/Q stripe. 154 * How many data/meta extents are in this stripe. Only for scrub status 165 * Indicate the states of the stripe. Bits are defined in 185 * Checksum for the whole stripe if this stripe is inside a data block 230 #define scrub_calc_start_bit(stripe, name, block_nr) \ argument 234 ASSERT(block_nr < stripe->nr_sectors, \ 235 "nr_sectors=%u block_nr=%u", stripe->nr_sectors, block_nr); \ 236 __start_bit = scrub_bitmap_nr_##name * stripe 336 release_scrub_stripe(struct scrub_stripe * stripe) release_scrub_stripe() argument 355 init_scrub_stripe(struct btrfs_fs_info * fs_info,struct scrub_stripe * stripe) init_scrub_stripe() argument 391 wait_scrub_stripe_io(struct scrub_stripe * stripe) wait_scrub_stripe_io() argument 684 scrub_stripe_get_kaddr(struct scrub_stripe * stripe,int sector_nr) scrub_stripe_get_kaddr() argument 697 scrub_stripe_get_paddr(struct scrub_stripe * stripe,int sector_nr) scrub_stripe_get_paddr() argument 712 scrub_verify_one_metadata(struct scrub_stripe * stripe,int sector_nr) scrub_verify_one_metadata() argument 798 scrub_verify_one_sector(struct scrub_stripe * stripe,int sector_nr) scrub_verify_one_sector() argument 859 scrub_verify_one_stripe(struct scrub_stripe * stripe,unsigned long bitmap) scrub_verify_one_stripe() argument 872 calc_sector_number(struct scrub_stripe * stripe,struct bio_vec * first_bvec) calc_sector_number() argument 892 struct scrub_stripe *stripe = bbio->private; scrub_repair_read_endio() local 919 scrub_bio_add_sector(struct btrfs_bio * bbio,struct scrub_stripe * stripe,int sector_nr) scrub_bio_add_sector() argument 953 scrub_stripe_submit_repair_read(struct scrub_stripe * stripe,int mirror,int blocksize,bool wait) scrub_stripe_submit_repair_read() argument 994 scrub_stripe_report_errors(struct scrub_ctx * sctx,struct scrub_stripe * stripe,const struct scrub_error_records * errors) scrub_stripe_report_errors() argument 1155 struct scrub_stripe *stripe = container_of(work, struct scrub_stripe, work); scrub_stripe_read_repair_worker() local 1246 struct scrub_stripe *stripe = bbio->private; scrub_read_endio() local 1270 struct scrub_stripe *stripe = bbio->private; scrub_write_endio() local 1293 scrub_submit_write_bio(struct scrub_ctx * sctx,struct scrub_stripe * stripe,struct btrfs_bio * bbio,bool dev_replace) scrub_submit_write_bio() argument 1334 scrub_write_sectors(struct scrub_ctx * sctx,struct scrub_stripe * stripe,unsigned long write_bitmap,bool dev_replace) scrub_write_sectors() argument 1613 fill_one_extent_info(struct btrfs_fs_info * fs_info,struct scrub_stripe * stripe,u64 extent_start,u64 extent_len,u64 extent_flags,u64 extent_gen) fill_one_extent_info() argument 1634 scrub_stripe_reset_bitmaps(struct scrub_stripe * stripe) scrub_stripe_reset_bitmaps() argument 1653 scrub_find_fill_first_stripe(struct btrfs_block_group * bg,struct btrfs_path * extent_path,struct btrfs_path * csum_path,struct btrfs_device * dev,u64 physical,int mirror_num,u64 logical_start,u32 logical_len,struct scrub_stripe * stripe) scrub_find_fill_first_stripe() argument 1765 scrub_reset_stripe(struct scrub_stripe * stripe) scrub_reset_stripe() argument 1779 stripe_length(const struct scrub_stripe * stripe) stripe_length() argument 1787 scrub_submit_extent_sector_read(struct scrub_stripe * stripe) scrub_submit_extent_sector_read() argument 1867 scrub_submit_initial_read(struct scrub_ctx * sctx,struct scrub_stripe * stripe) scrub_submit_initial_read() argument 1907 stripe_has_metadata_error(struct scrub_stripe * stripe) stripe_has_metadata_error() argument 1939 struct scrub_stripe *stripe = &sctx->stripes[first_slot + i]; submit_initial_group_read() local 1951 struct scrub_stripe *stripe; flush_scrub_stripes() local 2027 struct scrub_stripe *stripe; queue_scrub_stripe() local 2138 struct scrub_stripe *stripe = &sctx->raid56_data_stripes[i]; scrub_raid56_cached_parity() local 2161 struct scrub_stripe *stripe; scrub_raid56_parity_stripe() local [all...] |