Re: [PATCH v2] Btrfs: allow mount -o remount,compress=no

From: David Sterba
Date: Mon Apr 16 2012 - 10:42:50 EST

On Mon, Apr 16, 2012 at 03:27:51PM +0200, Arnd Hannemann wrote:
> Btrfs allows to turn on compression on a mounted and used filesystem
> by issuing mount -o remount,compress=lzo.
> This patch allows to turn compression off again
> while the filesystem is mounted. As suggested by David Sterba
> if the compress-force option was set, it is implicitly cleared
> if compression is turned off.
> Signed-off-by: Arnd Hannemann <arnd@xxxxxxxxxx>

Tested-by: David Sterba <dsterba@xxxxxxx>

worked perfectly, remounting back and forth with compress=lzo =no
-force=lzo etc, checked output via 'mount'.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at