Re: [PATCH v8 7/8] btrfs: Replication-type information

2011-06-28 Thread David Sterba
On Sun, Jun 26, 2011 at 09:36:54PM +0100, Hugo Mills wrote: diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 828aa34..fb11550 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -117,6 +117,52 @@ static void requeue_list(struct btrfs_pending_bios *pending_bios,

Re: [PATCH v8 7/8] btrfs: Replication-type information

2011-06-28 Thread Hugo Mills
On Tue, Jun 28, 2011 at 06:32:43PM +0200, David Sterba wrote: On Sun, Jun 26, 2011 at 09:36:54PM +0100, Hugo Mills wrote: diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 828aa34..fb11550 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -117,6 +117,52 @@ static void

Re: [PATCH v8 7/8] btrfs: Replication-type information

2011-06-28 Thread Ilya Dryomov
On Tue, Jun 28, 2011 at 08:26:43PM +0100, Hugo Mills wrote: On Tue, Jun 28, 2011 at 06:32:43PM +0200, David Sterba wrote: On Sun, Jun 26, 2011 at 09:36:54PM +0100, Hugo Mills wrote: diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 828aa34..fb11550 100644 ---

[PATCH v8 7/8] btrfs: Replication-type information

2011-06-26 Thread Hugo Mills
There are a few places in btrfs where knowledge of the various parameters of a replication type is needed. Factor this out into a single function which can supply all the relevant information. Signed-off-by: Hugo Mills h...@carfax.org.uk --- fs/btrfs/super.c | 16 ++--- fs/btrfs/volumes.c |