Nikolay Borisov 04bc461062 Reduce stack usage of dmu_recv_stream function
The receive_writer_arg and receive_arg structures become large
when ZFS is compiled with debugging enabled. This results in
gcc throwing an error about excessive stack usage:

  module/zfs/dmu_send.c: In function ‘dmu_recv_stream’:
  module/zfs/dmu_send.c:2502:1: error: the frame size of 1256 bytes is
  larger than 1024 bytes [-Werror=frame-larger-than=]

Fix this by allocating those functions on the heap, rather than
on the stack.

With patch:    dmu_send.c:2350:1:dmu_recv_stream 240 static
Without patch: dmu_send.c:2350:1:dmu_recv_stream 1336 static

Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4620
2016-05-11 12:14:24 -07:00
2016-05-11 11:49:37 -07:00
2016-04-28 09:27:40 -07:00
2016-03-08 13:19:53 -08:00
2016-05-11 11:49:37 -07:00
2016-05-11 11:49:37 -07:00
2016-05-11 11:49:37 -07:00
2016-03-16 13:46:16 -07:00
2016-05-10 11:28:54 -07:00
2014-09-02 14:18:53 -07:00
2016-05-02 14:27:45 -07:00
2015-12-02 07:54:32 -08:00
2015-05-11 15:07:00 -07:00
2016-03-16 13:46:16 -07:00
2015-09-11 11:16:38 -07:00
2008-12-01 14:49:34 -08:00
2016-03-16 13:46:16 -07:00

Native ZFS for Linux!

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers.

Full documentation for installing ZoL on your favorite Linux distribution can be found at: http://zfsonlinux.org

Description
freebsd with flexible iflib nic queues
Readme 2.6 GiB
Languages
C 60.1%
C++ 26.1%
Roff 4.9%
Shell 3%
Assembly 1.7%
Other 3.7%