btrfs: new ioctl TREE_SEARCH_V2
authorGerhard Heift <gerhard@heift.name>
Thu, 30 Jan 2014 15:24:03 +0000 (16:24 +0100)
committerChris Mason <clm@fb.com>
Fri, 13 Jun 2014 16:52:19 +0000 (09:52 -0700)
commitcc68a8a5a4330a4bb72922d0c7a7044ae13ee692
tree8b5b09704b99bb0956836c8d45b6228cfcc2bfee
parentba346b357d70becdd8e20ff9493cd56101ee0f46
btrfs: new ioctl TREE_SEARCH_V2

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 more items at once. Items larger than this buffer are for
example some of the type EXTENT_CSUM.

Signed-off-by: Gerhard Heift <Gerhard@Heift.Name>
Signed-off-by: Chris Mason <clm@fb.com>
Acked-by: David Sterba <dsterba@suse.cz>
fs/btrfs/ioctl.c
include/uapi/linux/btrfs.h