Skip to contentSkip to conversation

libsas: Kconfig: Enable SATA compatibility by default

PATCH In review Ian Jackson 3 participants 8 messages May 1, 2015 – May 6, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 libsas: Kconfig: Enable SATA compatibility by default

In reply to a message not in the archive

SATA controllers support SATA disks. The kernel should be able to drive these, by default. It should not silently (apart from a debugging-only printk) ignore them.

CC James Bottomley <[email protected]>
CC Donald D Dugger <[email protected]>
CC Pawel Baldysiak <[email protected]>
CC Lukasz Dorau <[email protected]>
CC Artur Paszkiewicz <[email protected]>
CC Ian Campbell <[email protected]>
CC Konrad Rzeszutek Wilk <[email protected]>
CC Boris Ostrovsky <[email protected]>
CC David Vrabel <[email protected]>
---
 drivers/scsi/libsas/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/libsas/Kconfig +1 -0
index 9dafe64..16258b0 100644
@@ -34,6 +34,7 @@ config SCSI_SAS_ATA
 	bool "ATA support for libsas (requires libata)"
 	depends on SCSI_SAS_LIBSAS
 	depends on ATA = y || ATA = SCSI_SAS_LIBSAS
+	default y
 	help
 		Builds in ATA support into libsas.  Will necessitate
 		the loading of libata along with libsas.
Signature · 1 line
1.7.10.4
#8 lore raw

PATCH 1/1 libsas: Kconfig: Enable SATA compatibility by default

In reply to a message not in the archive

SATA controllers support SATA disks. The kernel should be able to drive these, by default. It should not silently (apart from a debugging-only printk) ignore them.

CC James Bottomley <[email protected]>
CC Donald D Dugger <[email protected]>
CC Pawel Baldysiak <[email protected]>
CC Lukasz Dorau <[email protected]>
CC Artur Paszkiewicz <[email protected]>
CC Ian Campbell <[email protected]>
CC Konrad Rzeszutek Wilk <[email protected]>
CC Boris Ostrovsky <[email protected]>
CC David Vrabel <[email protected]>
---
 drivers/scsi/libsas/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/libsas/Kconfig +1 -0
index 9dafe64..16258b0 100644
@@ -34,6 +34,7 @@ config SCSI_SAS_ATA
 	bool "ATA support for libsas (requires libata)"
 	depends on SCSI_SAS_LIBSAS
 	depends on ATA = y || ATA = SCSI_SAS_LIBSAS
+	default y
 	help
 		Builds in ATA support into libsas.  Will necessitate
 		the loading of libata along with libsas.
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Ian Jackson

Hi Ian,

Quoted 1 line · Ian Jackson

SATA controllers support SATA disks. The kernel should be able to

Do you mean SAS controllers?

Thanks,

Signature · 4 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
#5 lore raw
In reply to Ian Jackson

Hi Ian,

Quoted 1 line · Ian Jackson

SATA controllers support SATA disks. The kernel should be able to

Do you mean SAS controllers?

Thanks,

Signature · 4 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
#3 lore raw
In reply to Julian Calaby

Julian Calaby writes ("Re: [PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default"):

Quoted 4 lines · Ian Jackson
Quoted 1 line

SATA controllers support SATA disks. The kernel should be able to

Do you mean SAS controllers?

Yes, sorry. Do you want me to resubmit with a fixed commit message ?

Ian.

#4 lore raw
In reply to Julian Calaby

Julian Calaby writes ("Re: [PATCH] [SCSI] libsas: Kconfig: Enable SATA compatibility by default"):

Quoted 4 lines · Ian Jackson
Quoted 1 line

SATA controllers support SATA disks. The kernel should be able to

Do you mean SAS controllers?

Yes, sorry. Do you want me to resubmit with a fixed commit message ?

Ian.

maintainer
#6 lore raw
In reply to Ian Jackson
Quoted 3 lines · Ian Jackson

SATA controllers support SATA disks. The kernel should be able to drive these, by default. It should not silently (apart from a debugging-only printk) ignore them.

To be honest, this is a bit pointless: no distribution takes the kernel defaults anyway so changing it achieves nothing.

The original thought behind doing this is that libata was huge and is pulled in by the sata code whether its actually used or not. Certain configurations might not want this. However, I think we can all agree that the major SAS user is enterprise and for them, kernel size isn't usually a huge worry. Even for enterprise, the predominant configuration seems to be SAS expanders with SATA drives, so they can't turn it off anyway. Therefore a more useful question might be: is it time to remove the option entirely?

James

maintainer
#7 lore raw
In reply to Ian Jackson
Quoted 3 lines · Ian Jackson

SATA controllers support SATA disks. The kernel should be able to drive these, by default. It should not silently (apart from a debugging-only printk) ignore them.

To be honest, this is a bit pointless: no distribution takes the kernel defaults anyway so changing it achieves nothing.

The original thought behind doing this is that libata was huge and is pulled in by the sata code whether its actually used or not. Certain configurations might not want this. However, I think we can all agree that the major SAS user is enterprise and for them, kernel size isn't usually a huge worry. Even for enterprise, the predominant configuration seems to be SAS expanders with SATA drives, so they can't turn it off anyway. Therefore a more useful question might be: is it time to remove the option entirely?

James