Prefer UNMAPPEDIO and ROTATING from flags sysctl. See
- aeab0812e68c (Add flags sysctl to ada)
- cf3ff63e55e4 (Convert unmappedio over to a flag)
- 96eb32bf0f5a (Convert rotating to a flag bit)
MFC after: 1 day
Differential D42402
cam/ata: Postpone removal of two compat sysctl until 15 zlei on Oct 30 2023, 8:43 AM. Authored by Tags None Referenced Files
Subscribers
Details
Prefer UNMAPPEDIO and ROTATING from flags sysctl. See
MFC after: 1 day
Diff Detail
Event TimelineComment Actions This makes it sound like unmapped I/O and rotating media support will be removed in FreeBSD 15. From the context, I think you just mean that the separate sysctl variables to control those settings will be removed, not the underlying support. Is that correct? If so, maybe we could change the description to something like "Unmapped I/O sysctl var is *DEPRECATED*, gone in FreeBSD 15" If not, and you really mean that unmapped I/O and rotating media are getting removed, then I probably missed the discussion and I'd like to know why. Comment Actions Yes you are right. The unmapped I/O and rotating media are now flag bits. The sysctl knobs are kept only for compatibility (with old programs).
Sounds good.
Comment Actions It's just the sysctl. The info has moved. But I added it and people have been slow to move... so maybe we don't rush the removal... Plus these all are read only: there's no control here. Comment Actions Address @ken 's comments. Within the context, Unmapped I/O sysctl should be clear enough.
Comment Actions Is there enough space in the message to help users by giving them a reference to the new interface to express the same configuration and what form of reference would work well for this? Comment Actions
I think the commit message is clear. Maybe I should point to the flags sysctl directly. # sysctl kern.cam.ada.0.flags kern.cam.ada.0.flags: 0x1be3bde<CAN_48BIT,CAN_FLUSHCACHE,CAN_NCQ,CAN_DMA,WAS_OTAG,CAN_TRIM,OPEN,SCTX_INIT,CAN_POWERMGT,CAN_DMA48,CAN_LOG,CAN_WCACHE,CAN_RAHEAD,PROBED,ANNOUNCED,DIRTY,PIM_ATA_EXT,UNMAPPEDIO> |