]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcac36ffcaa04f32d5f7b3fd1105abbacd67405c2
tree8b5b09704b99bb0956836c8d45b6228cfcc2bfee
parentd88eecb6dc499eeac93da4cc1ad9f672e241d929
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