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
starting with 6.7, multi-device bcachefs turn r/o on first write access #638
Comments
I only started encountering this in 6.8, but 6.7 worked just fine for me. Despite the different versions that triggered it though, the error message I got is otherwise identical to yours (barring the exact devices and journal entry involved). I managed to track down the error to journal_io.c:journal_write_endio, with the Edit: After doing some digging, it seems like a likely candidate for the cause was actually already addressed in this commit. I'll see if I end up compiling the kernel from a version past that to see if it fixes the issue. If not, guess we wait for 6.8-rc2. |
Cool, I was about to post this issue, I didn't realize it had already cropped up. Adding my log:
Never happened for me on 6.7 so far, or with 6.7 with patches from master before 6.8 was merged into it. This only started when I attempted to use a mostly vanilla 6.8-rc1 kernel without any bcachefs related patches or commits applied out of tree. |
This should be fixed now in Linus's tree |
Should be in 6.8-rc2, which was just tagged about 35 minutes ago, but is a while from hitting kernel.org main page. Does it need to be backported to 6.7 as well? |
I can confirm that the issue has been resolved. Thanks! |
hey there,
we've been playing around with bcachefs for over a year as a possible future candidate for our multi-PB storage setup. We regularly compile upstream kernels and test tiered (HDD hardware RAID + SSD cache) file system configurations. Starting right around the 6.7 release, we noticed that the first write to such a file system causes an error and the FS goes r/o:
this is on a Debian Bookworm system with upstream kernel and latest bcachefs-tools. I stripped down the mkfs and the minimal failing configuration is
while
works fine. I haven't found any similar bug description (neither GH issues nor mailing list), so it might well be something particular to our machine.
Any help would be greatly appreciated.
thanks,
-Christian
The text was updated successfully, but these errors were encountered: