]> granicus.if.org Git - zfs/log
zfs
14 years agoSet stack frame limit
Brian Behlendorf [Sat, 26 Jun 2010 06:07:09 +0000 (23:07 -0700)]
Set stack frame limit

For all module/library functions ensure so stack frame exceeds 1024
bytes.  Ideally this should be set lower to say 512 bytes but there
are still numerous functions which exceed even this limit.  For now
this is set to 1024 to ensure we catch the worst offenders.

Additionally, set the limit for ztest to 1024 bytes since the idea
here is to catch stack issues in user space before we find them by
overrunning a kernel stack.  This should also be reduced to 512
bytes as soon as all the trouble makes are fixed.

Finally, add -fstack-check to gcc build options when --enable-debug
is specified at configure time.  This ensures that each page on the
stack will be touched and we will generate a segfault on stack
overflow.

Over time we can gradually fix the following functions:

536 zfs:dsl_deadlist_regenerate
536 zfs:dsl_load_sets
536 zfs:zil_parse
544 zfs:zfs_ioc_recv
552 zfs:dsl_deadlist_insert_bpobj
552 zfs:vdev_dtl_sync
584 zfs:copy_create_perms
608 zfs:ddt_class_contains
608 zfs:ddt_prefetch
608 zfs:__dprintf
616 zfs:ddt_lookup
648 zfs:dsl_scan_ddt
696 zfs:dsl_deadlist_merge
736 zfs:ddt_zap_walk
744 zfs:dsl_prop_get_all_impl
872 zfs:dnode_evict_dbufs

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 28 Jun 2010 18:30:36 +0000 (11:30 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 28 Jun 2010 18:30:35 +0000 (11:30 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Mon, 28 Jun 2010 18:30:34 +0000 (11:30 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch

14 years agoMerge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 28 Jun 2010 18:30:34 +0000 (11:30 -0700)]
Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch

14 years agoZero struct for zdb dump_block_stats
Brian Behlendorf [Tue, 22 Jun 2010 04:22:46 +0000 (21:22 -0700)]
Zero struct for zdb dump_block_stats

Accidentally dropped the zeroing of this structure in the
gcc-missing-braces topic branch which was causing a fall positive
space leak in ztest.  Ensure the structure is zero'ed before use.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:20 +0000 (10:36 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:19 +0000 (10:36 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:18 +0000 (10:36 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoMerge branch 'fix-stack-dmu_objset_snapshot' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:17 +0000 (10:36 -0700)]
Merge branch 'fix-stack-dmu_objset_snapshot' into refs/top-bases/fix-branch

14 years agoMerge branch 'fix-pthreads' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:17 +0000 (10:36 -0700)]
Merge branch 'fix-pthreads' into refs/top-bases/fix-branch

14 years agoMerge branch 'fix-taskq' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:16 +0000 (10:36 -0700)]
Merge branch 'fix-taskq' into refs/top-bases/fix-branch

14 years agoMerge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:13 +0000 (10:36 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:12 +0000 (10:36 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch

14 years agoMerge branch 'gcc-uninit' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 28 Jun 2010 17:36:11 +0000 (10:36 -0700)]
Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch

14 years agoEnsure zio_bad_cksum_t is initialized
Brian Behlendorf [Tue, 22 Jun 2010 04:31:41 +0000 (21:31 -0700)]
Ensure zio_bad_cksum_t is initialized

This may not strictly be needed but it does keep gcc happy.  We
should keep our eye on this though if the extra bcopy significantly
impacts performance.  It may.

14 years agoAllow joinable threads
Brian Behlendorf [Sun, 27 Jun 2010 22:06:49 +0000 (15:06 -0700)]
Allow joinable threads

There was previous discussion of a race with joinable threads but to
be honest I can neither exactly remember the race, or recrease the
issue.  I believe it may have had to do with pthread_create() returning
without having set kt->tid since this was done in the created thread.
If that was the race then I've 'fixed' it by ensuring the thread id
is set in the thread AND as the first pthread_create() argument.  Why
this wasn't done originally I'm not sure, with luck Ricardo remembers.

Additionally, explicitly set a PAGESIZE guard frame at the end of the
stack to aid in detecting stack overflow.  And add some conditional
logic to set STACK_SIZE correctly for Solaris.

14 years agoNever sleep under taskq_dispatch()
Brian Behlendorf [Mon, 28 Jun 2010 17:11:12 +0000 (10:11 -0700)]
Never sleep under taskq_dispatch()

There are cases where under Linux it is not safe to sleep in
taskq_dispatch().  Rather than adding Linux specific code to
detect these cases I opted to keep it simple and just never
allow a sleep here.  The impact of this should be minimal.

14 years agoFix for fix-stack-dmu_objset_snapshot should be 'sn' not '&sn'
Brian Behlendorf [Mon, 28 Jun 2010 17:00:12 +0000 (10:00 -0700)]
Fix for fix-stack-dmu_objset_snapshot should be 'sn' not '&sn'

I missed a instanse of removing the & operator when reducing the
stack usage in this function.  This unfortunately doesn't cause
a compile warning but it is does cause ztest failures.  Anyway,
update the topic branch to correct this mistake.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:43:17 +0000 (14:43 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:43:17 +0000 (14:43 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:39:41 +0000 (14:39 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoMerge branch 'fix-stack-dmu_objset_snapshot' into refs/top-bases/fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:39:41 +0000 (14:39 -0700)]
Merge branch 'fix-stack-dmu_objset_snapshot' into refs/top-bases/fix-branch

14 years agoNew TopGit dependency: fix-stack-dmu_objset_snapshot
Brian Behlendorf [Wed, 16 Jun 2010 21:39:39 +0000 (14:39 -0700)]
New TopGit dependency: fix-stack-dmu_objset_snapshot

14 years agoAdd fix-stack-dmu_objset_snapshot topic branch
Brian Behlendorf [Wed, 16 Jun 2010 21:39:06 +0000 (14:39 -0700)]
Add fix-stack-dmu_objset_snapshot topic branch

Reduce stack usage by 276 bytes by moving the snaparg struct from the
stack to the heap.  We have limited stack space we must not waste.

14 years agoMerge branch 'fix-stack-noinline' into refs/top-bases/fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:35:14 +0000 (14:35 -0700)]
Merge branch 'fix-stack-noinline' into refs/top-bases/fix-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:35:14 +0000 (14:35 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoNew TopGit dependency: fix-stack-noinline
Brian Behlendorf [Wed, 16 Jun 2010 21:35:11 +0000 (14:35 -0700)]
New TopGit dependency: fix-stack-noinline

14 years agoAdd fix-stack-noinline topic branch
Brian Behlendorf [Wed, 16 Jun 2010 21:34:41 +0000 (14:34 -0700)]
Add fix-stack-noinline topic branch

Certain function must never be automatically inlined by gcc because
they are stack heavy or called recursively.  This patch flags all
such functions I have found as 'noinline' to prevent gcc from making
the optimization.

14 years agoRemove fix-stack dependency from fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:30:40 +0000 (14:30 -0700)]
Remove fix-stack dependency from fix-branch

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:27:31 +0000 (14:27 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:27:30 +0000 (14:27 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

14 years agoMerge branch 'fix-stack' into refs/top-bases/fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:27:29 +0000 (14:27 -0700)]
Merge branch 'fix-stack' into refs/top-bases/fix-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 21:27:29 +0000 (14:27 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoRevert fix-stack topic branch
Brian Behlendorf [Wed, 16 Jun 2010 21:23:31 +0000 (14:23 -0700)]
Revert fix-stack topic branch

This patch will be broken in to several independent stack reductions
and reapplied as new topic branches.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 20:53:08 +0000 (13:53 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 20:53:07 +0000 (13:53 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 20:49:56 +0000 (13:49 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoMerge branch 'fix-stack-dsl_deleg_get' into refs/top-bases/fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 20:49:55 +0000 (13:49 -0700)]
Merge branch 'fix-stack-dsl_deleg_get' into refs/top-bases/fix-branch

14 years agoNew TopGit dependency: fix-stack-dsl_deleg_get
Brian Behlendorf [Wed, 16 Jun 2010 20:49:53 +0000 (13:49 -0700)]
New TopGit dependency: fix-stack-dsl_deleg_get

14 years agoAdd fix-stack-dsl_deleg_get topic branch
Brian Behlendorf [Wed, 16 Jun 2010 20:49:25 +0000 (13:49 -0700)]
Add fix-stack-dsl_deleg_get topic branch

Reduce stack usage in dsl_deleg_get, gcc flagged it as consuming a
whopping 1040 bytes or potentially 1/4 of a 4K stack.  This patch
moves all the large structures and buffer off the stack and on to
the heap.  This includes 2 zap_cursor_t structs each 52 bytes in
size, 2 zap_attribute_t structs each 280 bytes in size, and 1
256 byte char array.  The total saves on the stack is 880 bytes
after you account for the 5 new pointers added.

Also the source buffer length has been increased from MAXNAMELEN
to MAXNAMELEN+strlen(MOS_DIR_NAME)+1 as described by the comment in
dsl_dir_name().  A buffer overrun may have been possible with the
slightly smaller buffer.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:44:09 +0000 (12:44 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:44:08 +0000 (12:44 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:40:40 +0000 (12:40 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoMerge branch 'fix-stack-dsl_dir_open_spa' into refs/top-bases/fix-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:40:39 +0000 (12:40 -0700)]
Merge branch 'fix-stack-dsl_dir_open_spa' into refs/top-bases/fix-branch

14 years agoNew TopGit dependency: fix-stack-dsl_dir_open_spa
Brian Behlendorf [Wed, 16 Jun 2010 19:40:37 +0000 (12:40 -0700)]
New TopGit dependency: fix-stack-dsl_dir_open_spa

14 years agoAdd fix-stack-dsl_dir_open_spa topic branch
Brian Behlendorf [Wed, 16 Jun 2010 19:39:44 +0000 (12:39 -0700)]
Add fix-stack-dsl_dir_open_spa topic branch

Reduce stack usage by 256 bytes by moving buf char array from
the stack to the heap.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:11:21 +0000 (12:11 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:11:20 +0000 (12:11 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:11:19 +0000 (12:11 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch

14 years agoMerge branch 'gcc-uninit' into refs/top-bases/gcc-branch
Brian Behlendorf [Wed, 16 Jun 2010 19:11:18 +0000 (12:11 -0700)]
Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch

14 years agoExtra uninit vars flagged by gcc 4.1.2
Brian Behlendorf [Wed, 16 Jun 2010 18:45:07 +0000 (11:45 -0700)]
Extra uninit vars flagged by gcc 4.1.2

Newer versions of the compiler are OK with this but for the sake of
older compilers explicitly initialize them.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:45:47 +0000 (16:45 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:45:46 +0000 (16:45 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

14 years agoMerge branch 'fix-stack-lzjb' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:45:33 +0000 (16:45 -0700)]
Merge branch 'fix-stack-lzjb' into refs/top-bases/fix-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:45:33 +0000 (16:45 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoNew TopGit dependency: fix-stack-lzjb
Brian Behlendorf [Mon, 14 Jun 2010 23:45:31 +0000 (16:45 -0700)]
New TopGit dependency: fix-stack-lzjb

14 years agoAdd fix-stack-lzjb topic branch
Brian Behlendorf [Mon, 14 Jun 2010 23:45:01 +0000 (16:45 -0700)]
Add fix-stack-lzjb topic branch

Reduce kernel stack usage by lzjb_compress() by moving uint16 array
off the stack and on to the heap.  The exact performance implications
of this I have not measured but we absolutely need to keep stack
usage to a minimum.  If/when this becomes and issue we optimize.

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:43:33 +0000 (16:43 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoMerge branch 'fix-kstat-xuio' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:43:32 +0000 (16:43 -0700)]
Merge branch 'fix-kstat-xuio' into refs/top-bases/fix-branch

14 years agoNew TopGit dependency: fix-kstat-xuio
Brian Behlendorf [Mon, 14 Jun 2010 23:43:30 +0000 (16:43 -0700)]
New TopGit dependency: fix-kstat-xuio

14 years agoAdd fix-kstat-xuio topic branch
Brian Behlendorf [Mon, 14 Jun 2010 23:43:01 +0000 (16:43 -0700)]
Add fix-kstat-xuio topic branch

Move xiou stat structures from a header to the dmu.c source as is
done with all the other kstat interfaces.  This information is local
to dmu.c registered the xuio kstat and should stay that way.

14 years agoMerge branch 'fix-metaslab' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:40:45 +0000 (16:40 -0700)]
Merge branch 'fix-metaslab' into refs/top-bases/fix-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:40:45 +0000 (16:40 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoNew TopGit dependency: fix-metaslab
Brian Behlendorf [Mon, 14 Jun 2010 23:40:43 +0000 (16:40 -0700)]
New TopGit dependency: fix-metaslab

14 years agoAdd fix-metaslab topic branch
Brian Behlendorf [Mon, 14 Jun 2010 23:40:26 +0000 (16:40 -0700)]
Add fix-metaslab topic branch

If your only going to allow one allocator to be used and it is defined
at compile time there is no point including the others in the build.
This patch could/should be refined for Linux to make the metaslab
configurable at run time.  That might be a bit tricky however since
you would need to quiese all IO.  Short of that making it configurable
as a module load option would be a reasonable compromise.

14 years agoMerge branch 'fix-current' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:39:27 +0000 (16:39 -0700)]
Merge branch 'fix-current' into refs/top-bases/fix-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:39:27 +0000 (16:39 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoNew TopGit dependency: fix-current
Brian Behlendorf [Mon, 14 Jun 2010 23:39:25 +0000 (16:39 -0700)]
New TopGit dependency: fix-current

14 years agoAdd fix-current topic branch
Brian Behlendorf [Mon, 14 Jun 2010 23:38:56 +0000 (16:38 -0700)]
Add fix-current topic branch

In the linux kernel 'current' is defined to mean the current process
and can never be used as a local variable in a function.  Simply
replace all usage of 'current' with 'curr' in this function.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:25:02 +0000 (16:25 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:24:45 +0000 (16:24 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch

Conflicts:

cmd/ztest/ztest.c

14 years agoMerge branch 'fix-pthreads' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:22:00 +0000 (16:22 -0700)]
Merge branch 'fix-pthreads' into refs/top-bases/fix-branch

14 years agoMerge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:22:00 +0000 (16:22 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch

14 years agoMerge branch 'fix-taskq' into refs/top-bases/fix-branch
Brian Behlendorf [Mon, 14 Jun 2010 23:21:59 +0000 (16:21 -0700)]
Merge branch 'fix-taskq' into refs/top-bases/fix-branch

14 years agoNew TopGit dependency: fix-pthreads
Brian Behlendorf [Mon, 14 Jun 2010 23:21:57 +0000 (16:21 -0700)]
New TopGit dependency: fix-pthreads

14 years agoAdd fix-pthreads topic branch
Brian Behlendorf [Mon, 14 Jun 2010 23:20:44 +0000 (16:20 -0700)]
Add fix-pthreads topic branch

This is a portability change which removes the dependence of the Solaris
thread library.  All locations where Solaris thread API was used before
have been replaced with equivilant Solaris kernel style thread calls.
In user space the kernel style threading API is implemented in term of
the portable pthreads library.  This includes all threads, mutexs,
condition variables, reader/writer locks, and taskqs.

14 years agoUpdate fix-taskq to never sleep at interrupt time
Brian Behlendorf [Mon, 14 Jun 2010 23:14:23 +0000 (16:14 -0700)]
Update fix-taskq to never sleep at interrupt time

Updated fix to detect if we are in an interrupt and only sleep if it
is safe to do some.  I guess it must be safe to sleep under Solaris
this must be handled in a sort interrupt handler there

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:51:52 +0000 (15:51 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:51:51 +0000 (15:51 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:51:50 +0000 (15:51 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch

14 years agoMerge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:51:50 +0000 (15:51 -0700)]
Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch

14 years agoUpdate zfs-branch with build system updates
Brian Behlendorf [Mon, 14 Jun 2010 22:46:11 +0000 (15:46 -0700)]
Update zfs-branch with build system updates

Required Makefile modifications for updated ZFS code.

14 years agoUpdate META to version 0.5.0
Brian Behlendorf [Mon, 14 Jun 2010 22:45:23 +0000 (15:45 -0700)]
Update META to version 0.5.0

14 years agoUpdate gcc-missing-braces based on structure changes
Brian Behlendorf [Mon, 14 Jun 2010 22:44:06 +0000 (15:44 -0700)]
Update gcc-missing-braces based on structure changes

Almost exclusively this patch handled the addition of another char
array to the zfs_cmd_t structure.  Unfortunately c90 doesn't allow
zero filling the entire struct with the '= { 0 };' shorthand.

14 years agoMerge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:37:05 +0000 (15:37 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

14 years agoMerge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:37:03 +0000 (15:37 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch

14 years agoMerge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:37:02 +0000 (15:37 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch

14 years agoMerge branch 'gcc-unused' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:37:01 +0000 (15:37 -0700)]
Merge branch 'gcc-unused' into refs/top-bases/gcc-branch

14 years agoMerge branch 'gcc-uninit' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:37:00 +0000 (15:37 -0700)]
Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch

14 years agoMerge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:37:00 +0000 (15:37 -0700)]
Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch

14 years agoMerge branch 'gcc-missing-case' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:36:59 +0000 (15:36 -0700)]
Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch

14 years agoMerge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:36:59 +0000 (15:36 -0700)]
Merge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch

14 years agoMerge branch 'gcc-c90' into refs/top-bases/gcc-branch
Brian Behlendorf [Mon, 14 Jun 2010 22:36:59 +0000 (15:36 -0700)]
Merge branch 'gcc-c90' into refs/top-bases/gcc-branch

14 years agoUpdate gcc-c90 minor updates
Brian Behlendorf [Mon, 14 Jun 2010 22:32:54 +0000 (15:32 -0700)]
Update gcc-c90 minor updates

Originally these changes were on other gcc-* topic branches but
because c90 touches the same bit of code and I'd like to keep all
the gcc-* branches completely parallel I've moved these few bits
over here.  This is one of the downsides of not just having one
big patch stack.

14 years agoUpdate gcc-unused
Brian Behlendorf [Mon, 14 Jun 2010 22:29:48 +0000 (15:29 -0700)]
Update gcc-unused

Fix new instances or changes in gcc flagged unused code.  These are
mostly related to variables which are not used when debugging is
disabled and the ASSERTs are compiled out.

14 years agoUpdate gcc-invalid-prototypes
Brian Behlendorf [Mon, 14 Jun 2010 22:25:49 +0000 (15:25 -0700)]
Update gcc-invalid-prototypes

Fix new invalid prototypes, typically just a missing void arg.

14 years agoUpdate gcc-unit
Brian Behlendorf [Mon, 14 Jun 2010 22:24:20 +0000 (15:24 -0700)]
Update gcc-unit

Fix new possibly uninitialized variables according to gcc.

14 years agoUpdate gcc-missing-case
Brian Behlendorf [Mon, 14 Jun 2010 22:19:09 +0000 (15:19 -0700)]
Update gcc-missing-case

Fix new locations of an incomplete case statement.

14 years agoUpdate gcc-no-parenthesis
Brian Behlendorf [Mon, 14 Jun 2010 22:16:41 +0000 (15:16 -0700)]
Update gcc-no-parenthesis

Fix new locations of missing parenthesis according to gcc.