From owner-svn-src-head@freebsd.org Fri May 27 20:29:24 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 101E4B4D020; Fri, 27 May 2016 20:29:24 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D94051D99; Fri, 27 May 2016 20:29:23 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f42.google.com with SMTP id z123so2910204itg.0; Fri, 27 May 2016 13:29:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc; bh=UPy36WVmdHtkWIuRFMeeTu5tkGl8Zz3sJT56oSddPTk=; b=j+/JJpj9EQP1xJExt0RaQTDgm85CZNDExewd8+e0wZqvRZ1qcrYUq7CS8ckWrjgfNT fs/M+jSMiD5hZf3Y9fVqcK/VF+T319uibGdO4URAwcm5P8jDyzIsk3+Cqp6LhxDJ8ET6 kTephQqA4pzJ4+oo72GgrgfMrs0WVffWZv/AqtB+4uPwYqnJSuVFmMdbi3qHCAgJGWlG 8caco6hW05oV8sxmaBvFhJjasdPHwFuDDx2NR+zPu1rc5Y32o09vv3REziIrEkDoewU4 SI4BRzigAovqUusG1yo1vWQiKkr+pZlSsT9vxGHzF/APg/gQEBy7fYazqIwxRDoo70DK bXUA== X-Gm-Message-State: ALyK8tJeKBFJD/hGv8BVP2WA97nVFX5tgxEKWaFGJ5xIxwEI6fARjlTzEFvVxFobnXAMqQ== X-Received: by 10.36.28.193 with SMTP id c184mr445217itc.90.1464380957737; Fri, 27 May 2016 13:29:17 -0700 (PDT) Received: from mail-it0-f53.google.com (mail-it0-f53.google.com. [209.85.214.53]) by smtp.gmail.com with ESMTPSA id ft7sm3143718igc.10.2016.05.27.13.29.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 13:29:17 -0700 (PDT) Received: by mail-it0-f53.google.com with SMTP id e62so3348806ita.1; Fri, 27 May 2016 13:29:17 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.36.158.69 with SMTP id p66mr376941itd.97.1464380957007; Fri, 27 May 2016 13:29:17 -0700 (PDT) Reply-To: cem@FreeBSD.org Received: by 10.36.205.70 with HTTP; Fri, 27 May 2016 13:29:16 -0700 (PDT) In-Reply-To: <3EF68240-690E-44F9-957A-51BEDA0F35C8@panasas.com> References: <201605271923.u4RJNF0d016635@repo.freebsd.org> <3EF68240-690E-44F9-957A-51BEDA0F35C8@panasas.com> Date: Fri, 27 May 2016 13:29:16 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r300866 - head/sys/boot/efi/libefi From: Conrad Meyer To: Ravi Pokala Cc: Doug Ambrisko , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 20:29:24 -0000 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 wrote: > -----Original Message----- > From: on behalf of Doug Ambrisko > Date: 2016-05-27, Friday at 12:23 > To: , , > 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@) > > > >