linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs: user space tool to force compression
@ 2015-10-02 20:41 Matwey V. Kornilov
  2015-10-02 20:48 ` Hugo Mills
  0 siblings, 1 reply; 2+ messages in thread
From: Matwey V. Kornilov @ 2015-10-02 20:41 UTC (permalink / raw)
  To: linux-btrfs

Hello,

Is there a way (and appropriate user space tool) to force compression of
existing file? I mean there was directory with some content and then I
set compression attribute (property) to it. How to force data recompression?


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

* Re: btrfs: user space tool to force compression
  2015-10-02 20:41 btrfs: user space tool to force compression Matwey V. Kornilov
@ 2015-10-02 20:48 ` Hugo Mills
  0 siblings, 0 replies; 2+ messages in thread
From: Hugo Mills @ 2015-10-02 20:48 UTC (permalink / raw)
  To: Matwey V. Kornilov; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

On Fri, Oct 02, 2015 at 11:41:00PM +0300, Matwey V. Kornilov wrote:
> Hello,
> 
> Is there a way (and appropriate user space tool) to force compression of
> existing file? I mean there was directory with some content and then I
> set compression attribute (property) to it. How to force data recompression?

   btrfs fi defrag -c <file>

   Hugo.

-- 
Hugo Mills             | A cross? Oy vey, have you picked the wrong vampire!
hugo@... carfax.org.uk |
http://carfax.org.uk/  |
PGP: E2AB1DE4          |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2015-10-02 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 20:41 btrfs: user space tool to force compression Matwey V. Kornilov
2015-10-02 20:48 ` Hugo Mills

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).