From 0d21b83c18c9449d0fa9b809c76225edbc5d54d2 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 1 Jul 2015 03:03:02 +0300 Subject: [PATCH] 6046 SPARC boot should support com.delphix:hole_birth Reviewed by: Igor Kozhukhov Approved by: Richard Lowe --- usr/src/psm/stand/bootblks/zfs/common/zfs.fth | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/src/psm/stand/bootblks/zfs/common/zfs.fth b/usr/src/psm/stand/bootblks/zfs/common/zfs.fth index 569a845f08..72a0a4ae4e 100644 --- a/usr/src/psm/stand/bootblks/zfs/common/zfs.fth +++ b/usr/src/psm/stand/bootblks/zfs/common/zfs.fth @@ -500,7 +500,10 @@ new-device \ block read that check for holes, gangs, compression, etc : read-bp ( adr len bp -- ) \ sparse block? - dup blk_birth x0= if + dup x@ x0= ( addr len bp flag0 ) + swap dup 8 + x@ x0= ( addr len flag0 bp flag1 ) + rot ( addr len bp flag1 flag0 ) + and if drop erase exit ( ) then -- 2.11.4.GIT