Searched refs:max_mirrors (Results 1 – 2 of 2) sorted by relevance
/fs/btrfs/ |
D | disk-io.h | 61 struct btrfs_root *root, int max_mirrors);
|
D | disk-io.c | 3240 int do_barriers, int wait, int max_mirrors) in write_dev_supers() argument 3249 if (max_mirrors == 0) in write_dev_supers() 3250 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in write_dev_supers() 3252 for (i = 0; i < max_mirrors; i++) { in write_dev_supers() 3524 static int write_all_supers(struct btrfs_root *root, int max_mirrors) in write_all_supers() argument 3581 ret = write_dev_supers(dev, sb, do_barriers, 0, max_mirrors); in write_all_supers() 3603 ret = write_dev_supers(dev, sb, do_barriers, 1, max_mirrors); in write_all_supers() 3617 struct btrfs_root *root, int max_mirrors) in write_ctree_super() argument 3619 return write_all_supers(root, max_mirrors); in write_ctree_super()
|