From: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
To: dsterba@suse.cz
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] Btrfs: fix output of compression message in btrfs_parse_options()
Date: Wed, 6 Jan 2016 11:14:17 +0900 [thread overview]
Message-ID: <568C7879.3080709@jp.fujitsu.com> (raw)
In-Reply-To: <20160105141225.GB4227@twin.jikos.cz>
Hi, David,
On 2016/01/05 23:12, David Sterba wrote:
> On Wed, Dec 16, 2015 at 11:57:38AM +0900, Tsutomu Itoh wrote:
>> diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
>> index 974be09..dcc1f15 100644
>> --- a/fs/btrfs/disk-io.c
>> +++ b/fs/btrfs/disk-io.c
>> @@ -2709,7 +2709,7 @@ int open_ctree(struct super_block *sb,
>> * In the long term, we'll store the compression type in the super
>> * block, and it'll be used for per file compression control.
>> */
>> - fs_info->compress_type = BTRFS_COMPRESS_ZLIB;
>> + fs_info->compress_type = BTRFS_COMPRESS_NONE;
>
> This would change the default compression type, eg. when the compression
> is turned on via chattr +c . This would break the applications out
> there, the fix has to avoid changing that.
Thanks for pointing that out. I had forgotten chattr +c.
I'll post V2 patch later.
Thanks,
Tsutomu
prev parent reply other threads:[~2016-01-06 2:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 2:57 [PATCH] Btrfs: fix output of compression message in btrfs_parse_options() Tsutomu Itoh
2016-01-05 14:12 ` David Sterba
2016-01-06 2:14 ` Tsutomu Itoh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=568C7879.3080709@jp.fujitsu.com \
--to=t-itoh@jp.fujitsu.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.