Searched refs:max_errors (Results 1 – 4 of 4) sorted by relevance
904 int max_errors; in raid_write_end_io() local917 max_errors = (rbio->operation == BTRFS_RBIO_PARITY_SCRUB) ? in raid_write_end_io()918 0 : rbio->bbio->max_errors; in raid_write_end_io()919 if (atomic_read(&rbio->error) > max_errors) in raid_write_end_io()1467 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_rmw_end_io()2015 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_recover_end_io()2083 if (atomic_read(&rbio->error) <= rbio->bbio->max_errors) { in __raid56_parity_recover()2469 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in validate_rbio_for_parity_scrub()2490 if (dfail > rbio->bbio->max_errors - 1) in validate_rbio_for_parity_scrub()
5061 int max_errors; in btrfs_chunk_max_errors() local5067 max_errors = 1; in btrfs_chunk_max_errors()5069 max_errors = 2; in btrfs_chunk_max_errors()5071 max_errors = 0; in btrfs_chunk_max_errors()5074 return max_errors; in btrfs_chunk_max_errors()5360 int max_errors = 0; in __btrfs_map_block() local5617 max_errors = nr_parity_stripes(map); in __btrfs_map_block()5785 max_errors = btrfs_chunk_max_errors(map); in __btrfs_map_block()5822 max_errors++; in __btrfs_map_block()5875 bbio->max_errors = max_errors; in __btrfs_map_block()[all …]
311 int max_errors; member
3721 int max_errors; in write_all_supers() local3733 max_errors = btrfs_super_num_devices(root->fs_info->super_copy) - 1; in write_all_supers()3774 if (total_errors > max_errors) { in write_all_supers()3797 if (total_errors > max_errors) { in write_all_supers()