On 11/17/2013 01:42 PM, Steven Hartland wrote:
> Finally found some time today to port the work I did
> on FreeBSD to improve ZFS N-way mirror read performance
> by using location information.
> 
> Webrev:
> http://cr.illumos.org/~webrev/steveh/illumos-4334/
> 
> Issue:
> https://www.illumos.org/issues/4334
> 
> It's currently missing non-rotating media detection
> from vdev_rotation_rate.
> 
> I'm not at all familar with illumos device code but I've
> looked and the underlying subsystems seem to have a number
> of possible ways of detecting this.
> 
> tg_attribute has: media_is_solid_state
> cmlb_geom_t has: g_rpm
> 
> Unfortunately as far as I can tell none of these are
> currently exposed via an ioctl which I'm guessing would
> be required for code at the ZFS layer to detect these
> settings.
> 
> Any advice on this would be appreciated so I can complete
> this port.

Hi Steven,

We have some bits that add the underlying ioctl for the solid state
detection here:

https://github.com/joyent/illumos-joyent/commit/281d692636513b749e11b75b758cd009114b2216

I'll work on getting that up into illumos shortly which should get you
what you need at least for solid state support. I don't have anything at
the moment for exposing the rpm, but I can certainly try to help with that.

Robert
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to