Brian Behlendorf
70ddc1393f
No inline to keep dmu_recv_stream() stack frame less than 1024 bytes.
...
Recent builds against 2.6.31 flagged dmu_recv_stream() as stack heavy.
As a quick simple way to resolve this I'm preventing the inlining of
certain functions which gcc will inline here because this is the only
place they are called. Futher analysis of this function should be
performed to futher reduce its stack usage.
2009-12-18 14:22:02 -08:00
Brian Behlendorf
83937eae80
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-12-11 16:22:07 -08:00
Brian Behlendorf
058ac9ba78
Pull in latest man pages as part of update-zfs.sh
...
The script has been updated to download the latest documentations
packages for Solaris and extract the needed ZFS man pages. These
will still need a little markup to handle changes between the
Solaris and Linux versions of ZFS. Howver, they should be pretty
minor I've tried hard to keep the interface the same.
In additional to the script update the zdb, zfs, and zpool man
pages have been added to the repo.
2009-12-11 16:15:33 -08:00
Brian Behlendorf
b57e406dd6
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-11-15 16:26:47 -08:00
Brian Behlendorf
0aa61e8427
Remove zvol.c when updating in update-zfs.sh Linux version available.
2009-11-15 16:20:01 -08:00
Brian Behlendorf
e59c225cea
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-10-09 15:43:15 -07:00
Brian Behlendorf
5c36312909
Script update-zfs.sh updated to include libefi library
2009-10-09 15:37:29 -07:00
Brian Behlendorf
f8cca2b295
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-08-18 12:09:57 -07:00
Brian Behlendorf
45d1cae3b8
Rebase master to b121
2009-08-18 11:43:27 -07:00
Brian Behlendorf
ee435f260c
Excessively large stack frames detected.
...
The 2.6.30 kernel build systems sets -Wframe-larger-than=2048 which causes
a warning to be generated when an individual stack frame exceeds 2048.
This caught the spa_history_log() and dmu_objset_snapshot() functions
which declared a data structure on the stack which contained a char
array of MAXPATHLEN. This in defined to be 4096 in the linux kernel
and I imagine it is quite large under Solaris as well. Regardless, the
offending data structures were moved to the heap to correctly keep the
stack depth to a minimum. We might consider setting this value even
lower to catch additional offenders because we are expecting deep stacks.
2009-07-29 21:18:48 -07:00
Brian Behlendorf
326bb586bd
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-07-06 13:13:20 -07:00
Brian Behlendorf
9babb37438
Rebase master to b117
2009-07-02 15:44:48 -07:00
Brian Behlendorf
7fe1b71533
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-02-18 14:29:19 -08:00
Brian Behlendorf
d164b20935
Rebase master to b108
2009-02-18 12:51:31 -08:00
Brian Behlendorf
8c29491191
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-01-26 22:01:09 -08:00
Brian Behlendorf
c65e71073f
Refresh type in topgit git://* reference
2009-01-26 21:58:32 -08:00
Brian Behlendorf
a4c4b9c664
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-01-20 15:46:20 -08:00
Brian Behlendorf
4710ede86a
Add GIT to master
2009-01-20 15:43:44 -08:00
Brian Behlendorf
1d3ce40c2e
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-01-15 14:16:09 -08:00
Brian Behlendorf
fb5f0bc833
Rebase master to b105
2009-01-15 13:59:39 -08:00
Brian Behlendorf
9e12900ee7
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-01-05 12:08:50 -08:00
Brian Behlendorf
42bcb36c89
Add unicode library
2009-01-05 12:03:23 -08:00
Brian Behlendorf
9189d4f667
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2009-01-05 11:11:50 -08:00
Brian Behlendorf
36b849fa51
Remove zdump, it's an unrelateds command which I added simply due to the z* command convention
2009-01-05 11:10:13 -08:00
Brian Behlendorf
8e136cf0c9
Add noinline macro for userspace
2008-12-18 13:15:58 -08:00
Brian Behlendorf
f4bc961bcc
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-12 13:46:50 -08:00
Brian Behlendorf
810db7e0a2
Remove zcommon reference merged in to zpool
2008-12-12 13:41:20 -08:00
Brian Behlendorf
690f91d041
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-11 15:40:40 -08:00
Brian Behlendorf
6b2c60acca
Moving lib/libspl to linux-libspl branch
2008-12-11 15:38:59 -08:00
Brian Behlendorf
f1ab230869
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-11 14:25:23 -08:00
Brian Behlendorf
a4076c7544
Script updates
2008-12-11 14:21:14 -08:00
Brian Behlendorf
c4911ece24
Move library files to lib
2008-12-11 14:16:55 -08:00
Brian Behlendorf
d50467b370
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-11 11:26:54 -08:00
Brian Behlendorf
b453b61272
Fix libspl move to the wrong place
2008-12-11 11:22:02 -08:00
Brian Behlendorf
4b7ee081ce
Fix typo
2008-12-11 11:16:38 -08:00
Brian Behlendorf
77755a5771
Add a few missing files
2008-12-11 11:14:49 -08:00
Brian Behlendorf
172bb4bd5e
Move the world out of /zfs/ and seperate out module build tree
2008-12-11 11:08:09 -08:00
Brian Behlendorf
affaaad5b3
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-10 12:45:57 -08:00
Brian Behlendorf
9e8b1e836c
Remove libumem, we will try and remove this dependency entirely. If we can't then the best move will simply be to use the official library, or build it as a convenience library
2008-12-10 12:43:20 -08:00
Brian Behlendorf
fdefb041a7
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-09 14:16:31 -08:00
Brian Behlendorf
5e97ed8493
Move vmem* to libumem
2008-12-09 14:14:00 -08:00
Brian Behlendorf
538286725a
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-09 13:40:54 -08:00
Brian Behlendorf
48343be6a3
Temporarily move taskq+util to libzpool until that directory is broken in to lib+module
2008-12-09 13:32:01 -08:00
Brian Behlendorf
8d7a79fb00
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-08 16:46:34 -08:00
Brian Behlendorf
2f40ac4d9e
Minor tweak to update script
2008-12-08 16:38:46 -08:00
Brian Behlendorf
debeabbb0a
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-08 16:25:20 -08:00
Brian Behlendorf
2b67f51fb6
Attempt move of kernel.c with topgit
2008-12-08 16:20:25 -08:00
Brian Behlendorf
f3ee1c7591
Merge commit 'refs/top-bases/fix-stack' into fix-stack
2008-12-03 16:19:11 -08:00
Brian Behlendorf
96072c88e2
Add userspace zfs_context file
2008-12-03 15:43:56 -08:00
Brian Behlendorf
b128c09fbe
Rebase to OpenSolaris b103, in the process we are removing any code which did not originate from the OpenSolaris source. These changes will be reintroduced in topic branches for easier tracking
2008-12-03 12:09:06 -08:00