]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC of r269303:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Aug 2014 00:32:23 +0000 (00:32 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Aug 2014 00:32:23 +0000 (00:32 +0000)
commit30888ee740ccc5de5634a39d3fef60841ae77a82
tree712f8f5e0450aed15264f02a45ff093d0435258b
parentd4629cc9b0e87c41788d2ef38e862b52307227d3
MFC of r269303:

When restoring a UFS dump onto a ZFS filesystem, an assertion in
restore was failing because ZFS was reporting a blocksize that was
not a multiple of 1024.  Replace restore's failed assertion with
code that writes restored files in a blocksize that works for
restore (a multiple of 1024) despite being non-optimal for ZFS.

Submitted by: Dmitry Morozovsky
Tested by:    Dmitry Morozovsky

git-svn-id: svn://svn.freebsd.org/base/stable/9@269652 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/restore/tape.c