mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
extentwalker: use default sizing of TREE_SEARCH_V2 buffers
Now that we can guess the size more or less automatically, there's no need to make it unnecessarily large. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
ba1f3b93e4
commit
daf8a2cde1
@ -496,7 +496,7 @@ namespace crucible {
|
|||||||
BtrfsExtentWalker::Vec
|
BtrfsExtentWalker::Vec
|
||||||
BtrfsExtentWalker::get_extent_map(off_t pos)
|
BtrfsExtentWalker::get_extent_map(off_t pos)
|
||||||
{
|
{
|
||||||
BtrfsIoctlSearchKey sk(65536);
|
BtrfsIoctlSearchKey sk;
|
||||||
if (!m_root_fd) {
|
if (!m_root_fd) {
|
||||||
m_root_fd = m_fd;
|
m_root_fd = m_fd;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user