All of lore.kernel.org
 help / color / mirror / Atom feed
* How do I get the physical offset of a file in BTRFS ?
@ 2020-12-10 13:24 Sreyan Chakravarty
  2020-12-10 18:38 ` Chris Murphy
  0 siblings, 1 reply; 2+ messages in thread
From: Sreyan Chakravarty @ 2020-12-10 13:24 UTC (permalink / raw)
  To: linux-btrfs

Hi,

How do I calculate the physical offset of a file in BTRFS ?

filefrag does not work.

-- 
Regards,
Sreyan Chakravarty

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

* Re: How do I get the physical offset of a file in BTRFS ?
  2020-12-10 13:24 How do I get the physical offset of a file in BTRFS ? Sreyan Chakravarty
@ 2020-12-10 18:38 ` Chris Murphy
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Murphy @ 2020-12-10 18:38 UTC (permalink / raw)
  To: Sreyan Chakravarty; +Cc: Btrfs BTRFS

On Thu, Dec 10, 2020 at 6:25 AM Sreyan Chakravarty <sreyan32@gmail.com> wrote:
>
> Hi,
>
> How do I calculate the physical offset of a file in BTRFS ?
>
> filefrag does not work.


Given your you post two hours before this in which you describe
btrfs_map_physical script to get the resume_offset and properly divide
by page size, this post seems anachronistic and I have no idea what
you're asking.


-- 
Chris Murphy

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

end of thread, other threads:[~2020-12-10 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 13:24 How do I get the physical offset of a file in BTRFS ? Sreyan Chakravarty
2020-12-10 18:38 ` Chris Murphy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.