Home
last modified time | relevance | path

Searched refs:btrfs_test_opt (Results 1 – 13 of 13) sorted by relevance

/fs/btrfs/
Dsuper.c462 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
463 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
474 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
475 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
476 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
499 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
503 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
543 if ((btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
546 (!btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
699 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
[all …]
Dinode-map.c41 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in caching_kthread()
145 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in start_caching()
189 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_find_free_ino()
216 if (!btrfs_test_opt(fs_info, INODE_MAP_CACHE)) in btrfs_return_ino()
256 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_unpin_free_ino()
418 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_save_ino_cache()
Ddisk-io.c3094 if (!btrfs_test_opt(tree_root->fs_info, SSD) && in open_ctree()
3095 !btrfs_test_opt(tree_root->fs_info, NOSSD) && in open_ctree()
3108 if (btrfs_test_opt(tree_root->fs_info, CHECK_INTEGRITY)) { in open_ctree()
3110 btrfs_test_opt(tree_root->fs_info, in open_ctree()
3126 !btrfs_test_opt(tree_root->fs_info, NOLOGREPLAY)) { in open_ctree()
3167 if (btrfs_test_opt(fs_info, CLEAR_CACHE) && in open_ctree()
3187 if (btrfs_test_opt(tree_root->fs_info, FREE_SPACE_TREE) && in open_ctree()
3233 } else if (btrfs_test_opt(tree_root->fs_info, RESCAN_UUID_TREE) || in open_ctree()
3309 if (!btrfs_test_opt(tree_root->fs_info, USEBACKUPROOT)) in open_ctree()
3725 do_barriers = !btrfs_test_opt(root->fs_info, NOBARRIER); in write_all_supers()
[all …]
Ddev-replace.c145 !btrfs_test_opt(dev_root->fs_info, DEGRADED)) { in btrfs_init_dev_replace()
154 !btrfs_test_opt(dev_root->fs_info, DEGRADED)) { in btrfs_init_dev_replace()
Dextent-tree.c3443 !btrfs_test_opt(root->fs_info, SPACE_CACHE)) { in cache_save_setup()
3519 !btrfs_test_opt(root->fs_info, SPACE_CACHE)) in btrfs_setup_space_cache()
4438 if (left < thresh && btrfs_test_opt(root->fs_info, ENOSPC_DEBUG)) { in check_system_chunk()
6214 if (btrfs_test_opt(root->fs_info, SPACE_CACHE) && in update_block_group()
6611 bool ssd = btrfs_test_opt(root->fs_info, SSD); in fetch_cluster_info()
6756 if (btrfs_test_opt(root->fs_info, DISCARD)) in btrfs_finish_extent_commit()
7977 } else if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_reserve_extent()
8009 if (btrfs_test_opt(root->fs_info, DISCARD)) in __btrfs_free_reserved_extent()
8323 if (btrfs_test_opt(root->fs_info, ENOSPC_DEBUG)) { in use_block_rsv()
9744 debug = btrfs_test_opt(root->fs_info, ENOSPC_DEBUG); in btrfs_can_relocate()
[all …]
Dtransaction.c1709 if (btrfs_test_opt(root->fs_info, SPACE_CACHE)) in update_super_roots()
1895 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
1902 if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
Dctree.h1327 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ macro
1332 if (!btrfs_test_opt(fs_info, opt)) \
1339 if (btrfs_test_opt(fs_info, opt)) \
1349 return (btrfs_test_opt(root->fs_info, FRAGMENT_METADATA) && in btrfs_should_fragment_free_space()
1351 (btrfs_test_opt(root->fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
Dfree-space-cache.c3033 if (btrfs_test_opt(root->fs_info, SSD_SPREAD)) { in btrfs_find_space_cluster()
3477 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in load_free_ino_cache()
3521 if (!btrfs_test_opt(root->fs_info, INODE_MAP_CACHE)) in btrfs_write_out_ino_cache()
Dvolumes.c3964 if (btrfs_test_opt(fs_info, SKIP_BALANCE)) { in btrfs_resume_balance_async()
6485 !btrfs_test_opt(root->fs_info, DEGRADED)) { in read_one_chunk()
6554 if (!btrfs_test_opt(root->fs_info, DEGRADED)) in open_seed_devices()
6616 if (!btrfs_test_opt(root->fs_info, DEGRADED)) in read_one_dev()
6625 if (!device->bdev && !btrfs_test_opt(root->fs_info, DEGRADED)) in read_one_dev()
Dinode.c379 if (btrfs_test_opt(root->fs_info, FORCE_COMPRESS)) in inode_need_compress()
384 if (btrfs_test_opt(root->fs_info, COMPRESS) || in inode_need_compress()
630 if (!btrfs_test_opt(root->fs_info, FORCE_COMPRESS) && in compress_file_range()
1176 !btrfs_test_opt(root->fs_info, FORCE_COMPRESS)) in cow_file_range_async()
6320 if (btrfs_test_opt(root->fs_info, NODATASUM)) in btrfs_new_inode()
6322 if (btrfs_test_opt(root->fs_info, NODATACOW)) in btrfs_new_inode()
Dtree-log.c2784 if (!btrfs_test_opt(root->fs_info, SSD) && in btrfs_sync_log()
5404 if (btrfs_test_opt(root->fs_info, NOTREELOG)) { in btrfs_log_inode_parent()
Dfile.c135 if (!btrfs_test_opt(root->fs_info, AUTO_DEFRAG)) in __need_auto_defrag()
Dioctl.c2421 if (!btrfs_test_opt(root->fs_info, USER_SUBVOL_RM_ALLOWED)) in btrfs_ioctl_snap_destroy()