linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Btrfs-progs: Update man page for mixed data+metadata option.
@ 2010-11-10 18:02 Mitch Harder
  2010-11-11  2:10 ` Josef Bacik
  0 siblings, 1 reply; 12+ messages in thread
From: Mitch Harder @ 2010-11-10 18:02 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Mitch Harder

Update the mkfs.btrfs man page for the -M option to mix data and
metadata chunks.

Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
---
 man/mkfs.btrfs.8.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in
index 1e14c6c..c23dddc 100644
--- a/man/mkfs.btrfs.8.in
+++ b/man/mkfs.btrfs.8.in
@@ -9,6 +9,7 @@ mkfs.btrfs \- create an btrfs filesystem
 [ \fB \-l\fP\fI leafsize\fP ]
 [ \fB \-L\fP\fI label\fP ]
 [ \fB \-m\fP\fI metadata profile\fP ]
+[ \fB \-M\fP\fI mixed data+metadata\fP ]
 [ \fB \-n\fP\fI nodesize\fP ]
 [ \fB \-s\fP\fI sectorsize\fP ]
 [ \fB \-h\fP ]
@@ -45,6 +46,10 @@ Specify a label for the filesystem.
 Specify how metadata must be spanned across the devices specified. Valid
 values are raid0, raid1, raid10 or single.
 .TP
+\fB\-M\fR, \fB\-\-mixed\fR
+Mix data and metadata chunks together for more efficient space 
+utilization.
+.TP
 \fB\-n\fR, \fB\-\-nodesize \fIsize\fR
 Specify the nodesize. By default the value is set to the pagesize.
 .TP
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-10 18:02 Btrfs-progs: Update man page for mixed data+metadata option Mitch Harder
@ 2010-11-11  2:10 ` Josef Bacik
  2010-11-11  3:53   ` Mitch Harder
  0 siblings, 1 reply; 12+ messages in thread
From: Josef Bacik @ 2010-11-11  2:10 UTC (permalink / raw)
  To: Mitch Harder; +Cc: linux-btrfs

On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote:
> Update the mkfs.btrfs man page for the -M option to mix data and
> metadata chunks.
> 
> Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
> ---
>  man/mkfs.btrfs.8.in |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in
> index 1e14c6c..c23dddc 100644
> --- a/man/mkfs.btrfs.8.in
> +++ b/man/mkfs.btrfs.8.in
> @@ -9,6 +9,7 @@ mkfs.btrfs \- create an btrfs filesystem
>  [ \fB \-l\fP\fI leafsize\fP ]
>  [ \fB \-L\fP\fI label\fP ]
>  [ \fB \-m\fP\fI metadata profile\fP ]
> +[ \fB \-M\fP\fI mixed data+metadata\fP ]
>  [ \fB \-n\fP\fI nodesize\fP ]
>  [ \fB \-s\fP\fI sectorsize\fP ]
>  [ \fB \-h\fP ]
> @@ -45,6 +46,10 @@ Specify a label for the filesystem.
>  Specify how metadata must be spanned across the devices specified. Valid
>  values are raid0, raid1, raid10 or single.
>  .TP
> +\fB\-M\fR, \fB\-\-mixed\fR
> +Mix data and metadata chunks together for more efficient space 
> +utilization.
> +.TP
>  \fB\-n\fR, \fB\-\-nodesize \fIsize\fR
>  Specify the nodesize. By default the value is set to the pagesize.
>  .TP
> -- 
> 1.7.2.2

Let's mention that it's for smaller filesystems since it has a significant
performance impact when using mixed block groups on larger filesystems.  Thanks,

Josef

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-11  2:10 ` Josef Bacik
@ 2010-11-11  3:53   ` Mitch Harder
  2010-11-11  3:59     ` C Anthony Risinger
  2010-11-11 12:52     ` Josef Bacik
  0 siblings, 2 replies; 12+ messages in thread
From: Mitch Harder @ 2010-11-11  3:53 UTC (permalink / raw)
  To: Josef Bacik, linux-btrfs

On Wed, Nov 10, 2010 at 8:10 PM, Josef Bacik <josef@redhat.com> wrote:
> On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote:
>> Update the mkfs.btrfs man page for the -M option to mix data and
>> metadata chunks.
>>
>> Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
>> ---
>> =A0man/mkfs.btrfs.8.in | =A0 =A05 +++++
>> =A01 files changed, 5 insertions(+), 0 deletions(-)
>>
>> diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in
>> index 1e14c6c..c23dddc 100644
>> --- a/man/mkfs.btrfs.8.in
>> +++ b/man/mkfs.btrfs.8.in
>> @@ -9,6 +9,7 @@ mkfs.btrfs \- create an btrfs filesystem
>> =A0[ \fB \-l\fP\fI leafsize\fP ]
>> =A0[ \fB \-L\fP\fI label\fP ]
>> =A0[ \fB \-m\fP\fI metadata profile\fP ]
>> +[ \fB \-M\fP\fI mixed data+metadata\fP ]
>> =A0[ \fB \-n\fP\fI nodesize\fP ]
>> =A0[ \fB \-s\fP\fI sectorsize\fP ]
>> =A0[ \fB \-h\fP ]
>> @@ -45,6 +46,10 @@ Specify a label for the filesystem.
>> =A0Specify how metadata must be spanned across the devices specified=
=2E Valid
>> =A0values are raid0, raid1, raid10 or single.
>> =A0.TP
>> +\fB\-M\fR, \fB\-\-mixed\fR
>> +Mix data and metadata chunks together for more efficient space
>> +utilization.
>> +.TP
>> =A0\fB\-n\fR, \fB\-\-nodesize \fIsize\fR
>> =A0Specify the nodesize. By default the value is set to the pagesize=
=2E
>> =A0.TP
>> --
>> 1.7.2.2
>
> Let's mention that it's for smaller filesystems since it has a signif=
icant
> performance impact when using mixed block groups on larger filesystem=
s. =A0Thanks,
>
> Josef
>

OK, how about:

Mix data and metadata chunks together for more efficient space
utilization, especially on smaller file systems.  Incurs a performance
penalty.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-11  3:53   ` Mitch Harder
@ 2010-11-11  3:59     ` C Anthony Risinger
  2010-11-11 12:52     ` Josef Bacik
  1 sibling, 0 replies; 12+ messages in thread
From: C Anthony Risinger @ 2010-11-11  3:59 UTC (permalink / raw)
  To: Mitch Harder; +Cc: Josef Bacik, linux-btrfs

On Wed, Nov 10, 2010 at 9:53 PM, Mitch Harder
<mitch.harder@sabayonlinux.org> wrote:
> On Wed, Nov 10, 2010 at 8:10 PM, Josef Bacik <josef@redhat.com> wrote=
:
>> On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote:
>>> Update the mkfs.btrfs man page for the -M option to mix data and
>>> metadata chunks.
>>>
>>> Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
>>> ---
>>> =A0man/mkfs.btrfs.8.in | =A0 =A05 +++++
>>> =A01 files changed, 5 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in
>>> index 1e14c6c..c23dddc 100644
>>> --- a/man/mkfs.btrfs.8.in
>>> +++ b/man/mkfs.btrfs.8.in
>>> @@ -9,6 +9,7 @@ mkfs.btrfs \- create an btrfs filesystem
>>> =A0[ \fB \-l\fP\fI leafsize\fP ]
>>> =A0[ \fB \-L\fP\fI label\fP ]
>>> =A0[ \fB \-m\fP\fI metadata profile\fP ]
>>> +[ \fB \-M\fP\fI mixed data+metadata\fP ]
>>> =A0[ \fB \-n\fP\fI nodesize\fP ]
>>> =A0[ \fB \-s\fP\fI sectorsize\fP ]
>>> =A0[ \fB \-h\fP ]
>>> @@ -45,6 +46,10 @@ Specify a label for the filesystem.
>>> =A0Specify how metadata must be spanned across the devices specifie=
d. Valid
>>> =A0values are raid0, raid1, raid10 or single.
>>> =A0.TP
>>> +\fB\-M\fR, \fB\-\-mixed\fR
>>> +Mix data and metadata chunks together for more efficient space
>>> +utilization.
>>> +.TP
>>> =A0\fB\-n\fR, \fB\-\-nodesize \fIsize\fR
>>> =A0Specify the nodesize. By default the value is set to the pagesiz=
e.
>>> =A0.TP
>>> --
>>> 1.7.2.2
>>
>> Let's mention that it's for smaller filesystems since it has a signi=
ficant
>> performance impact when using mixed block groups on larger filesyste=
ms. =A0Thanks,
>>
>> Josef
>>
>
> OK, how about:
>
> Mix data and metadata chunks together for more efficient space
> utilization, especially on smaller file systems. =A0Incurs a performa=
nce
> penalty.

in a previous message, Josef had mentioned it was specifically for
<1GB _only_...

if so, wording should probably make it perfectly clear that the option
is totally inappropriate for _anybody_ unless you meet
specific/special criteria.

something like DANGER DANGER WILL ROBINSON :-) unless i'm mistaken of c=
ourse.

C Anthony
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-11  3:53   ` Mitch Harder
  2010-11-11  3:59     ` C Anthony Risinger
@ 2010-11-11 12:52     ` Josef Bacik
  2010-11-12  6:47       ` Chris Samuel
  1 sibling, 1 reply; 12+ messages in thread
From: Josef Bacik @ 2010-11-11 12:52 UTC (permalink / raw)
  To: Mitch Harder; +Cc: Josef Bacik, linux-btrfs

On Wed, Nov 10, 2010 at 09:53:23PM -0600, Mitch Harder wrote:
> On Wed, Nov 10, 2010 at 8:10 PM, Josef Bacik <josef@redhat.com> wrote=
:
> > On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote:
> >> Update the mkfs.btrfs man page for the -M option to mix data and
> >> metadata chunks.
> >>
> >> Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
> >> ---
> >> =A0man/mkfs.btrfs.8.in | =A0 =A05 +++++
> >> =A01 files changed, 5 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in
> >> index 1e14c6c..c23dddc 100644
> >> --- a/man/mkfs.btrfs.8.in
> >> +++ b/man/mkfs.btrfs.8.in
> >> @@ -9,6 +9,7 @@ mkfs.btrfs \- create an btrfs filesystem
> >> =A0[ \fB \-l\fP\fI leafsize\fP ]
> >> =A0[ \fB \-L\fP\fI label\fP ]
> >> =A0[ \fB \-m\fP\fI metadata profile\fP ]
> >> +[ \fB \-M\fP\fI mixed data+metadata\fP ]
> >> =A0[ \fB \-n\fP\fI nodesize\fP ]
> >> =A0[ \fB \-s\fP\fI sectorsize\fP ]
> >> =A0[ \fB \-h\fP ]
> >> @@ -45,6 +46,10 @@ Specify a label for the filesystem.
> >> =A0Specify how metadata must be spanned across the devices specifi=
ed. Valid
> >> =A0values are raid0, raid1, raid10 or single.
> >> =A0.TP
> >> +\fB\-M\fR, \fB\-\-mixed\fR
> >> +Mix data and metadata chunks together for more efficient space
> >> +utilization.
> >> +.TP
> >> =A0\fB\-n\fR, \fB\-\-nodesize \fIsize\fR
> >> =A0Specify the nodesize. By default the value is set to the pagesi=
ze.
> >> =A0.TP
> >> --
> >> 1.7.2.2
> >
> > Let's mention that it's for smaller filesystems since it has a sign=
ificant
> > performance impact when using mixed block groups on larger filesyst=
ems. =A0Thanks,
> >
> > Josef
> >
>=20
> OK, how about:
>=20
> Mix data and metadata chunks together for more efficient space
> utilization, especially on smaller file systems.  Incurs a performanc=
e
> penalty.

Let's say

This feature incurs a performance penalty in larger filesystems, it is
recommended for use with filesystems of 1 GiB or smaller.

Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-11 12:52     ` Josef Bacik
@ 2010-11-12  6:47       ` Chris Samuel
  2010-11-12  7:41         ` Josef Bacik
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Samuel @ 2010-11-12  6:47 UTC (permalink / raw)
  To: Josef Bacik; +Cc: Mitch Harder, linux-btrfs

On 11/11/10 23:52, Josef Bacik wrote:

> This feature incurs a performance penalty in larger filesystems, it is
> recommended for use with filesystems of 1 GiB or smaller.

Maybe slightly stronger, for example:

This feature incurs a performance penalty for larger filesystems and it
is ONLY recommended for use with filesystems of 1 GiB or smaller.

Is it worth having a check and a warning printed if a user does
try and make a filesystem larger than 1GiB with this option ?

Just in case they don't RTFM...

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-12  6:47       ` Chris Samuel
@ 2010-11-12  7:41         ` Josef Bacik
  2010-11-12 10:44           ` Mike Fedyk
  0 siblings, 1 reply; 12+ messages in thread
From: Josef Bacik @ 2010-11-12  7:41 UTC (permalink / raw)
  To: Chris Samuel; +Cc: Josef Bacik, Mitch Harder, linux-btrfs

On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote:
> On 11/11/10 23:52, Josef Bacik wrote:
> 
> > This feature incurs a performance penalty in larger filesystems, it is
> > recommended for use with filesystems of 1 GiB or smaller.
> 
> Maybe slightly stronger, for example:
> 
> This feature incurs a performance penalty for larger filesystems and it
> is ONLY recommended for use with filesystems of 1 GiB or smaller.
> 
> Is it worth having a check and a warning printed if a user does
> try and make a filesystem larger than 1GiB with this option ?
> 
> Just in case they don't RTFM...
>

No because depending on your usage it's actually kind of usefull for anything
less than 5 GiB, and you're only looking at about a 5-10% perf degredation when
using it on larger filesystems.  Thanks,

Josef 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-12  7:41         ` Josef Bacik
@ 2010-11-12 10:44           ` Mike Fedyk
  2010-11-12 14:28             ` Marek Otahal
  2010-11-12 15:59             ` Mitch Harder
  0 siblings, 2 replies; 12+ messages in thread
From: Mike Fedyk @ 2010-11-12 10:44 UTC (permalink / raw)
  To: Josef Bacik; +Cc: Chris Samuel, Mitch Harder, linux-btrfs

On Thu, Nov 11, 2010 at 11:41 PM, Josef Bacik <josef@redhat.com> wrote:
> On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote:
>> On 11/11/10 23:52, Josef Bacik wrote:
>>
>> > This feature incurs a performance penalty in larger filesystems, i=
t is
>> > recommended for use with filesystems of 1 GiB or smaller.
>>
>> Maybe slightly stronger, for example:
>>
>> This feature incurs a performance penalty for larger filesystems and=
 it
>> is ONLY recommended for use with filesystems of 1 GiB or smaller.
>>
>> Is it worth having a check and a warning printed if a user does
>> try and make a filesystem larger than 1GiB with this option ?
>>
>> Just in case they don't RTFM...
>>
>
> No because depending on your usage it's actually kind of usefull for =
anything
> less than 5 GiB, and you're only looking at about a 5-10% perf degred=
ation when
> using it on larger filesystems. =C2=A0Thanks,
>

Then a warning of 10% slowdown if > 10GB would be good.  It's
surprising how many will just read some forum post and not concern
themselves with the docs at all.

And making them type "yes" if > 100GB is probably a good idea too...
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-12 10:44           ` Mike Fedyk
@ 2010-11-12 14:28             ` Marek Otahal
  2010-11-12 16:56               ` Mike Fedyk
  2010-11-12 15:59             ` Mitch Harder
  1 sibling, 1 reply; 12+ messages in thread
From: Marek Otahal @ 2010-11-12 14:28 UTC (permalink / raw)
  To: linux-btrfs

On Friday 12 of November 2010 18:44:12 you wrote:
> On Thu, Nov 11, 2010 at 11:41 PM, Josef Bacik <josef@redhat.com> wrote:
> > On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote:
> >> On 11/11/10 23:52, Josef Bacik wrote:
> >> > This feature incurs a performance penalty in larger filesystems, it is
> >> > recommended for use with filesystems of 1 GiB or smaller.
> >> 
> >> Maybe slightly stronger, for example:
> >> 
> >> This feature incurs a performance penalty for larger filesystems and it
> >> is ONLY recommended for use with filesystems of 1 GiB or smaller.
> >> 
> >> Is it worth having a check and a warning printed if a user does
> >> try and make a filesystem larger than 1GiB with this option ?
> >> 
> >> Just in case they don't RTFM...
> > 
> > No because depending on your usage it's actually kind of usefull for
> > anything less than 5 GiB, and you're only looking at about a 5-10% perf
> > degredation when using it on larger filesystems.  Thanks,
> 
> Then a warning of 10% slowdown if > 10GB would be good.  It's
> surprising how many will just read some forum post and not concern
> themselves with the docs at all.
> 
> And making them type "yes" if > 100GB is probably a good idea too...
My 2c: I'm against bloating the program just because of people who don't RTFM. 
Just mention it clearly in docs and that's enough, linux does what it's asked 
for, not the "Are you really really sure you want to do this?" known from some 
other OS. Anyway, btrfs-progs would be probably run by a user with root 
privileges and such should be aware of what actions they do, or read the man 
page. My opinion. 
Cheers, Mark

-- 

Marek Otahal :o)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-12 10:44           ` Mike Fedyk
  2010-11-12 14:28             ` Marek Otahal
@ 2010-11-12 15:59             ` Mitch Harder
  1 sibling, 0 replies; 12+ messages in thread
From: Mitch Harder @ 2010-11-12 15:59 UTC (permalink / raw)
  To: Mike Fedyk; +Cc: Josef Bacik, Chris Samuel, linux-btrfs

On Fri, Nov 12, 2010 at 4:44 AM, Mike Fedyk <mfedyk@mikefedyk.com> wrot=
e:
> On Thu, Nov 11, 2010 at 11:41 PM, Josef Bacik <josef@redhat.com> wrot=
e:
>> On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote:
>>> On 11/11/10 23:52, Josef Bacik wrote:
>>>
>>> > This feature incurs a performance penalty in larger filesystems, =
it is
>>> > recommended for use with filesystems of 1 GiB or smaller.
>>>
>>> Maybe slightly stronger, for example:
>>>
>>> This feature incurs a performance penalty for larger filesystems an=
d it
>>> is ONLY recommended for use with filesystems of 1 GiB or smaller.
>>>
>>> Is it worth having a check and a warning printed if a user does
>>> try and make a filesystem larger than 1GiB with this option ?
>>>
>>> Just in case they don't RTFM...
>>>
>>
>> No because depending on your usage it's actually kind of usefull for=
 anything
>> less than 5 GiB, and you're only looking at about a 5-10% perf degre=
dation when
>> using it on larger filesystems. =A0Thanks,
>>
>
> Then a warning of 10% slowdown if > 10GB would be good. =A0It's
> surprising how many will just read some forum post and not concern
> themselves with the docs at all.
>
> And making them type "yes" if > 100GB is probably a good idea too...
>

Just for clarification, you'll probably see a ~5-10% slowdown for any
size partition, not just "if > 10 GB"

But for smaller filesystems (~<5 GiB), you may want to accept the
performance penalty for more efficient disk space utilization.

=46or really small filesystems (~<1 GiB), using Btrfs defaults can
really start to impact on space utilization.  So the parent
data+metadata patch currently forces the data+metadata option on <1
GiB.

The Wiki is probably a better place for more extensive discussion of
the merits and trade-offs of this option.

The user still needs to actively "opt-in" to this option (unless their
partition is < GiB), and the man page will indicate a performance
penalty is incurred.

=46or something as important as changing your filesystem default
settings, it seems fair to expect the user has done their homework
when changing from the default setting.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-12 14:28             ` Marek Otahal
@ 2010-11-12 16:56               ` Mike Fedyk
  2010-11-15 16:28                 ` Mitch Harder
  0 siblings, 1 reply; 12+ messages in thread
From: Mike Fedyk @ 2010-11-12 16:56 UTC (permalink / raw)
  To: Marek Otahal; +Cc: linux-btrfs

On Fri, Nov 12, 2010 at 6:28 AM, Marek Otahal <markotahal@gmail.com> wr=
ote:
> On Friday 12 of November 2010 18:44:12 you wrote:
>> On Thu, Nov 11, 2010 at 11:41 PM, Josef Bacik <josef@redhat.com> wro=
te:
>> > On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote:
>> >> On 11/11/10 23:52, Josef Bacik wrote:
>> >> > This feature incurs a performance penalty in larger filesystems=
, it is
>> >> > recommended for use with filesystems of 1 GiB or smaller.
>> >>
>> >> Maybe slightly stronger, for example:
>> >>
>> >> This feature incurs a performance penalty for larger filesystems =
and it
>> >> is ONLY recommended for use with filesystems of 1 GiB or smaller.
>> >>
>> >> Is it worth having a check and a warning printed if a user does
>> >> try and make a filesystem larger than 1GiB with this option ?
>> >>
>> >> Just in case they don't RTFM...
>> >
>> > No because depending on your usage it's actually kind of usefull f=
or
>> > anything less than 5 GiB, and you're only looking at about a 5-10%=
 perf
>> > degredation when using it on larger filesystems. =C2=A0Thanks,
>>
>> Then a warning of 10% slowdown if > 10GB would be good. =C2=A0It's
>> surprising how many will just read some forum post and not concern
>> themselves with the docs at all.
>>
>> And making them type "yes" if > 100GB is probably a good idea too...
> My 2c: I'm against bloating the program just because of people who do=
n't RTFM.
> Just mention it clearly in docs and that's enough, linux does what it=
's asked
> for, not the "Are you really really sure you want to do this?" known =
from some
> other OS. Anyway, btrfs-progs would be probably run by a user with ro=
ot

I was thinking of what ssh does when it sees a changed key...
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Btrfs-progs: Update man page for mixed data+metadata option.
  2010-11-12 16:56               ` Mike Fedyk
@ 2010-11-15 16:28                 ` Mitch Harder
  0 siblings, 0 replies; 12+ messages in thread
From: Mitch Harder @ 2010-11-15 16:28 UTC (permalink / raw)
  To: Mike Fedyk; +Cc: Marek Otahal, linux-btrfs

On Fri, Nov 12, 2010 at 10:56 AM, Mike Fedyk <mfedyk@mikefedyk.com> wro=
te:
> On Fri, Nov 12, 2010 at 6:28 AM, Marek Otahal <markotahal@gmail.com> =
wrote:
>> On Friday 12 of November 2010 18:44:12 you wrote:
>>> On Thu, Nov 11, 2010 at 11:41 PM, Josef Bacik <josef@redhat.com> wr=
ote:
>>> > On Fri, Nov 12, 2010 at 05:47:14PM +1100, Chris Samuel wrote:
>>> >> On 11/11/10 23:52, Josef Bacik wrote:
>>> >> > This feature incurs a performance penalty in larger filesystem=
s, it is
>>> >> > recommended for use with filesystems of 1 GiB or smaller.
>>> >>
>>> >> Maybe slightly stronger, for example:
>>> >>
>>> >> This feature incurs a performance penalty for larger filesystems=
 and it
>>> >> is ONLY recommended for use with filesystems of 1 GiB or smaller=
=2E
>>> >>
>>> >> Is it worth having a check and a warning printed if a user does
>>> >> try and make a filesystem larger than 1GiB with this option ?
>>> >>
>>> >> Just in case they don't RTFM...
>>> >
>>> > No because depending on your usage it's actually kind of usefull =
for
>>> > anything less than 5 GiB, and you're only looking at about a 5-10=
% perf
>>> > degredation when using it on larger filesystems. =A0Thanks,
>>>
>>> Then a warning of 10% slowdown if > 10GB would be good. =A0It's
>>> surprising how many will just read some forum post and not concern
>>> themselves with the docs at all.
>>>
>>> And making them type "yes" if > 100GB is probably a good idea too..=
=2E
>> My 2c: I'm against bloating the program just because of people who d=
on't RTFM.
>> Just mention it clearly in docs and that's enough, linux does what i=
t's asked
>> for, not the "Are you really really sure you want to do this?" known=
 from some
>> other OS. Anyway, btrfs-progs would be probably run by a user with r=
oot
>
> I was thinking of what ssh does when it sees a changed key...
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs=
" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at =A0http://vger.kernel.org/majordomo-info.html
>

Thanks for the input everybody.

=46or now, I'm going to leave the man page entry relatively simple to
stay consistent with the level of information provided by the other
switches.

I'll submit the updated patch in a fresh post to the M/L.

I see a lot of activity in patch submissions for btrfs-progs, so if
anybody would like me to rework this patch or the parent patch on
implementing data+metadata in btrfs-progs for any reason, let me know.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-11-15 16:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-10 18:02 Btrfs-progs: Update man page for mixed data+metadata option Mitch Harder
2010-11-11  2:10 ` Josef Bacik
2010-11-11  3:53   ` Mitch Harder
2010-11-11  3:59     ` C Anthony Risinger
2010-11-11 12:52     ` Josef Bacik
2010-11-12  6:47       ` Chris Samuel
2010-11-12  7:41         ` Josef Bacik
2010-11-12 10:44           ` Mike Fedyk
2010-11-12 14:28             ` Marek Otahal
2010-11-12 16:56               ` Mike Fedyk
2010-11-15 16:28                 ` Mitch Harder
2010-11-12 15:59             ` Mitch Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).