Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 13:29:16 -0700
From:      Conrad Meyer <cem@FreeBSD.org>
To:        Ravi Pokala <rpokala@mac.com>
Cc:        Doug Ambrisko <ambrisko@freebsd.org>, src-committers <src-committers@freebsd.org>,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r300866 - head/sys/boot/efi/libefi
Message-ID:  <CAG6CVpWHEF57FgT=T5Ln2cv-%2BN8jLyoKm_ioL1WcHK-Ae6cYmg@mail.gmail.com>
In-Reply-To: <3EF68240-690E-44F9-957A-51BEDA0F35C8@panasas.com>
References:  <201605271923.u4RJNF0d016635@repo.freebsd.org> <3EF68240-690E-44F9-957A-51BEDA0F35C8@panasas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems he meant 'media native IO size', not 'media size'.  I.e., on
4Kn media, 4k-multiple and -aligned IOs can be processed directly (but
EFI's unit block size is still 512).  Does that make sense?

Best,
Conrad

On Fri, May 27, 2016 at 1:05 PM, Ravi Pokala <rpokala@mac.com> wrote:
> -----Original Message-----
> From: <owner-src-committers@freebsd.org> on behalf of Doug Ambrisko <ambrisko@FreeBSD.org>
> Date: 2016-05-27, Friday at 12:23
> To: <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@freebsd.org>
> Subject: svn commit: r300866 - head/sys/boot/efi/libefi
>
>>Author: ambrisko
>>Date: Fri May 27 19:23:15 2016
>>New Revision: 300866
>>URL: https://svnweb.freebsd.org/changeset/base/300866
>>
>>Log:
>>  If the I/O offset and length is multiple of the media size then
>>  directly pass the request otherwise use a buffer that is a
>>  multiple of the media size.  This speeds up I/O quite a bit
>>  when using large transfer sizes on 4Kn disks etc.
>>
>>  MFC after:   1 week
>
> I/O offset and length are *divisors* of the media size, not *multiples* of it.
>
> -Ravi (rpokala@)
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpWHEF57FgT=T5Ln2cv-%2BN8jLyoKm_ioL1WcHK-Ae6cYmg>