Skip to content

SETUP: fix fallocate bug#668

Open
scober wants to merge 1 commit intovmware:mainfrom
scober:scb/fallocate-fix
Open

SETUP: fix fallocate bug#668
scober wants to merge 1 commit intovmware: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 4ae4864
🔍 Latest deploy log https://app.netlify.com/projects/splinterdb/deploys/69e8d8bd4c012e0008c7a152

@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
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.

1 participant