Re: Mis-Design of Btrfs?

2011-07-15 Thread Ric Wheeler
On 07/15/2011 06:01 PM, da...@lang.hm wrote: On Fri, 15 Jul 2011, Ric Wheeler wrote: On 07/15/2011 05:23 PM, da...@lang.hm wrote: On Fri, 15 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: On 07/15/2011 12:34 PM, Chris Mason wrote: By bubble

Re: Mis-Design of Btrfs?

2011-07-15 Thread david
On Fri, 15 Jul 2011, Ric Wheeler wrote: On 07/15/2011 05:23 PM, da...@lang.hm wrote: On Fri, 15 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: On 07/15/2011 12:34 PM, Chris Mason wrote: By bubble up I mean that if you have multiple layers cap

Re: Mis-Design of Btrfs?

2011-07-15 Thread Ric Wheeler
On 07/15/2011 05:23 PM, da...@lang.hm wrote: On Fri, 15 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: On 07/15/2011 12:34 PM, Chris Mason wrote: By bubble up I mean that if you have multiple layers capable of doing retries, the lowest levels w

Re: Mis-Design of Btrfs?

2011-07-15 Thread david
On Fri, 15 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: On 07/15/2011 12:34 PM, Chris Mason wrote: By bubble up I mean that if you have multiple layers capable of doing retries, the lowest levels would retry first. Basically by the time we ge

Re: Mis-Design of Btrfs?

2011-07-15 Thread david
On Fri, 15 Jul 2011, NeilBrown wrote: On Thu, 14 Jul 2011 21:58:46 -0700 (PDT) da...@lang.hm wrote: On Thu, 14 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-14 02:57:54 -0400: On 07/14/2011 07:38 AM, NeilBrown wrote: On Thu, 14 Jul 2011 07:02:22 +0100 Ric Whee

Re: Mis-Design of Btrfs?

2011-07-15 Thread Christian Aßfalg
Am Freitag, den 15.07.2011, 10:24 -0400 schrieb Chris Mason: > Excerpts from Hugo Mills's message of 2011-07-15 10:07:24 -0400: > > On Fri, Jul 15, 2011 at 10:00:35AM -0400, Chris Mason wrote: > > > Excerpts from Ric Wheeler's message of 2011-07-15 09:31:37 -0400: > > > > On 07/15/2011 02:20 PM, Ch

Re: Mis-Design of Btrfs?

2011-07-15 Thread Chris Mason
Excerpts from Hugo Mills's message of 2011-07-15 10:54:36 -0400: > On Fri, Jul 15, 2011 at 10:24:25AM -0400, Chris Mason wrote: > > Excerpts from Hugo Mills's message of 2011-07-15 10:07:24 -0400: > > > On Fri, Jul 15, 2011 at 10:00:35AM -0400, Chris Mason wrote: > > > > Excerpts from Ric Wheeler's

Re: Mis-Design of Btrfs?

2011-07-15 Thread Hugo Mills
On Fri, Jul 15, 2011 at 10:24:25AM -0400, Chris Mason wrote: > Excerpts from Hugo Mills's message of 2011-07-15 10:07:24 -0400: > > On Fri, Jul 15, 2011 at 10:00:35AM -0400, Chris Mason wrote: > > > Excerpts from Ric Wheeler's message of 2011-07-15 09:31:37 -0400: > > > > On 07/15/2011 02:20 PM, Ch

Re: Mis-Design of Btrfs?

2011-07-15 Thread Chris Mason
Excerpts from Hugo Mills's message of 2011-07-15 10:07:24 -0400: > On Fri, Jul 15, 2011 at 10:00:35AM -0400, Chris Mason wrote: > > Excerpts from Ric Wheeler's message of 2011-07-15 09:31:37 -0400: > > > On 07/15/2011 02:20 PM, Chris Mason wrote: > > > > Excerpts from Ric Wheeler's message of 2011-

Re: Mis-Design of Btrfs?

2011-07-15 Thread Hugo Mills
On Fri, Jul 15, 2011 at 10:00:35AM -0400, Chris Mason wrote: > Excerpts from Ric Wheeler's message of 2011-07-15 09:31:37 -0400: > > On 07/15/2011 02:20 PM, Chris Mason wrote: > > > Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: > > >> On 07/15/2011 12:34 PM, Chris Mason wrote: >

Re: Mis-Design of Btrfs?

2011-07-15 Thread Chris Mason
Excerpts from Ric Wheeler's message of 2011-07-15 09:31:37 -0400: > On 07/15/2011 02:20 PM, Chris Mason wrote: > > Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: > >> On 07/15/2011 12:34 PM, Chris Mason wrote: > > [ triggering IO retries on failed crc or other checks ] > > > >>>

Re: Mis-Design of Btrfs?

2011-07-15 Thread Mike Snitzer
On Fri, Jul 15, 2011 at 8:58 AM, Ric Wheeler wrote: > On 07/15/2011 12:34 PM, Chris Mason wrote: >> >> Excerpts from NeilBrown's message of 2011-07-15 02:33:54 -0400: >>> >>> On Thu, 14 Jul 2011 21:58:46 -0700 (PDT) da...@lang.hm wrote: >>> On Thu, 14 Jul 2011, Chris Mason wrote: > E

Re: Mis-Design of Btrfs?

2011-07-15 Thread Ric Wheeler
On 07/15/2011 02:20 PM, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: On 07/15/2011 12:34 PM, Chris Mason wrote: [ triggering IO retries on failed crc or other checks ] But, maybe the whole btrfs model is backwards for a generic layer. Instead of sending

Re: Mis-Design of Btrfs?

2011-07-15 Thread Chris Mason
Excerpts from Ric Wheeler's message of 2011-07-15 08:58:04 -0400: > On 07/15/2011 12:34 PM, Chris Mason wrote: [ triggering IO retries on failed crc or other checks ] > > > > But, maybe the whole btrfs model is backwards for a generic layer. > > Instead of sending down ios and testing when they c

Re: Mis-Design of Btrfs?

2011-07-15 Thread Ric Wheeler
On 07/15/2011 12:34 PM, Chris Mason wrote: Excerpts from NeilBrown's message of 2011-07-15 02:33:54 -0400: On Thu, 14 Jul 2011 21:58:46 -0700 (PDT) da...@lang.hm wrote: On Thu, 14 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-14 02:57:54 -0400: On 07/14/2011 07

Re: Mis-Design of Btrfs?

2011-07-15 Thread Chris Mason
Excerpts from NeilBrown's message of 2011-07-15 02:33:54 -0400: > On Thu, 14 Jul 2011 21:58:46 -0700 (PDT) da...@lang.hm wrote: > > > On Thu, 14 Jul 2011, Chris Mason wrote: > > > > > Excerpts from Ric Wheeler's message of 2011-07-14 02:57:54 -0400: > > >> On 07/14/2011 07:38 AM, NeilBrown wrote:

Re: Mis-Design of Btrfs?

2011-07-14 Thread NeilBrown
On Thu, 14 Jul 2011 21:58:46 -0700 (PDT) da...@lang.hm wrote: > On Thu, 14 Jul 2011, Chris Mason wrote: > > > Excerpts from Ric Wheeler's message of 2011-07-14 02:57:54 -0400: > >> On 07/14/2011 07:38 AM, NeilBrown wrote: > >>> On Thu, 14 Jul 2011 07:02:22 +0100 Ric Wheeler > >>> wrote: > >>> >

Re: Mis-Design of Btrfs?

2011-07-14 Thread david
On Thu, 14 Jul 2011, Chris Mason wrote: Excerpts from Ric Wheeler's message of 2011-07-14 02:57:54 -0400: On 07/14/2011 07:38 AM, NeilBrown wrote: On Thu, 14 Jul 2011 07:02:22 +0100 Ric Wheeler wrote: I'm certainly open to suggestions and collaboration. Do you have in mind any particular w

Re: Mis-Design of Btrfs?

2011-07-14 Thread Chris Mason
Excerpts from Ric Wheeler's message of 2011-07-14 02:57:54 -0400: > On 07/14/2011 07:38 AM, NeilBrown wrote: > > On Thu, 14 Jul 2011 07:02:22 +0100 Ric Wheeler wrote: > > > >>> I'm certainly open to suggestions and collaboration. Do you have in mind > >>> any > >>> particular way to make the int

Re: Mis-Design of Btrfs?

2011-07-14 Thread Erik Jensen
On Thu, Jul 14, 2011 at 12:50 PM, John Stoffel wrote: >> "Alasdair" == Alasdair G Kergon writes: > > Alasdair> On Thu, Jul 14, 2011 at 04:38:36PM +1000, Neil Brown wrote: >>> It might make sense for a device to be able to report what the maximum >>> 'N' supported is... that might make stacke

Re: Mis-Design of Btrfs?

2011-07-14 Thread david
On Thu, 14 Jul 2011, John Stoffel wrote: Alasdair> I'll just say that any solution ought to be stackable. I've been mulling this over too and wondering how you'd handle this, because upper layers really can't peak down into lower layers easily. As far as I understand things. So if you have btr

Re: Mis-Design of Btrfs?

2011-07-14 Thread Erik Jensen
On Wed, Jun 29, 2011 at 3:47 AM, A. James Lewis wrote: > Is there a possibility that one could have a 3 disk RAID5 array, and > then add a 4th disk and then do a balance, growing the RAID5 onto 4 > disks and gaining the space still with RAID5? It seems that to be > consistent, BTRFS would have t

Re: Mis-Design of Btrfs?

2011-07-14 Thread John Stoffel
> "Alasdair" == Alasdair G Kergon writes: Alasdair> On Thu, Jul 14, 2011 at 04:38:36PM +1000, Neil Brown wrote: >> It might make sense for a device to be able to report what the maximum >> 'N' supported is... that might make stacked raid easier to manage... Alasdair> I'll just say that any

Re: Mis-Design of Btrfs?

2011-07-14 Thread Alasdair G Kergon
On Thu, Jul 14, 2011 at 04:38:36PM +1000, Neil Brown wrote: > It might make sense for a device to be able to report what the maximum > 'N' supported is... that might make stacked raid easier to manage... I'll just say that any solution ought to be stackable. This means understanding both that the

Re: Mis-Design of Btrfs?

2011-07-14 Thread Goffredo Baroncelli
On 07/14/2011 08:38 AM, NeilBrown wrote: > On Thu, 14 Jul 2011 07:02:22 +0100 Ric Wheeler wrote: > >>> I'm certainly open to suggestions and collaboration. Do you have in mind >>> any >>> particular way to make the interface richer?? >>> >>> NeilBrown >> >> Hi Neil, >> >> I know that Chris has

Re: Mis-Design of Btrfs?

2011-07-14 Thread NeilBrown
On Thu, 14 Jul 2011 11:37:41 +0200 Jan Schmidt wrote: > Hi Neil, > > On 14.07.2011 08:38, NeilBrown wrote: > > I imagine a new field in 'struct bio' which was normally zero but could be > > some small integer. It is only meaningful for read. > > When 0 it means "get this data way you like". > >

Re: Mis-Design of Btrfs?

2011-07-14 Thread Jan Schmidt
Hi Neil, On 14.07.2011 08:38, NeilBrown wrote: > I imagine a new field in 'struct bio' which was normally zero but could be > some small integer. It is only meaningful for read. > When 0 it means "get this data way you like". > When non-zero it means "get this data using method N", where the diff

Re: Mis-Design of Btrfs?

2011-07-13 Thread Arne Jansen
On 14.07.2011 08:02, Ric Wheeler wrote: On 07/14/2011 06:56 AM, NeilBrown wrote: I'm certainly open to suggestions and collaboration. Do you have in mind any particular way to make the interface richer?? If a file system uses checksumming or other data corruption detection bits, it can detect

Re: Mis-Design of Btrfs?

2011-07-13 Thread Ric Wheeler
On 07/14/2011 07:38 AM, NeilBrown wrote: On Thu, 14 Jul 2011 07:02:22 +0100 Ric Wheeler wrote: I'm certainly open to suggestions and collaboration. Do you have in mind any particular way to make the interface richer?? NeilBrown Hi Neil, I know that Chris has a very specific set of use case

Re: Mis-Design of Btrfs?

2011-07-13 Thread NeilBrown
On Thu, 14 Jul 2011 07:02:22 +0100 Ric Wheeler wrote: > > I'm certainly open to suggestions and collaboration. Do you have in mind > > any > > particular way to make the interface richer?? > > > > NeilBrown > > Hi Neil, > > I know that Chris has a very specific set of use cases for btrfs and

Re: Mis-Design of Btrfs?

2011-07-13 Thread Ric Wheeler
On 07/14/2011 06:56 AM, NeilBrown wrote: On Wed, 29 Jun 2011 10:29:53 +0100 Ric Wheeler wrote: On 06/27/2011 07:46 AM, NeilBrown wrote: On Thu, 23 Jun 2011 12:53:37 +0200 Nico Schottelius wrote: Good morning devs, I'm wondering whether the raid- and volume-management-builtin of btrfs is

Re: Mis-Design of Btrfs?

2011-07-13 Thread NeilBrown
On Wed, 29 Jun 2011 10:29:53 +0100 Ric Wheeler wrote: > On 06/27/2011 07:46 AM, NeilBrown wrote: > > On Thu, 23 Jun 2011 12:53:37 +0200 Nico Schottelius > > wrote: > > > >> Good morning devs, > >> > >> I'm wondering whether the raid- and volume-management-builtin of btrfs is > >> actually a san

Re: Mis-Design of Btrfs?

2011-06-29 Thread A. James Lewis
On Wed, 2011-06-29 at 10:29 +0100, Ric Wheeler wrote: > On 06/27/2011 07:46 AM, NeilBrown wrote: > > On Thu, 23 Jun 2011 12:53:37 +0200 Nico Schottelius > > wrote: > > > >> Good morning devs, > >> > >> I'm wondering whether the raid- and volume-management-builtin of btrfs is > >> actually a sane

Re: Mis-Design of Btrfs?

2011-06-29 Thread Ric Wheeler
On 06/27/2011 07:46 AM, NeilBrown wrote: On Thu, 23 Jun 2011 12:53:37 +0200 Nico Schottelius wrote: Good morning devs, I'm wondering whether the raid- and volume-management-builtin of btrfs is actually a sane idea or not. Currently we do have md/device-mapper support for raid already, btrfs

[nico-lkml-20110...@schottelius.org: Mis-Design of Btrfs?]

2011-06-24 Thread David Sterba
- Forwarded message from Nico Schottelius - To: LKML Date: Thu, 23 Jun 2011 12:53:37 +0200 From: Nico Schottelius Subject: Mis-Design of Btrfs? Good morning devs, I'm wondering whether the raid- and volume-management-builtin of btrfs is actually a sane idea or not. Currently