Suppress 'zfs receive' memory warning
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Apr 2011 17:18:56 +0000 (10:18 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Apr 2011 17:22:31 +0000 (10:22 -0700)
commitd247f2a3cc24e8127ec1c5055bf0cd6c39c09add
tree57e7bf5c0cd90991c3cd959b7e0caa0f5013a025
parent9caef54224f8a0df2fdf6a16bbdf4037ee7e7a50
Suppress 'zfs receive' memory warning

As part of zfs_ioc_recv() a zfs_cmd_t is allocated in the kernel
which is 17808 bytes in size.  This sort of thing in general should
be avoided.  However, since this should be an infrequent event for
now we allow it and simply suppress the warning with the KM_NODEBUG
flag.  This can be revisited latter if/when it becomes an issue.

Closes #178
module/zfs/zfs_ioctl.c