]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC of r269303:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Aug 2014 23:33:16 +0000 (23:33 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Aug 2014 23:33:16 +0000 (23:33 +0000)
commitbcec8a5f375e9572155056278bb96459ffc8af5f
tree8e0dc811cd0ca29fc03536567d061432aacd8e2a
parentf42d2315c61b36bd56f73cc63d998835257ce7be
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/10@269651 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/restore/tape.c