]> git.proxmox.com Git - mirror_zfs.git/commit
Fix 32-bit maximum volume size
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 Oct 2016 23:53:24 +0000 (23:53 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Nov 2016 19:14:45 +0000 (12:14 -0700)
commit82ec9d41d85b1643402493bf72a7e7d2896b7310
treeaa63b731974d615674dbea3e269b09aa8f4f4c08
parent4990e576c6aa18048dd2341a736118383a5f063d
Fix 32-bit maximum volume size

A limit of 1TB exists for zvols on 32-bit systems.  Update the code
to correctly reflect this limitation in a similar manor as the
OpenZFS implementation.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #5347
include/sys/zvol.h
module/zfs/zvol.c