* Can a compressed file extent have non-zero offset?
@ 2017-08-29 23:07 Marek Behun
0 siblings, 0 replies; only message in thread
From: Marek Behun @ 2017-08-29 23:07 UTC (permalink / raw)
To: linux-btrfs
Hello,
I cannot find this in the documentation (and the sources are too long),
so I am trying here:
can a file_extent_item with
item.type == BTRFS_FILE_EXTENT_REG
and
item.compression != BTRFS_COMPRESS_NONE
have non zero offset (item.offset != 0) ?
What does it mean in such a case? That compressed data start at 0, but
in the uncompressed data, the data begin at item.offset? What does
item.num_bytes in this case mean - the valid number of bytes from
position item.offset, or the number of all bytes, even those before
position item.offset?
Thank you.
Marek
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-29 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-29 23:07 Can a compressed file extent have non-zero offset? Marek Behun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).