N-way mirror read speedup in zfsonlinux

Alexander Motin mav at FreeBSD.org
Thu Aug 15 20:19:11 UTC 2013


On 15.08.2013 23:00, Steven Hartland wrote:
> ----- Original Message ----- From: "Alexander Motin" <mav at FreeBSD.org>
>> 4) I don't very like idea of expanding struct disk every time
>> (especially not at the end). While that is probably easier then
>> alternatives, now we have d_getattr method specifically to avoid that.
>
> I see what you mean but it needs to be stored somewhere otherwise
> we're going to have to query the device every time or did you have
> something else specific in mind?

I was thinking about storing it in da/ada periph softc's and modifying 
dagetattr()/adagetattr().

-- 
Alexander Motin


More information about the zfs-devel mailing list