From: Goffredo Baroncelli <kreijack@inwind.it>
To: Wang Shilong <wangshilong1991@gmail.com>, peer.loz@gmx.net
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Is it safe or useful to use NOCOW flag and autodefrag mount option at same time?
Date: Wed, 18 Mar 2015 00:01:25 +0100 [thread overview]
Message-ID: <5508B245.5080607@inwind.it> (raw)
In-Reply-To: <C879D0AA-018D-4C52-94F8-37D322F8DCD4@gmail.com>
On 2015-03-15 10:09, Wang Shilong wrote:
Hi Wang,
>
> Btrfs use COW feautr to do defrag, acutally there was bug in the past
> (nocow and defrag)..
>
> But make sure your kernel include following commit:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=47059d930f0e002ff851beea87d738146804726d
>
> With above commit, i think autodefrag should work well with nocow.
If I read correctly, autodefrag disables the NOcow behavior. This to me doesn't seem be "work well"; these are two incompatibles features: enabling autodefrag disables the nocow behavior on all files.
Do I understood correctly ?
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
next prev parent reply other threads:[~2015-03-17 23:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-14 18:36 Is it safe or useful to use NOCOW flag and autodefrag mount option at same time? peer.loz
2015-03-15 9:09 ` Wang Shilong
2015-03-17 23:01 ` Goffredo Baroncelli [this message]
2015-03-17 23:16 ` Chris Murphy
2015-03-18 1:22 ` Duncan
2015-03-16 11:46 ` Russell Coker
2015-03-16 13:56 ` Austin S Hemmelgarn
2015-03-17 22:00 ` Jean-Peer Lorenz
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=5508B245.5080607@inwind.it \
--to=kreijack@inwind.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=peer.loz@gmx.net \
--cc=wangshilong1991@gmail.com \
/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.