public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
@ 2009-07-07 15:37 John Stoffel
  0 siblings, 0 replies; 10+ messages in thread
From: John Stoffel @ 2009-07-07 15:37 UTC (permalink / raw)
  To: linux-scsi; +Cc: linux-kernel, John Stoffel

Signed-off-by: John Stoffel <john@stoffel.org>
---
 block/Kconfig |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index e7d1278..55bbefc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -45,9 +45,9 @@ config LBD
 	  If unsure, say N.
 
 config BLK_DEV_BSG
-	bool "Block layer SG support v4 (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
-	---help---
+	bool "Block layer SG support v4"
+	default y
+	help
 	  Saying Y here will enable generic SG (SCSI generic) v4 support
 	  for any block device.
 
@@ -57,7 +57,10 @@ config BLK_DEV_BSG
 	  protocols (e.g. Task Management Functions and SMP in Serial
 	  Attached SCSI).
 
-	  If unsure, say N.
+	  This option is required by recent UDEV versions to properly 
+	  access device serial numbers, etc.
+
+	  If unsure, say Y.
 
 config BLK_DEV_INTEGRITY
 	bool "Block layer data integrity support"
-- 
1.6.3.3


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

* [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
@ 2009-07-07 15:44 John Stoffel
  0 siblings, 0 replies; 10+ messages in thread
From: John Stoffel @ 2009-07-07 15:44 UTC (permalink / raw)
  To: linux-scsi; +Cc: linux-kernel, John Stoffel

Signed-off-by: John Stoffel <john@stoffel.org>
---
 block/Kconfig |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index e7d1278..55bbefc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -45,9 +45,9 @@ config LBD
 	  If unsure, say N.
 
 config BLK_DEV_BSG
-	bool "Block layer SG support v4 (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
-	---help---
+	bool "Block layer SG support v4"
+	default y
+	help
 	  Saying Y here will enable generic SG (SCSI generic) v4 support
 	  for any block device.
 
@@ -57,7 +57,10 @@ config BLK_DEV_BSG
 	  protocols (e.g. Task Management Functions and SMP in Serial
 	  Attached SCSI).
 
-	  If unsure, say N.
+	  This option is required by recent UDEV versions to properly 
+	  access device serial numbers, etc.
+
+	  If unsure, say Y.
 
 config BLK_DEV_INTEGRITY
 	bool "Block layer data integrity support"
-- 
1.6.3.3


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

* [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
@ 2009-07-13 19:39 John Stoffel
  2009-07-13 19:43 ` John Stoffel
  0 siblings, 1 reply; 10+ messages in thread
From: John Stoffel @ 2009-07-13 19:39 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, linux-kernel, John Stoffel

Signed-off-by: John Stoffel <john@stoffel.org>
---
 block/Kconfig |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index e7d1278..55bbefc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -45,9 +45,9 @@ config LBD
 	  If unsure, say N.
 
 config BLK_DEV_BSG
-	bool "Block layer SG support v4 (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
-	---help---
+	bool "Block layer SG support v4"
+	default y
+	help
 	  Saying Y here will enable generic SG (SCSI generic) v4 support
 	  for any block device.
 
@@ -57,7 +57,10 @@ config BLK_DEV_BSG
 	  protocols (e.g. Task Management Functions and SMP in Serial
 	  Attached SCSI).
 
-	  If unsure, say N.
+	  This option is required by recent UDEV versions to properly 
+	  access device serial numbers, etc.
+
+	  If unsure, say Y.
 
 config BLK_DEV_INTEGRITY
 	bool "Block layer data integrity support"
-- 
1.6.3.3


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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-13 19:39 [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG John Stoffel
@ 2009-07-13 19:43 ` John Stoffel
  2009-07-14  6:38   ` Boaz Harrosh
  0 siblings, 1 reply; 10+ messages in thread
From: John Stoffel @ 2009-07-13 19:43 UTC (permalink / raw)
  To: John Stoffel; +Cc: James.Bottomley, linux-scsi, linux-kernel

>>>>> "John" == John Stoffel <john@stoffel.org> writes:

Dammit, I messed up here sending this patch.  I've just edited the
subject line and re-sent it with a bit more description.  I think this
patch is perfectly good to go into 2.6.31 right now, esp since it's
not changing code, just whether the code is turned on by default from
now on.

Thanks,
John


John> Signed-off-by: John Stoffel <john@stoffel.org>
John> ---
John>  block/Kconfig |   11 +++++++----
John>  1 files changed, 7 insertions(+), 4 deletions(-)

John> diff --git a/block/Kconfig b/block/Kconfig
John> index e7d1278..55bbefc 100644
John> --- a/block/Kconfig
John> +++ b/block/Kconfig
John> @@ -45,9 +45,9 @@ config LBD
John>  	  If unsure, say N.
 
John>  config BLK_DEV_BSG
John> -	bool "Block layer SG support v4 (EXPERIMENTAL)"
John> -	depends on EXPERIMENTAL
John> -	---help---
John> +	bool "Block layer SG support v4"
John> +	default y
John> +	help
John>  	  Saying Y here will enable generic SG (SCSI generic) v4 support
John>  	  for any block device.
 
John> @@ -57,7 +57,10 @@ config BLK_DEV_BSG
John>  	  protocols (e.g. Task Management Functions and SMP in Serial
John>  	  Attached SCSI).
 
John> -	  If unsure, say N.
John> +	  This option is required by recent UDEV versions to properly 
John> +	  access device serial numbers, etc.
John> +
John> +	  If unsure, say Y.
 
John>  config BLK_DEV_INTEGRITY
John>  	bool "Block layer data integrity support"
John> -- 
John> 1.6.3.3

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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-13 19:43 ` John Stoffel
@ 2009-07-14  6:38   ` Boaz Harrosh
  2009-07-14 13:16     ` John Stoffel
  2009-07-14 13:29     ` James Bottomley
  0 siblings, 2 replies; 10+ messages in thread
From: Boaz Harrosh @ 2009-07-14  6:38 UTC (permalink / raw)
  To: John Stoffel; +Cc: James.Bottomley, linux-scsi, linux-kernel, stable

On 07/13/2009 10:43 PM, John Stoffel wrote:
>>>>>> "John" == John Stoffel <john@stoffel.org> writes:
> 
> Dammit, I messed up here sending this patch.  I've just edited the
> subject line and re-sent it with a bit more description.  I think this
> patch is perfectly good to go into 2.6.31 right now, esp since it's
> not changing code, just whether the code is turned on by default from
> now on.
> 

I would like it if you'd also CC stable@kernel.org on this patch. As this
condition is already true for distros in the field.

[Though distros have enabled it for years and every one is using the distro's
 .config when compiling their own Kernel, right?]

> Thanks,
> John
> 
> 

Thanks
Boaz

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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-14  6:38   ` Boaz Harrosh
@ 2009-07-14 13:16     ` John Stoffel
  2009-07-14 13:29     ` James Bottomley
  1 sibling, 0 replies; 10+ messages in thread
From: John Stoffel @ 2009-07-14 13:16 UTC (permalink / raw)
  To: Boaz Harrosh
  Cc: John Stoffel, James.Bottomley, linux-scsi, linux-kernel, stable

>>>>> "Boaz" == Boaz Harrosh <bharrosh@panasas.com> writes:

Boaz> I would like it if you'd also CC stable@kernel.org on this
Boaz> patch. As this condition is already true for distros in the
Boaz> field.

I can resend it with that CC, no problem.  It's a good experience to
learn git and how to use it properly.

Boaz> [Though distros have enabled it for years and every one is using
Boaz>  the distro's .config when compiling their own Kernel, right?]

Umm, no.  My main machine for the past six or seven years is Debian
based, and came from the 2.4 era of kernels and has been patched and
upgraded for years by hand.  Lots of 'atp-get update'.  Whcih works
well.  So I've also compiled my own kernels.

The real reason for this patch was finally figuring out that Udev
really really really wants this turned on, but doesn't mention it in
any of it's documentation.  So I'm working to update both sides, and
have UDEV mention that it needs this feature, and making the kernel
turn it on by default too.

I'll resend the patch in a few.

John

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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-14  6:38   ` Boaz Harrosh
  2009-07-14 13:16     ` John Stoffel
@ 2009-07-14 13:29     ` James Bottomley
  2009-07-14 14:12       ` Boaz Harrosh
  2009-07-14 16:06       ` John Stoffel
  1 sibling, 2 replies; 10+ messages in thread
From: James Bottomley @ 2009-07-14 13:29 UTC (permalink / raw)
  To: Boaz Harrosh; +Cc: John Stoffel, linux-scsi, linux-kernel, stable

On Tue, 2009-07-14 at 09:38 +0300, Boaz Harrosh wrote:
> On 07/13/2009 10:43 PM, John Stoffel wrote:
> >>>>>> "John" == John Stoffel <john@stoffel.org> writes:
> > 
> > Dammit, I messed up here sending this patch.  I've just edited the
> > subject line and re-sent it with a bit more description.  I think this
> > patch is perfectly good to go into 2.6.31 right now, esp since it's
> > not changing code, just whether the code is turned on by default from
> > now on.
> > 
> 
> I would like it if you'd also CC stable@kernel.org on this patch. As this
> condition is already true for distros in the field.

The stable tree is for bug *fixes*.   Moving an option out from under
experimental is basically an enhancement, even if it could be argued it
should have been done long ago.

James



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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-14 13:29     ` James Bottomley
@ 2009-07-14 14:12       ` Boaz Harrosh
  2009-07-14 14:22         ` James Bottomley
  2009-07-14 16:06       ` John Stoffel
  1 sibling, 1 reply; 10+ messages in thread
From: Boaz Harrosh @ 2009-07-14 14:12 UTC (permalink / raw)
  To: James Bottomley; +Cc: John Stoffel, linux-scsi, linux-kernel, stable

On 07/14/2009 04:29 PM, James Bottomley wrote:
> On Tue, 2009-07-14 at 09:38 +0300, Boaz Harrosh wrote:
>> On 07/13/2009 10:43 PM, John Stoffel wrote:
>>>>>>>> "John" == John Stoffel <john@stoffel.org> writes:
>>> Dammit, I messed up here sending this patch.  I've just edited the
>>> subject line and re-sent it with a bit more description.  I think this
>>> patch is perfectly good to go into 2.6.31 right now, esp since it's
>>> not changing code, just whether the code is turned on by default from
>>> now on.
>>>
>> I would like it if you'd also CC stable@kernel.org on this patch. As this
>> condition is already true for distros in the field.
> 
> The stable tree is for bug *fixes*.   Moving an option out from under
> experimental is basically an enhancement, even if it could be argued it
> should have been done long ago.
> 

wouldn't you consider it a bug if a low-level plumbing like Udev is shipped
with hard dependency on it?

if Udev was part of Kconfig it would have a "depend" on bsg. But because
it's a different product it can only rely on defaults?

> James
> 
> 

Thanks
Boaz

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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-14 14:12       ` Boaz Harrosh
@ 2009-07-14 14:22         ` James Bottomley
  0 siblings, 0 replies; 10+ messages in thread
From: James Bottomley @ 2009-07-14 14:22 UTC (permalink / raw)
  To: Boaz Harrosh; +Cc: John Stoffel, linux-scsi, linux-kernel, stable

On Tue, 2009-07-14 at 17:12 +0300, Boaz Harrosh wrote:
> On 07/14/2009 04:29 PM, James Bottomley wrote:
> > On Tue, 2009-07-14 at 09:38 +0300, Boaz Harrosh wrote:
> >> On 07/13/2009 10:43 PM, John Stoffel wrote:
> >>>>>>>> "John" == John Stoffel <john@stoffel.org> writes:
> >>> Dammit, I messed up here sending this patch.  I've just edited the
> >>> subject line and re-sent it with a bit more description.  I think this
> >>> patch is perfectly good to go into 2.6.31 right now, esp since it's
> >>> not changing code, just whether the code is turned on by default from
> >>> now on.
> >>>
> >> I would like it if you'd also CC stable@kernel.org on this patch. As this
> >> condition is already true for distros in the field.
> > 
> > The stable tree is for bug *fixes*.   Moving an option out from under
> > experimental is basically an enhancement, even if it could be argued it
> > should have been done long ago.
> > 
> 
> wouldn't you consider it a bug if a low-level plumbing like Udev is shipped
> with hard dependency on it?

Sure .. file a bug with udev ...

The point is that if you use a feature marked "Experimental, do not use"
it's not a bug in the provider if you use it.

Arguably, all this really shows is that the distros ignore EXPERIMENTAL,
so it's not really serving a useful purpose in the kernel.

> if Udev was part of Kconfig it would have a "depend" on bsg. But because
> it's a different product it can only rely on defaults?

James



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

* Re: [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
  2009-07-14 13:29     ` James Bottomley
  2009-07-14 14:12       ` Boaz Harrosh
@ 2009-07-14 16:06       ` John Stoffel
  1 sibling, 0 replies; 10+ messages in thread
From: John Stoffel @ 2009-07-14 16:06 UTC (permalink / raw)
  To: James Bottomley
  Cc: Boaz Harrosh, John Stoffel, linux-scsi, linux-kernel, stable

>>>>> "James" == James Bottomley <James.Bottomley@HansenPartnership.com> writes:

James> On Tue, 2009-07-14 at 09:38 +0300, Boaz Harrosh wrote:
>> On 07/13/2009 10:43 PM, John Stoffel wrote:
>> >>>>>> "John" == John Stoffel <john@stoffel.org> writes:
>> > 
>> > Dammit, I messed up here sending this patch.  I've just edited the
>> > subject line and re-sent it with a bit more description.  I think this
>> > patch is perfectly good to go into 2.6.31 right now, esp since it's
>> > not changing code, just whether the code is turned on by default from
>> > now on.
>> > 
>> 
>> I would like it if you'd also CC stable@kernel.org on this patch. As this
>> condition is already true for distros in the field.

James> The stable tree is for bug *fixes*.  Moving an option out from
James> under experimental is basically an enhancement, even if it
James> could be argued it should have been done long ago.

I'm not so sure I agree with this, since this feature is used by UDEV
and has been enabled by default on a bunch of distros for ages (as I'm
told, personally I haven't confirmed this).

But if you object to stable back porting, what are you feelings on
this change for 2.6.31-rc* now?  Do you think it needs to be held off
and that it's too late to make this change?

Thanks,
John



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

end of thread, other threads:[~2009-07-14 16:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13 19:39 [PATCH 5/5] Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG John Stoffel
2009-07-13 19:43 ` John Stoffel
2009-07-14  6:38   ` Boaz Harrosh
2009-07-14 13:16     ` John Stoffel
2009-07-14 13:29     ` James Bottomley
2009-07-14 14:12       ` Boaz Harrosh
2009-07-14 14:22         ` James Bottomley
2009-07-14 16:06       ` John Stoffel
  -- strict thread matches above, loose matches on Subject: below --
2009-07-07 15:44 John Stoffel
2009-07-07 15:37 John Stoffel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox