public inbox for linux-bcachefs@vger.kernel.org
 help / color / mirror / Atom feed
* [bug]: fiemap returns zero extents for all files
@ 2023-12-05  5:26 Steve Smith
  2023-12-05 14:54 ` Brian Foster
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Smith @ 2023-12-05  5:26 UTC (permalink / raw)
  To: linux-bcachefs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-08 12:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05  5:26 [bug]: fiemap returns zero extents for all files Steve Smith
2023-12-05 14:54 ` Brian Foster
2023-12-05 23:26   ` Steve Smith
2023-12-06 19:01     ` Brian Foster
2023-12-06 22:42       ` Kent Overstreet
2023-12-08 12:22         ` Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox