Skip to content

SETUP: fix fallocate bug#668

Merged
rtjohnso merged 2 commits into
vmware:mainfrom
scober:scb/fallocate-fix
May 15, 2026
Merged

SETUP: fix fallocate bug#668
rtjohnso merged 2 commits into
vmware:mainfrom
scober:scb/fallocate-fix

Conversation

@scober
Copy link
Copy Markdown
Contributor

@scober scober commented Apr 14, 2026

EOPNOTSUPP needs to be compared to errno, not the fallocate return value. Along the way, define a constant for the superblock size because it gets used a lot in that section.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 14, 2026

Deploy Preview for splinterdb canceled.

Name Link
🔨 Latest commit 91fb938
🔍 Latest deploy log https://app.netlify.com/projects/splinterdb/deploys/6a06aa224f7ddb000893cc3e

@scober scober force-pushed the scb/fallocate-fix branch 3 times, most recently from f0a1a16 to bc2636f Compare April 21, 2026 19:04
EOPNOTSUPP needs to be compared to errno, not the fallocate return
value. Along the way, define a constant for the superblock size because
it gets used a lot in that section.

Signed-off-by: Simon Bertron <sb2684@cornell.edu>
@scober scober force-pushed the scb/fallocate-fix branch from bc2636f to 4ae4864 Compare April 22, 2026 14:18
@rtjohnso rtjohnso enabled auto-merge (squash) May 15, 2026 05:10
@rtjohnso rtjohnso merged commit 8900639 into vmware:main May 15, 2026
109 checks passed
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