kern/150315: [ata] sizeof(union ccb) changed between 7.x and 8.x
mav at FreeBSD.org
Mon Jul 18 11:10:14 UTC 2011
The following reply was made to PR kern/150315; it has been noted by GNATS.
From: Alexander Motin <mav at FreeBSD.org>
To: bug-followup at FreeBSD.org, wollman at freebsd.org
Subject: Re: kern/150315: [ata] sizeof(union ccb) changed between 7.x and
Date: Mon, 18 Jul 2011 13:43:08 +0300
The main problem is not just in union ccb size change. Problem is that
elements newly added to several structures were added not to the ends,
and in some places there are arrays of structures used. As result
providing compatibility layer would required to repack all requests and
responses, reordering their fields.
I am not sure that supporting it now (1.5 years after 8.0 release) worth
polluting code. Speaking about smartctl -- the best way is to rebuild
it, as new version also supports CAM ATA.
More information about the freebsd-bugs