This new ioctl call allows the user to supply a buffer of varying size in which
a tree search can store its results. This is much more flexible if you want to
receive items which are larger than the current fixed buffer of 3992 bytes or
if you want to fetch mor item at once.
Currently the buffer
On Mon, Jan 27, 2014 at 02:28:30PM +0100, Gerhard Heift wrote:
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -2032,6 +2032,52 @@ static noinline int btrfs_ioctl_tree_search(struct
file *file,
return ret;
}
+static noinline int btrfs_ioctl_tree_search_v2(struct file *file,
+
2014-01-27 David Sterba dste...@suse.cz:
On Mon, Jan 27, 2014 at 02:28:30PM +0100, Gerhard Heift wrote:
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -2032,6 +2032,52 @@ static noinline int btrfs_ioctl_tree_search(struct
file *file,
return ret;
}
+static noinline int