Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
Subsystems (2)
PATCH 5/5 Make SCSI SG v4 driver enabled by default and remove EXPERIMENTAL dependency, since udev depends on BSG.
--- block/Kconfig | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)
block/Kconfig +7 -4
@@ -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"
Signature · 1 line
1.6.3.3
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Stoffel <[email protected]> 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 <[email protected]> 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
Quoted 8 lines · John Stoffel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Stoffel <[email protected]> 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 [email protected] 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?]
Quoted 4 lines
Thanks,
John
Thanks
Boaz
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Boaz" == Boaz Harrosh <[email protected]> writes:
Boaz> I would like it if you'd also CC [email protected] 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
James Bottomley
maintainerQuoted 10 lines · Boaz Harrosh
Quoted 8 lines · John Stoffel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Stoffel <[email protected]> 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.
Quoted 2 lines
I would like it if you'd also CC [email protected] 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
Quoted 9 lines · James Bottomley
Quoted 8 lines · Boaz Harrosh
Quoted 7 lines · John Stoffel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Stoffel <[email protected]> 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.
Quoted 7 lines
Quoted 2 lines
I would like it if you'd also CC [email protected] 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?
Quoted 3 lines
James
Thanks
Boaz
James Bottomley
maintainerQuoted 13 lines · Boaz Harrosh
Quoted 12 lines · James Bottomley
Quoted 10 lines · Boaz Harrosh
Quoted 7 lines · John Stoffel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Stoffel <[email protected]> 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 [email protected] on this patch. As this condition is already true for distros in the field.
Quoted 7 lines
Quoted 4 lines
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.
Quoted 2 lines
if Udev was part of
Kconfigit would have a "depend" on bsg. But because it's a different product it can only rely on defaults?
James
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James" == James Bottomley <[email protected]> writes:
Quoted 10 lines · Boaz Harrosh
Quoted 10 lines · John Stoffel
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Stoffel <[email protected]> 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.
Quoted 2 lines
Quoted 2 lines
I would like it if you'd also CC [email protected] 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