Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 20:22:38 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ivan Voras <ivoras@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <20101206192238.GB1936@garage.freebsd.pl>
In-Reply-To: <20101206184453.GA1936@garage.freebsd.pl>
References:  <201012061218.oB6CI3oW032770@svn.freebsd.org> <20101206184453.GA1936@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--6sX45UoQRIJXqkqR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 06, 2010 at 07:44:53PM +0100, Pawel Jakub Dawidek wrote:
> On Mon, Dec 06, 2010 at 12:18:03PM +0000, Ivan Voras wrote:
> > Author: ivoras
> > Date: Mon Dec  6 12:18:02 2010
> > New Revision: 216230
> > URL: http://svn.freebsd.org/changeset/base/216230
> >=20
> > Log:
> >   Use GEOM stripesize field when calculating ashift. This will enable c=
orrect
> >   alignment on drives with large sector sizes (e.g. 4 KiB) but the
> >   implementation might need to be revisited if devices with large strip=
esizes
> >   appear (e.g. if RAID controllers or flash drives start using the fiel=
d),
> >   probably by introducing a physsectorsize field in GEOM providers.
>=20
> Please back this out as soon as possible!
>=20
> >   Discussed with: mav, mostly silence on freebsd-geom@ and freebsd-fs@
>=20
> Guess why it wasn't picked up by anyone?

In other words... Stop hack around. This is so irritating.

If disk lies about its sector size, add quirks at the layer where disk
is discovered. Don't hack ZFS, UFS, any other file system and GEOM
classes, because its easiest for you. It would be best if you could just
leave it to mav@ who knows this area and knows what he is doing. Those
drive-by hacks of yours are really doing more evil than good.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--6sX45UoQRIJXqkqR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkz9N/4ACgkQForvXbEpPzTfggCgq7eYEyaWA3WqRf30aTjbXAdz
bmgAn02nrHToylxD4400nWV0JlJJ3D7c
=MLBv
-----END PGP SIGNATURE-----

--6sX45UoQRIJXqkqR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101206192238.GB1936>