Searched refs:failure_tree (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/btrfs/ |
D | extent_io.c | 1929 int free_io_failure(struct extent_io_tree *failure_tree, in free_io_failure() argument 1936 set_state_failrec(failure_tree, rec->start, NULL); in free_io_failure() 1937 ret = clear_extent_bits(failure_tree, rec->start, in free_io_failure() 2072 struct extent_io_tree *failure_tree, in clean_io_failure() argument 2083 ret = count_range_bits(failure_tree, &private, (u64)-1, 1, in clean_io_failure() 2088 ret = get_state_failrec(failure_tree, start, &failrec); in clean_io_failure() 2122 free_io_failure(failure_tree, io_tree, failrec); in clean_io_failure() 2135 struct extent_io_tree *failure_tree = &inode->io_failure_tree; in btrfs_free_io_failure_record() local 2139 if (RB_EMPTY_ROOT(&failure_tree->state)) in btrfs_free_io_failure_record() 2142 spin_lock(&failure_tree->lock); in btrfs_free_io_failure_record() [all …]
|
D | extent_io.h | 508 struct extent_io_tree *failure_tree, 545 int free_io_failure(struct extent_io_tree *failure_tree,
|
D | inode.c | 7771 struct extent_io_tree *failure_tree = &BTRFS_I(inode)->io_failure_tree; in dio_read_error() local 7789 free_io_failure(failure_tree, io_tree, failrec); in dio_read_error() 7811 free_io_failure(failure_tree, io_tree, failrec); in dio_read_error() 7830 struct extent_io_tree *io_tree, *failure_tree; in btrfs_retry_endio_nocsum() local 7838 failure_tree = &BTRFS_I(inode)->io_failure_tree; in btrfs_retry_endio_nocsum() 7844 clean_io_failure(BTRFS_I(inode)->root->fs_info, failure_tree, in btrfs_retry_endio_nocsum() 7916 struct extent_io_tree *io_tree, *failure_tree; in btrfs_retry_endio() local 7932 failure_tree = &BTRFS_I(inode)->io_failure_tree; in btrfs_retry_endio() 7941 failure_tree, io_tree, done->start, in btrfs_retry_endio()
|