mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
Preallocate fstree directories #1512
Labels
No labels
I1
I2
I3
I4
S0
S1
S2
S3
S4
U0
U1
U2
U3
U4
blocked
bug
config
dependencies
discussion
documentation
enhancement
enhancement
epic
feature
go
good first issue
help wanted
neofs-adm
neofs-cli
neofs-cli
neofs-cli
neofs-ir
neofs-lens
neofs-storage
neofs-storage
performance
question
security
task
test
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-node#1512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Sep 23, 2025).
Is your feature request related to a problem? Please describe.
I'm always frustrated when we stat/mkdir during object put.
Describe the solution you'd like
I think we can preallocate to depth 2 right at fstree init (just a bit more than 3K directories). Theoretically depth 3 can be done in background, but maybe it's not worth it, needs to be tested. If we're to perform any background directory creation fstree config can be leveraged to mark tree as completely ready (allowing to avoid directory stat), see https://github.com/nspcc-dev/neofs-node/issues/2174#issuecomment-2939337843.
Describe alternatives you've considered
Things work as is.