Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 06:24:09 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351637 - head/stand/efi/libefi
Message-ID:  <201908310624.x7V6O987046186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tsoome
Date: Sat Aug 31 06:24:09 2019
New Revision: 351637
URL: https://svnweb.freebsd.org/changeset/base/351637

Log:
  loader.efi: use shift 16 in efipart as it is max ashift supported by zfs

Modified:
  head/stand/efi/libefi/efipart.c

Modified: head/stand/efi/libefi/efipart.c
==============================================================================
--- head/stand/efi/libefi/efipart.c	Sat Aug 31 04:28:22 2019	(r351636)
+++ head/stand/efi/libefi/efipart.c	Sat Aug 31 06:24:09 2019	(r351637)
@@ -255,12 +255,13 @@ efipart_inithandles(void)
 
 		/*
 		 * We assume the block size 512 or greater power of 2.
-		 * Also skip devices with block size > 32k.
+		 * Also skip devices with block size > 64k (16 is max
+		 * ashift supported by zfs).
 		 * iPXE is known to insert stub BLOCK IO device with
 		 * BlockSize 1.
 		 */
 		if (blkio->Media->BlockSize < 512 ||
-		    blkio->Media->BlockSize > (1 << 15) ||
+		    blkio->Media->BlockSize > (1 << 16) ||
 		    !powerof2(blkio->Media->BlockSize)) {
 			continue;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908310624.x7V6O987046186>