Dan Robertson
Dan Robertson
Add CI
Travis doesn't support FreeBSD, so this could be difficult.
- [ ] the purpose of the crate and use cases should be highlighted - [ ] documentation should contain less code and more descriptions - [ ] add docs...
Add documentation commets to the btree iter flag definitions. CC: https://github.com/koverstreet/bcachefs/issues/269 Signed-off-by: Dan Robertson
We do not currently support `FALLOC_FL_UNSHARE_RANGE`. Adding support for it could be an interesting project. The following is from `fallocate(2)`: > If the FALLOC_FL_UNSHARE_RANGE flag is specified in mode, shared...
## Solution The following uses of `strndup_user` should check for an error pointer on return (like https://github.com/koverstreet/bcachefs/blob/master/fs/bcachefs/chardev.c#L47 does) instead of a null value: - https://github.com/koverstreet/bcachefs/blob/master/fs/bcachefs/chardev.c#L181 - https://github.com/koverstreet/bcachefs/blob/master/fs/bcachefs/chardev.c#L181 ## Reproducer ```c...
Consistently failing test cases: - [ ] - `generic/302` - [ ] - `generic/372` - [ ] - `generic/422`: https://github.com/koverstreet/bcachefs/pull/249 - [ ] - `generic/467`: https://github.com/koverstreet/bcachefs/pull/282 - [ ] -...
Several blocks contain a call to `bch2_fs_inconsistent` with a message and are immediately followed by a call to `bch2_inconsistent_error`. `bch2_fs_inconsistent` includes a call to `bch2_inconsistent_error`, so I don't think there...
## Backtrace ``` kernel BUG at fs/bcachefs/super.c:1323! invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 PID: 419 Comm: syz-executor251 Not tainted 5.12.0+ #89 Hardware name: QEMU Standard PC (i440FX...
`generic/092` seems to fail in the following case now: ``` bcachefs format $TEST_DEV ./check generic/092 ``` I was only able to see this if I reformatted the device before running...
Developers are likely to interact with btree via btree_iter frequently. Add more kernel doc comments to important functions and structures.