Make ZFS use the physical sector size when computing initial ashift
Dag-Erling Smørgrav
des at des.no
Wed Jul 10 09:02:24 UTC 2013
The attached patch causes ZFS to base the minimum transfer size for a
new vdev on the GEOM provider's stripesize (physical sector size) rather
than sectorsize (logical sector size), provided that stripesize is a
power of two larger than sectorsize and smaller than or equal to
VDEV_PAD_SIZE. This should eliminate the need for ivoras@'s gnop trick
when creating ZFS pools on Advanced Format drives.
DES
--
Dag-Erling Smørgrav - des at des.no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zfs-vdev-stripesize.diff
Type: text/x-patch
Size: 1302 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20130710/2200e6a4/attachment.bin>
More information about the freebsd-hackers
mailing list