lp:zfs

Created by Darik Horn on 2011-07-16 and last modified on 2014-02-12
Get this branch:
bzr branch lp:zfs

Related bugs

Related blueprints

Branch information

Owner:
Darik Horn
Project:
Native ZFS for Linux
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://github.com/zfsonlinux/zfs.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was on 2014-02-21.

Import started on 2014-02-27 on pear and finished on 2014-02-27 taking 40 seconds — see the log
Import started on 2014-02-25 on galapagos and finished on 2014-02-25 taking 1 minute — see the log
Import started on 2014-02-23 on pear and finished on 2014-02-23 taking 40 seconds — see the log
Import started on 2014-02-22 on russkaya and finished on 2014-02-22 taking 1 minute — see the log

Recent revisions

1112. By Tim Chase on 2014-02-12

Propagate errors when registering "relatime" property callback.

Various errors can occur when registering property callbacks. As the
author's comments indicate, the code is very paranoid about preserving
the first-seen error when registering callbacks. This patch causes an
error seen while registering the "relatime" callback to not clobber a
previously-seen error.

Reported-by: Jorgen Lundman <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #2117

1111. By Brian Behlendorf on 2014-02-12

Add default FILEDIR path to zpool-config scripts

Allow the caller of the zpool-create.sh script to override
the default path where file vdevs are created. This allows
for greated flexibilty when scripting.

Additionally, update the default path from /tmp/ to /var/tmp/
because these days /tmp/ is likely a ramdisk. Even though
these files are sparse they may grow large in which case they
should be backed by a physical device.

Signed-off-by: Richard Yao <email address hidden>
Signed-off-by: Tim Chase <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #2120

1110. By Ralf Ertzinger <email address hidden> on 2014-02-10

Add explicit Conflicts for zfs-fuse packages

zfs-fuse provides the same commands and man page names as ZoL.
Changing the names on either side would make each incompatible with
all existing documentation about ZFS. Providing bit identical files
is not possible due to differing codebases.

Signed-off-by: Richard Yao <email address hidden>
Signed-off-by: Turbo Fredriksson <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #1866

1109. By Brian Behlendorf on 2014-02-10

Fix zconfig.sh test 9

Commit ba6a240 adjusted the behavior of 'zfs create -V'. The
caller is no longer guaranteed that udev will have finished
creating the /dev/ entries by the time to command exits. It
is therefore required that we explicitly block waiting for
udev to settle for this test to run reliably.

Signed-off-by: Brian Behlendorf <email address hidden>

1108. By Ralf Ertzinger <email address hidden> on 2014-02-05

Add systemd unit files for ZFS startup

This adds systemd unit files replacing the functionality offered by
the SysV init script found in etc/init.d.

It has been developed and tested on Fedora 19, Fedora 20
and openSuSE 13.1.

Four unit files and one target are offered.

zfs-import-cache.service:
    Import pools from /etc/zfs/zpool.cache. This unit will wait for
    udev to settle.
zfs-import-scan.service:
    Import pools by scanning /dev/disk/by-id for zvols. This unit will
    only run if /etc/zfs/zpool.cache is not present. This unit will wait
    for udev to settle
zfs-mount.service:
    Mount ZFS native filesystems. It contains a dependency to be loaded
    before local-fs.target.
zfs-share.service:
    Share NFS/SMB filesystems. This unit contains a dependency that
    will cause it to be restarted whenever the smb or nfs-server unit
    is restarted, restoring the shares added.
zfs.target:
    This target pulls in the other units in order to start ZFS. It's
    the only unit that can be enabled/disabled, all other services
    are static and pulled in by dependencies. It will honour zfs=off
    and zfs=no options on the kernel command line.

Signed-off-by: Brian Behlendorf <email address hidden>
Closes #2108

1107. By Brian Behlendorf on 2014-02-05

Fix corrupted l2_asize in arcstats

Commit e0b0ca9 accidentally corrupted the l2_asize displayed in
arcstats. This was caused by changing the l2arc_buf_hdr.b_asize
member from an int to uint32_t type. There are places in the
code where this field is cast to a uint64_t resulting in the
b_hits member being treated as part of b_asize.

To resolve the issue the type has been changed to a uint64_t,
and the b_hits member is placed after the enum to prevent the
size of the structure from increasing.

This is a good example of exactly why it's a bad idea to use
ambiguous types (int) in these structures.

Signed-off-by: DHE <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #1990

1106. By Matthew Ahrens <email address hidden> on 2014-01-31

4188 assertion failed in dmu_tx_hold_free(): dn_datablkshift != 0

Reviewed by: George Wilson <email address hidden>
Reviewed by: Christopher Siden <email address hidden>
Approved by: Garrett D'Amore <email address hidden>

Refences:
  https://www.illumos.org/issues/4188
  illumos/illumos-gate@bb411a08b05466bfe0c7095b6373bbc1587e259a

Ported-by: Chris Dunlop <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #2091

1105. By Matthew Ahrens <email address hidden> on 2014-01-29

Illumos 4504 traverse_visitbp: visit group before user

4504 traverse_visitbp: visit DMU_GROUPUSED_OBJECT before DMU_USERUSED_OBJECT

Reviewed by: Christopher Siden <email address hidden>
Reviewed by: George Wilson <email address hidden>

References:
  https://illumos.org/issues/4504
  http://code.delphix.com/illumos-4504
  http://svnweb.freebsd.org/base?view=revision&revision=260812

Signed-off-by: Brian Behlendorf <email address hidden>
Signed-off-by: Tim Chase <email address hidden>
Closes #2079

1104. By Tim Chase on 2014-01-29

Implement relatime.

Add the "relatime" property. When set to "on", a file's atime will only
be updated if the existing atime at least a day old or if the existing
ctime or mtime has been updated since the last access. This behavior
is compatible with the Linux "relatime" mount option.

Signed-off-by: Tim Chase <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #2064
Closes #1917

1103. By Patrik Greco on 2014-01-29

Fix error message in zpios

The chunksize must always be strictly smaller than the regionsize.

Signed-off-by: Andrew Uselton <email address hidden>
Signed-off-by: Brian Behlendorf <email address hidden>
Closes #2072

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.