From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: Setting options permanently? Date: Mon, 30 Jan 2012 13:57:49 +0800 Message-ID: <4F26315D.30905@cn.fujitsu.com> References: <4F22BCCC.5090800@danisch.de> <4F234616.6020407@danisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: linux-btrfs@vger.kernel.org To: Duncan <1i5t5.duncan@cox.net> Return-path: In-Reply-To: List-ID: >> I currently don't see how to repair this afterwards without removing the >> uncompressed files and writing new ones, which on the other hand spoils >> hte memory saving effect of using snapshots instead of copies. > > A rebalance is the usual way of handling such things, since that rewrites > every chunk, taking account of current mount options, etc. If I've been > reading correctly, a defrag should handle it now as well, altho that used > to break snapshots/cow/reflink-copies, but I /think/ I read that with 3.2 > (or was it 3.3-rc1) it doesn't, any more. > Rebalance won't do the trick, but defrag can. And defrag still breaks snapshots, which I'm working on.