ZFS on Linux - the official OpenZFS implementation for Linux.
C Shell Assembly M4 Python Makefile Other
Latest commit c40db19 Aug 25, 2016 @GeLiXin GeLiXin committed with behlendorf Fix: Build warnings with different gcc optimization levels in debug mode
This fix resolves warnings reported during compiling with different gcc
optimization levels in debug mode,

Test tools:
gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
Linux version: 2.6.32-573.18.1.el6.x86_64, Red Hat Enterprise Linux Server release 6.1 (Santiago)

List of warnings:
CFLAGS=-O1 ./configure --enable-debug ;make
../../module/icp/core/kcf_sched.c: In function ‘kcf_aop_done’:
../../module/icp/core/kcf_sched.c:499: error: ‘fg’ may be used uninitialized in this function
../../module/icp/core/kcf_sched.c:499: note: ‘fg’ was declared here

CFLAGS=-Os ./configure --enable-debug ; make
libzfs_dataset.c: In function ‘zfs_prop_set_list’:
libzfs_dataset.c:1575: error: ‘nvl_len’ may be used uninitialized in this function

Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5022
Permalink
Failed to load latest commit information.
cmd zdb: fencepost error at zdb_cb.zcb_embedded_histogram[][] Aug 16, 2016
config Linux compat: Grsecurity kernel Aug 22, 2016
contrib Set proper dependency for string replacement targets Aug 2, 2016
etc Set proper dependency for string replacement targets Aug 2, 2016
include Linux compat: Grsecurity kernel Aug 22, 2016
lib Fix: Build warnings with different gcc optimization levels in debug mode Aug 29, 2016
man Add zfs_arc_meta_limit_percent tunable Aug 23, 2016
module Fix: Build warnings with different gcc optimization levels in debug mode Aug 29, 2016
rpm Add missing RPM BuildRequires May 23, 2016
scripts zloop: print backtrace from core files Jul 25, 2016
tests Update zfs_create_(009,010)_neg.ksh Aug 18, 2016
udev Set proper dependency for string replacement targets Aug 2, 2016
.gitignore Illumos Crypto Port module added to enable native encryption in zfs Jul 20, 2016
.gitmodules Add zimport.sh compatibility test script Feb 21, 2014
AUTHORS Add a missing > to AUTHORS Sep 2, 2014
COPYRIGHT Update ZED copyright boilerplate May 11, 2015
DISCLAIMER Fix minor typos and update marketing copy. Mar 21, 2013
META Tag zfs-0.6.5 Sep 11, 2015
Makefile.am Add `make lint` target Aug 2, 2016
OPENSOLARIS.LICENSE Add CDDL license file Dec 1, 2008
README.markdown Fix minor typos and update marketing copy. Mar 21, 2013
TEST Add the ZFS Test Suite Mar 16, 2016
autogen.sh build: do not call boilerplate ourself Apr 2, 2013
configure.ac OpenZFS 5997 - FRU field not set during pool creation and never updated Aug 12, 2016
copy-builtin Illumos Crypto Port module added to enable native encryption in zfs Jul 20, 2016
zfs-script-config.sh.in Illumos Crypto Port module added to enable native encryption in zfs Jul 20, 2016
zfs.release.in Move zfs.release generation to configure step Jul 12, 2012

README.markdown

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