linux_dsm_epyc7002/fs/btrfs
Gu Jinxiang 019599ada7 btrfs: use reada direction enum instead of constant value in populate_free_space_tree
populate_free_space_tree calls function btrfs_search_slot_for_read with
parameter int find_higher = 1, it means that, if no exact match is
found, then use the next higher item.  So in function
populate_free_space_tree, use READA_FORWARD to read forward ahead.

This also changes the value from READA_BACK to READA_FORWARD, since
according to the logic, it should reada_for_search forward, not
backward.

Signed-off-by: Gu JinXiang <gujx@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
2018-03-26 15:09:37 +02:00
..
tests Btrfs: extent map selftest: add missing void parameter to btrfs_test_extent_map 2018-03-26 15:09:29 +02:00
acl.c
async-thread.c
async-thread.h
backref.c btrfs: add missing initialization in btrfs_check_shared 2018-03-14 22:26:46 +01:00
backref.h
btrfs_inode.h btrfs: Remove btrfs_inode::delayed_iput_count 2018-03-26 15:09:37 +02:00
check-integrity.c
check-integrity.h
compression.c for-4.16-tag 2018-01-29 14:04:23 -08:00
compression.h
ctree.c
ctree.h btrfs: manage commit mount option as %u 2018-03-26 15:09:33 +02:00
dedupe.h
delayed-inode.c btrfs: Don't pass fs_info to btrfs_run_delayed_items/_nr 2018-03-26 15:09:31 +02:00
delayed-inode.h btrfs: Don't pass fs_info to btrfs_run_delayed_items/_nr 2018-03-26 15:09:31 +02:00
delayed-ref.c btrfs: Ignore errors from btrfs_qgroup_trace_extent_post 2018-02-02 16:25:14 +01:00
delayed-ref.h
dev-replace.c btrfs: log, when replace, is canceled by the user 2018-03-26 15:09:34 +02:00
dev-replace.h btrfs: btrfs_dev_replace_cancel() can return int 2018-03-26 15:09:30 +02:00
dir-item.c
disk-io.c btrfs: Use schedule_timeout_interruptible 2018-03-26 15:09:36 +02:00
disk-io.h btrfs: remove unused function btrfs_async_submit_limit() 2018-03-26 15:09:35 +02:00
export.c
export.h
extent_io.c btrfs: extent_buffer_uptodate() make it static and inline 2018-03-26 15:09:33 +02:00
extent_io.h btrfs: extent_buffer_uptodate() make it static and inline 2018-03-26 15:09:33 +02:00
extent_map.c btrfs: remove unused hardirq.h 2018-03-26 15:09:35 +02:00
extent_map.h
extent-tree.c btrfs: Streamline btrfs_delalloc_reserve_metadata initial operations 2018-03-26 15:09:37 +02:00
file-item.c
file.c for-4.16-tag 2018-01-29 14:04:23 -08:00
free-space-cache.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-01-31 14:31:10 -08:00
free-space-cache.h
free-space-tree.c btrfs: use reada direction enum instead of constant value in populate_free_space_tree 2018-03-26 15:09:37 +02:00
free-space-tree.h
hash.c
hash.h
inode-item.c Btrfs: fix log replay failure after unlink and link combination 2018-03-01 16:18:40 +01:00
inode-map.c
inode-map.h
inode.c btrfs: Remove btrfs_inode::delayed_iput_count 2018-03-26 15:09:37 +02:00
ioctl.c btrfs: rename __btrfs_dev_replace_cancel() 2018-03-26 15:09:30 +02:00
Kconfig
locking.c
locking.h
lzo.c
Makefile
math.h
ordered-data.c
ordered-data.h btrfs: Don't hardcode the csum size in btrfs_ordered_sum_size 2018-03-26 15:09:29 +02:00
orphan.c
print-tree.c
print-tree.h
props.c
props.h
qgroup.c btrfs: Ignore errors from btrfs_qgroup_trace_extent_post 2018-02-02 16:25:14 +01:00
qgroup.h
raid56.c btrfs: Fix NULL pointer exception in find_bio_stripe 2018-03-14 22:26:35 +01:00
raid56.h
rcu-string.h
reada.c
ref-verify.c
ref-verify.h
relocation.c btrfs: Handle btrfs_set_extent_delalloc failure in relocate_file_extent_cluster 2018-03-01 16:16:12 +01:00
root-tree.c
scrub.c btrfs: not a disk error if the bio_add_page fails 2018-03-26 15:09:36 +02:00
send.c Btrfs: send, fix issuing write op when processing hole in no data mode 2018-03-01 16:18:07 +01:00
send.h
struct-funcs.c
super.c btrfs: add a comment to mark the deprecated mount option 2018-03-26 15:09:34 +02:00
sysfs.c Revert "btrfs: use proper endianness accessors for super_copy" 2018-03-16 14:49:44 +01:00
sysfs.h
transaction.c btrfs: Move error handling of btrfs_start_dirty_block_groups closer to call site 2018-03-26 15:09:36 +02:00
transaction.h btrfs: Document consistency of transaction->io_bgs list 2018-03-26 15:09:34 +02:00
tree-checker.c
tree-checker.h
tree-defrag.c
tree-log.c btrfs: Don't pass fs_info to btrfs_run_delayed_items/_nr 2018-03-26 15:09:31 +02:00
tree-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs: volumes: Cleanup stripe size calculation 2018-03-26 15:09:37 +02:00
volumes.h btrfs: Remove fs_info argument from btrfs_update_commit_device_bytes_used 2018-03-26 15:09:32 +02:00
xattr.c for-4.16-tag 2018-01-29 14:04:23 -08:00
xattr.h
zlib.c
zstd.c