public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* FIEMAP ioctl gets "wrong" address for the extent
@ 2020-07-02  9:11 Rebraca Dejan (BSOT/PJ-ES1-Bg)
  2020-07-02 10:18 ` Qu Wenruo
  2020-07-02 11:43 ` David Sterba
  0 siblings, 2 replies; 9+ messages in thread
From: Rebraca Dejan (BSOT/PJ-ES1-Bg) @ 2020-07-02  9:11 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

Hi all,

I'm collecting file extents for our application from BtrFs filesystem image.
I've noticed that for some files a get the "wrong" physical offset for start of the extent. I verified it using hexdump of the filesystem image: when dump the content starting from the address returned from FIEMAP ioctl, I see that the content is absolutely different from the content of the file itself. Also, the FIEMAP ioctl reports regular extent, it is not inline.

Environment:
- 4.15.0-96-generic #97~16.04.1-Ubuntu SMP Wed Apr 1 03:03:31 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- btrfs-progs v4.4

Does anyone has any idea? I would appreciate your help on this one.
Tnx.

Best regards,
Dejan

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

end of thread, other threads:[~2020-07-07 11:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-02  9:11 FIEMAP ioctl gets "wrong" address for the extent Rebraca Dejan (BSOT/PJ-ES1-Bg)
2020-07-02 10:18 ` Qu Wenruo
2020-07-02 11:08   ` Rebraca Dejan (BSOT/PJ-ES1-Bg)
2020-07-02 11:21     ` Qu Wenruo
2020-07-03  7:13       ` Rebraca Dejan (BSOT/PJ-ES1-Bg)
2020-07-06 17:10       ` Omar Sandoval
2020-07-02 11:43 ` David Sterba
2020-07-07  9:43   ` Anand Jain
2020-07-07 11:38     ` David Sterba

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