diff options
author | Zygo Blaxell <ce3g8jdj@umail.furryterror.org> | 2017-09-22 13:58:47 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-11-01 20:45:35 +0100 |
commit | b115e3bc81aeb624fe7c4eccecbd094601ebde84 (patch) | |
tree | a12357bce68457e0757f030589dbed9f46336b5c /fs/btrfs/file.c | |
parent | d24a67b2d997c860a42516076f3315c2ad2d2884 (diff) | |
download | op-kernel-dev-b115e3bc81aeb624fe7c4eccecbd094601ebde84.zip op-kernel-dev-b115e3bc81aeb624fe7c4eccecbd094601ebde84.tar.gz |
btrfs: increase output size for LOGICAL_INO_V2 ioctl
Build-server workloads have hundreds of references per file after dedup.
Multiply by a few snapshots and we quickly exhaust the limit of 2730
references per extent that can fit into a 64K buffer.
Raise the limit to 16M to be consistent with other btrfs ioctls
(e.g. TREE_SEARCH_V2, FILE_EXTENT_SAME).
To minimize surprising userspace behavior, apply this change only to
the LOGICAL_INO_V2 ioctl.
Signed-off-by: Zygo Blaxell <ce3g8jdj@umail.furryterror.org>
Reviewed-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Tested-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions