-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/link: fallocate_test.go:46: unexpected disk usage: got 1 blocks, want 2048 #42005
Comments
Change https://golang.org/cl/262837 mentions this issue: |
Already commented on the CL. As @wheelcomplex mentioned, this is an OS bug. |
With transparent compression on filesystem level number of blocks can be non-deterministic in this test. |
ZFS 2.0 has released and currently behavior is intended. The CL has been updated to address this. |
Basic fallocate(mode=0/2) compatibility has been added in openZFS 2.0. Test case TestFallocate has been suggested to skip on ZFS (openzfs/zfs#11073). fix: golang#42005 Change-Id: Ic7ea6cbcb076c8e422c4136950b5e1f2c034955c
Basic fallocate(mode=0/2) compatibility has been added in openZFS 2.0. Test case TestFallocate has been suggested to skip on ZFS (openzfs/zfs#11073). fix: golang#42005 Change-Id: Ic7ea6cbcb076c8e422c4136950b5e1f2c034955c
Sorry for the delay. Sounds like ZFS 2.0 has fixed the issue? Do we need to do anything more on this? Thanks. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
I'm on zfs-2.1.5-1ubuntu6~22.04.2. I still see this behaviour. I'd suggest reopening this bug. |
Hmmhhh... no. I also get it when on an ext4 filesystem. Weird. When building go 1.21.4. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
no reproduced in go-1.14.4
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
compile Go from source: cd src && ./all.bash
What did you expect to see?
ALL TESTS PASSED
What did you see instead?
What did you figured out:
openZFS 2.0 reports fallocate is supported, but actaully not.
This should be a bug in openZFS 2.0, but we can workaround.
An improvement for The old issuse will follows up.
The text was updated successfully, but these errors were encountered: