Searched refs:max_mirrors (Results 1 - 2 of 2) sorted by relevance

/linux-master/fs/btrfs/
H A Ddisk-io.h62 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors);
H A Ddisk-io.c3731 * Write @max_mirrors copies of the superblock, where 0 means default that fit
3732 * the expected device size at commit time. Note that max_mirrors must be
3738 struct btrfs_super_block *sb, int max_mirrors)
3748 if (max_mirrors == 0)
3749 max_mirrors = BTRFS_SUPER_MIRROR_MAX;
3753 for (i = 0; i < max_mirrors; i++) {
3826 * @max_mirrors same for write and wait phases.
3831 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) argument
3839 if (max_mirrors == 0)
3840 max_mirrors
3737 write_dev_supers(struct btrfs_device *device, struct btrfs_super_block *sb, int max_mirrors) argument
4022 write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) argument
[all...]

Completed in 200 milliseconds