Honor logbias when writing to ZVOLs.
authorEtienne Dechamps <e-t172@akegroup.org>
Wed, 6 Jun 2012 09:30:24 +0000 (11:30 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 11 Jun 2012 16:43:48 +0000 (09:43 -0700)
commitab85f8455b995741c479f1cdcf21304de87fdaa8
tree0786910a0506e787a841aec4c2e8491107c408ee
parentcac1f230e0537ceddead464dbd140e23a0556be6
Honor logbias when writing to ZVOLs.

The logbias option is not taken into account when writing to ZVOLs. We fix
that by using the same logic as in the zfs filesystem write code
(see zfs_log.c).

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #774
module/zfs/zvol.c