When restoring a UFS dump onto a ZFS filesystem, an assertion in
authormckusick <mckusick@FreeBSD.org>
Wed, 30 Jul 2014 14:52:04 +0000 (14:52 +0000)
committermckusick <mckusick@FreeBSD.org>
Wed, 30 Jul 2014 14:52:04 +0000 (14:52 +0000)
commit872475712326a2f0b44fe88512e997f8cdfec69c
tree0c077068ff9ebae5e89fc8cbc5738054d27e00cf
parentb23b8d4ef5420dc0dd0e98ff9b3ecf0c37b8ca29
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
MFC after:    1 week
sbin/restore/tape.c