Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [bug or by design ?] btrfs defrag compression does not persist
@ 2016-12-22  2:28 Anand Jain
  2016-12-22 10:26 ` Duncan
  2016-12-22 12:22 ` Austin S. Hemmelgarn
  0 siblings, 2 replies; 3+ messages in thread
From: Anand Jain @ 2016-12-22  2:28 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba, Chris Mason


A quick design specific question.

The following command converts file-data-extents to the specified
encoder (lzo).

   $ btrfs filesystem defrag -v -r -f -clzo dir/

However the lzo property does not persist through the file modify.
As the above operation does not update the btrfs.compression property.

Question:
  I wonder if this should be a bug or if its by design ?
  What could be the main use case to _associate compression
  at the time of defrag_ ?
  The no-conflict fix will be to add another option to make
  it persistent.

Thanks, Anand

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

end of thread, other threads:[~2016-12-22 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22  2:28 [bug or by design ?] btrfs defrag compression does not persist Anand Jain
2016-12-22 10:26 ` Duncan
2016-12-22 12:22 ` Austin S. Hemmelgarn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox