Discussion:
Compressed size of a filesystem
(too old to reply)
Suman Chakravartula
2014-10-20 16:05:41 UTC
Permalink
Raw Message
Hi,

I'd like to calculate the compressed size of a btrfs filesystem. I read
the wiki and understand the backward compatibility issues mentioned.
Also, the "df before and after" method doesn't work for me and I have no
control over when end users are writing to the filesystem.

Wiki says there's a patch which is not merged. Is that refering to this
discussion:

http://comments.gmane.org/gmane.comp.file-systems.btrfs/14942

Why was the patch not merged?
--
Suman Chakravartula
Rockstor, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
David Sterba
2014-10-20 17:08:38 UTC
Permalink
Raw Message
Post by Suman Chakravartula
I'd like to calculate the compressed size of a btrfs filesystem. I read
the wiki and understand the backward compatibility issues mentioned.
Also, the "df before and after" method doesn't work for me and I have no
control over when end users are writing to the filesystem.
Wiki says there's a patch which is not merged. Is that refering to this
http://comments.gmane.org/gmane.comp.file-systems.btrfs/14942
I'll update the link.
Post by Suman Chakravartula
Why was the patch not merged?
Because the approach was abandoned in favor of a more generic solution
that reuses the existing interface (FIEMAP). The patchset implementing
this is

http://thread.gmane.org/gmane.comp.file-systems.btrfs/37312
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...