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

@scober scober force-pushed the scb/fallocate-fix branch from d8ca6d3 to 7f02691 Compare April 14, 2026 19:51
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 7f02691 to f0a1a16 Compare April 15, 2026 13:39
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