Searched refs:io_geom (Results 1 – 1 of 1) sorted by relevance
6558 struct btrfs_io_geometry *io_geom) in handle_ops_on_dev_replace() argument6565 int num_stripes = io_geom->num_stripes; in handle_ops_on_dev_replace()6566 int max_errors = io_geom->max_errors; in handle_ops_on_dev_replace()6608 if (io_geom->op == BTRFS_MAP_GET_READ_MIRRORS && nr_extra_stripes == 2) { in handle_ops_on_dev_replace()6627 io_geom->num_stripes = num_stripes + nr_extra_stripes; in handle_ops_on_dev_replace()6628 io_geom->max_errors = max_errors + nr_extra_stripes; in handle_ops_on_dev_replace()6633 struct btrfs_io_geometry *io_geom) in btrfs_max_io_len() argument6639 io_geom->stripe_offset = offset & BTRFS_STRIPE_LEN_MASK; in btrfs_max_io_len()6640 io_geom->stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_max_io_len()6641 ASSERT(io_geom->stripe_offset < U32_MAX, in btrfs_max_io_len()[all …]