* Does a chattr -c/+c on ubifs automagically compress/uncompress all blocks of an inode ?
@ 2019-07-25 16:18 Mainz, Roland
2019-07-25 21:02 ` Richard Weinberger
0 siblings, 1 reply; 2+ messages in thread
From: Mainz, Roland @ 2019-07-25 16:18 UTC (permalink / raw)
To: linux-mtd
Hi!
----
Does a chattr -c/+c automagically compress/uncompress all blocks of an inode in ubifs, or will the change only affect newly written or updated blocks ?
----
Bye,
Roland
--
Roland Mainz, MAA/CAS
Eckelmann AG, Berliner Str. 161, 65205 Wiesbaden
Telefon +49/611/7103-661, Fax +49/611/7103-133
r.mainz@eckelmann.de
Eckelmann Group – Source of inspiration
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Does a chattr -c/+c on ubifs automagically compress/uncompress all blocks of an inode ?
2019-07-25 16:18 Does a chattr -c/+c on ubifs automagically compress/uncompress all blocks of an inode ? Mainz, Roland
@ 2019-07-25 21:02 ` Richard Weinberger
0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2019-07-25 21:02 UTC (permalink / raw)
To: Mainz, Roland; +Cc: linux-mtd
On Thu, Jul 25, 2019 at 6:18 PM Mainz, Roland <R.Mainz@eckelmann.de> wrote:
> Does a chattr -c/+c automagically compress/uncompress all blocks of an inode in ubifs, or will the change only affect newly written or updated blocks ?
Nope, only new writes are affected. No re-compression.
AFAIK this is also what other filesystems do.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-25 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 16:18 Does a chattr -c/+c on ubifs automagically compress/uncompress all blocks of an inode ? Mainz, Roland
2019-07-25 21:02 ` Richard Weinberger
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).