Return-Path: Received: from plane.gmane.org ([80.91.229.3]:37651 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752412Ab3EGWD1 (ORCPT ); Tue, 7 May 2013 18:03:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UZpym-0005aE-7F for linux-btrfs@vger.kernel.org; Wed, 08 May 2013 00:03:24 +0200 Received: from dyndsl-178-142-088-157.ewe-ip-backbone.de ([178.142.88.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 May 2013 00:03:24 +0200 Received: from hurikhan77+btrfs by dyndsl-178-142-088-157.ewe-ip-backbone.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 May 2013 00:03:24 +0200 To: linux-btrfs@vger.kernel.org From: Kai Krakow Subject: Re: [RFC 0/5] BTRFS hot relocation support Date: Tue, 07 May 2013 23:58:08 +0200 Message-ID: References: <1367830418-26865-1-git-send-email-zwu.kernel@gmail.com> <518973B2.4070308@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-btrfs-owner@vger.kernel.org List-ID: Gabriel de Perthuis schrieb: >>> How will it compare to bcache? I'm currently thinking about buying an >>> SSD but bcache requires some efforts in migrating the storage to use. >>> And after all those hassles I am even not sure if it would work easily >>> with a dracut generated initramfs. > >> On the side note: dm-cache, which is already in-kernel, do not need to >> reformat backing storage. > > On the other hand dm-cache is somewhat complex to assemble, and letting > the system automount the unsynchronised backing device is a recipe for > data loss. Yes, that was my first impression, too, after reading of how it works. How safe is bcache on that matter? > Anyway, here's a shameless plug for a tool that converts to bcache > in-place: https://github.com/g2p/blocks#bcache-conversion Did I say: I love your shameless plugs? ;-) I've read the docs for this tool with interest. Still I do not feel very comfortable with converting my storage for some unknown outcome. Sure, I can take backups (and by any means: I will). But it takes time: backup, try, restore, try again, maybe restore... I don't want to find out that it was all useless because it's just not ready to boot a multi-device btrfs through dracut. So you see, the point is: Will that work? I didn't see any docs answering my questions. Of course, if it would work I'd happily contribute documentation to your project. Regards, Kai