Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Andrei Popa <ierdnah@gmail.com>
To: dave@jikos.cz
Cc: linux-btrfs@vger.kernel.org, arnd@arndnet.de
Subject: Re: [PATCH] Btrfs: add "nocompress" mount option
Date: Fri, 15 Jun 2012 17:27:49 +0300	[thread overview]
Message-ID: <1339770469.24514.22.camel@ierdnac-hp> (raw)
In-Reply-To: <20120615105006.GV32402@twin.jikos.cz>

On Fri, 2012-06-15 at 12:50 +0200, David Sterba wrote:
>   mount -o compress,nocompress /dev /mnt
> 
> Is it on or off? Yeah we can document that nocompress has higher
> priority. But then I can't turn a nocompress option back to compress via
> remount. This is possible with Arnd's patch.

This happens for space_cache mount option:
ierdnac-hp ~ # mount -o remount,space_cache,nospace_cache /mnt/btrfs/

Also there are mount option that can't be enabled/disabled by remount
like:
nobarrier - > "barrier" mount option doesn't exists
ssd -> "nossd" doesn't exists
noacl, user_subvol_rm_allowed, autodefrag, inode_cache, check_int,
check_int_data.

For some of these(ex: nossd,barrier) I think it would be usefull to have
the reverse action.
What do you think ?

Andrei



  parent reply	other threads:[~2012-06-15 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15  9:56 [PATCH] Btrfs: add "nocompress" mount option Andrei Popa
2012-06-15 10:50 ` David Sterba
2012-06-15 11:13   ` Andrei Popa
2012-06-15 14:27   ` Andrei Popa [this message]
2012-06-18 12:28     ` David Sterba
2012-06-15 16:56   ` Goffredo Baroncelli
2012-06-18 12:20     ` David Sterba

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=1339770469.24514.22.camel@ierdnac-hp \
    --to=ierdnah@gmail.com \
    --cc=arnd@arndnet.de \
    --cc=dave@jikos.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox