Skip to content

feat(opts): add missing DBOptions::allow_fallocate#204

Draft
Nytelife26 wants to merge 1 commit intozaidoon1:masterfrom
Nytelife26:feat/opts/allow-fallocate
Draft

feat(opts): add missing DBOptions::allow_fallocate#204
Nytelife26 wants to merge 1 commit intozaidoon1:masterfrom
Nytelife26:feat/opts/allow-fallocate

Conversation

@Nytelife26
Copy link

@Nytelife26 Nytelife26 commented Feb 27, 2026

Status

Blocked on github.com:facebook/rocksdb#14400.

Brief

This is required for maintaining performant deployments on some CoW filesystems, such as btrfs, where preallocated chunks that do not get used are never freed.

References

This is required for maintaining performant deployments on CoW
filesystems, such as btrfs, where preallocated chunks that do not get
used are never freed.
@zaidoon1
Copy link
Owner

can you add a test to call this function, set it to false, do some writes, etc.. just to make sure it's all good

@Nytelife26
Copy link
Author

Nytelife26 commented Feb 27, 2026

Yes, I will. I just noticed, however, that the corresponding function is not yet exposed in RocksDB itself, so I'm going to have to make a PR there, which will block this until its completion.

@Nytelife26
Copy link
Author

This is now blocked on github.com:facebook/rocksdb#14400, so I will revisit adding tests after that is merged.

@Nytelife26 Nytelife26 marked this pull request as draft February 27, 2026 22:09
@zaidoon1 zaidoon1 force-pushed the master branch 4 times, most recently from 55d2f46 to b551214 Compare March 14, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants