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 bc2636f
🔍 Latest deploy log https://app.netlify.com/projects/splinterdb/deploys/69e7ca3d4a349200080faf64

@scober scober force-pushed the scb/fallocate-fix branch 2 times, most recently from 7f02691 to f0a1a16 Compare April 15, 2026 13:39
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 f0a1a16 to bc2636f Compare April 21, 2026 19:04
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