]> 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)
commit25eef305d0213b12b24266c2beb6f6229e884de5
tree8b5b09704b99bb0956836c8d45b6228cfcc2bfee
parent10902f4cea13e29fe2815c52c5060e4d69488b86
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