VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Filipe Manana <fdmanana@suse.com> 2021-03-01 09:26:42 +0000 committer: David Sterba <dsterba@suse.com> 2021-04-19 17:25:15 +0200 commit: 19358b154fcebc0f5a609c608e0023695889f9e6 parent: 98686ffc71f58191ab3f4069d9ae7eee60fb3889
Commit Summary:
btrfs: add btree read ahead for full send operations
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 8f323859156b..6b1065248aec 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -6650,6 +6650,7 @@ static int full_send_tree(struct send_ctx *sctx)
 	path = alloc_path_for_send();
 	if (!path)
 		return -ENOMEM;
+	path->reada = READA_FORWARD;
 
 	key.objectid = BTRFS_FIRST_FREE_OBJECTID;
 	key.type = BTRFS_INODE_ITEM_KEY;