Date: Mon, 25 Apr 2011 15:44:06 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Alexander Motin <mav@FreeBSD.org> Cc: Robert Watson <rwatson@FreeBSD.org>, FreeBSD-Current <freebsd-current@freebsd.org>, "Bjoern A. Zeeb" <bz@FreeBSD.org> Subject: Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA] Message-ID: <4DB55E86.7000805@yandex.ru> In-Reply-To: <4DB54BA9.5050901@FreeBSD.org> References: <4DB54BA9.5050901@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5DDFDA51E3B9408075ED2F55 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 25.04.2011 14:23, Alexander Motin wrote: > What will not work: > - old device names won't be seen inside GEOM, so users who hardcoded > provider names in gmirror/gstripe/... metadata (not the default > behavior) are still in trouble. > - patch mimics ATA_STATIC_ID behavior, if user had custom kernel > without it, he should update device names manually. > - it won't work for users with hot-unplugging ATA controllers (not > devices), but I believe it is really rare case. > - low-level tools, such as smartmontools, won't be able to work with > alias devices, as background ada driver doesn't implements legacy > ioctls. May be I could partially fix this. >=20 > Except those, I think this patch should work for the most of users. >=20 > Any more objections/ideas? Is this an acceptable solution? Hi, what about new GEOM class? You can create new class instance after disk_alloc(), attach it to the new disk and create provider with old-styl= e name. It seems this class will be very simple. --=20 WBR, Andrey V. Elsukov --------------enig5DDFDA51E3B9408075ED2F55 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJNtV6KAAoJEAHF6gQQyKF6wUsH+gObBajwU3mL4OyTnGC4wM24 4rfbVQVX5lV3bxnLVVFSZJ82evwzgyjW9ohM4qoC3UN8y/TtsDS1a/04KKuLYjF4 0/Jk3djzp7vMMm2RZCzGUcHCfrLiMLUbuQGTJ6zH1dw88r20IMLIOq+krscmrroZ 485xP5q2eykveJ7EZBGiO/YfX+1ASUAwEKPMHmAgiQPZs4tBd2wlOlZketdmd35L GjhcumOsFMsxJRgjn6JYHKnYXeftQhtCSyvPHGuOYLKhhdoAQD6h1sk7Ia6I7OHL qIzg/gS/eQiWJ0+wYKmYBQF1krX8aTHl1f2payvTcVaCVkYsT3b7k8XABV46CmQ= =wm+Z -----END PGP SIGNATURE----- --------------enig5DDFDA51E3B9408075ED2F55--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB55E86.7000805>