From: "Rebraca Dejan (BSOT/PJ-ES1-Bg)" <Dejan.Rebraca@rs.bosch.com>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: FIEMAP ioctl gets "wrong" address for the extent
Date: Thu, 2 Jul 2020 09:11:20 +0000 [thread overview]
Message-ID: <cfd1d2842b4840b99539f00c34dc5701@rs.bosch.com> (raw)
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
next reply other threads:[~2020-07-02 9:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-02 9:11 Rebraca Dejan (BSOT/PJ-ES1-Bg) [this message]
2020-07-02 10:18 ` FIEMAP ioctl gets "wrong" address for the extent 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cfd1d2842b4840b99539f00c34dc5701@rs.bosch.com \
--to=dejan.rebraca@rs.bosch.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox