Hi,
I'm doing some testing of xcp[1] against bcachefs, and having issues
with fiemap. Using fiemap on both sparse and non-sparse files always
returns `mapped_extents` of 0. The same tests on other extent-based
FSs return non-zero extents, with consistent values. This is against
-rc4 and master.
I've broken the relevant tests (in Rust) out into a standalone crate
if you want to reproduce:
https://github.com/tarka/bcachefs-test
The FS in question was created with a simple `bcachefs -L xcp-test /dev/sdh1`.
Cheers,
Steve
[1]: https://github.com/tarka/xcp