Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2014 14:48:28 +0100
From:      Borja Marcos <borjam@sarenet.es>
To:        Michael Jung <mikej@paymentallianceintl.com>
Cc:        "freebsd-fs@FreeBSD.org Filesystems" <freebsd-fs@freebsd.org>
Subject:   Re: ZFS bug: Creating ZIL ignores vfs.zfs.min_auto_ashift
Message-ID:  <49868BFD-A96A-4B60-B337-6BAD611BDCAA@sarenet.es>
In-Reply-To: <9C91F97841BC4347910F206618BAA3BB9AF327D1@PAIMAIL.pai.local>
References:  <B731A922-3F83-4D8E-A4EA-22C5CA8A3850@sarenet.es> <9C91F97841BC4347910F206618BAA3BB9AF327D1@PAIMAIL.pai.local>

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

On Nov 6, 2014, at 2:11 PM, Michael Jung wrote:

> What does smartctl -a /dev/ada1 show?
>=20
> I see other posts via google showing that the SSDSA2CT040G3 has 512 =
byte physical sectors (ashift 9)


Different issue and I just stumbled upon it when testing this.  The =
quirk provided for the SSD 320 drives,

        {
                /*
                 * Intel 320 Series SSDs
                 * 4k optimised & trim only works in 4k requests + 4k =
aligned
                 */
                { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSA2CW*", "*" =
},
                /*quirks*/ADA_Q_4K
        },
        {
                /*
                 * Intel 330 Series SSDs
                 * 4k optimised & trim only works in 4k requests + 4k =
aligned
                 */
                { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2CT*", "*" =
},
                /*quirks*/ADA_Q_4K
        },



doesn't match mine, hence they are not properly recognized.

Anyway, as Steve says, it's irrelevant. If I change the min_auto_ashift =
variable to 12 it should set the  ashift to 12
regardless of the quirk detection.

I'll send the updated quirk to -scsi, but that's a different matter.





Borja.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49868BFD-A96A-4B60-B337-6BAD611BDCAA>