~ubuntu-branches/ubuntu/quantal/zfs-fuse/quantal

« back to all changes in this revision

Viewing changes to contrib/zfsrc

  • Committer: Bazaar Package Importer
  • Author(s): Mike Hommey, Mike Hommey, Seth Heeren
  • Date: 2010-06-30 18:03:52 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100630180352-d3jq25ytbcl23q3y
Tags: 0.6.9-1
* New upstream release.

[ Mike Hommey ]
* debian/control:
  - Build depend on libssl-dev and libattr1-dev, now required to build.
  - Build depend on docbook-xml to avoid xsltproc I/O error loading
    docbook DTD.
  - Add suggestions for a NFS server and kpartx.
* debian/man/*, debian/copyright, debian/rules: Remove manual pages, they
  are now shipped upstream.
* debian/copyright: Change download link.
* src/SConstruct:
  - Add an optim option to the build system.
  - Add support for DESTDIR.
  - Force debug=1 to mean optim, no strip, no debug.
  - Use -ffunction-sections, -fdata-sections, and --gc-sections flags to
    reduce the binary sizes.
* src/lib/libumem/SConscript: Cleanup src/lib/libumem when cleaning up
  build directory.
* src/cmd/*/SConscript: Don't link zfs, zpool and zdb against libssl.
* src/lib/libumem/SConscript: Only build static libumem.
* src/lib/libumem/sol_compat.h:
  - Add atomic cas support for sparc.
  - Use atomic functions from libsolcompat in libumem on unsupported
    platforms.
* debian/rules:
  - Set optimization level in build system according to DEB_BUILD_OPTIONS.
  - Build with debug=1 to have unstripped binaries ; dh_strip will do the
    right thing.
  - Don't depend on the local location of the docbook XSLT stylesheets.
    Use the catalogged url in place of the full path.
  - Don't clean src/.sconsign.dblite and src/path.pyc.
  - Set all destination directories when installing with scons.
  - Install bash completion and zfsrc files.
  - Don't use scons cache when building.
* debian/prerm: Remove /var/lib/zfs/zpool.cache in prerm.
* debian/dirs: Create /etc/bash_completion.d.
* debian/watch: Fix watch file.
* debian/rules, debian/control, debian/compat: Switch to dh.
* debian/README.Debian: Update README.Debian.
* debian/zfs-fuse.man.xml: Update zfs-fuse manual page.
* debian/zfs-fuse.init: Start sharing datasets marked as such at daemon
  startup.
* debian/rules, debian/control: Use config.guess and config.sub from
  autotools-dev.

[ Seth Heeren ]
* debian/zfs-fuse.man.xml:
  Added notes on the precedence, zfsrc, commandline, initscript vs.
  /etc/default/zfs-fuse on some systems.
* debian/zfs-fuse.init, debian/zfs-fuse.default: Deprecating DAEMON_OPTS.
* debian/zfs-fuse.init:
  - Removing import -a -f.
  - Removing the now unnecessary 'sleep 2'.
  - Extended shutdown wait to allow for zfs-fuse daemon's own shutdown
    timeouts.
  - Re-ordered dubious PATH setting.
* debian/zfs-fuse.init: Move existing zpool.cache to new location if
  possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vdev-cache-size : size of the prefetch cache for each vdev defined
 
2
# so if you are using 2 pools defined in 2 devices, you'll get 2 vdev caches
 
3
# default size : 10, you can set it to 0 to disable it if you wish
 
4
vdev-cache-size = 10
 
5
 
 
6
# Maximum arc size : this is the main cache for zfs in Mb
 
7
# default size : 128 Mb, minimum size : 16 Mb
 
8
# Notice that arc is also used for the hash tables if you use the dedup option
 
9
max-arc-size = 100
 
10
 
 
11
# zfs-prefetch-disable : disable zfs high level prefetch cache.
 
12
# This setting can eat as much as 150 Mb of ram, so uncomment if you want
 
13
# to save some ram and are ready to loose a little speed.
 
14
zfs-prefetch-disable
 
15
 
 
16
# disable-block-cache : uncomment this to enable direct i/o and disable the
 
17
# kernel block cache. It's not adviced to do this unless you want to test
 
18
# something specific about ARC.
 
19
# disable-block-cache
 
20
 
 
21
# disable-page-cache : uncomment this to disable fuse page cache.
 
22
# This cache allows fuse to cache high level read requests
 
23
# there is no reason to disable it usually, except for testing.
 
24
# disable-page-cache
 
25
 
 
26
# fuse-*-timeout : sets timeout for caching fuse attributes in kernel (in
 
27
# seconds)
 
28
# These 2 values have a big impact on performance for small io operations
 
29
# There are 3 possibilities :
 
30
# 1) if you use fuese-mount-options=default_permissions then you can set these
 
31
#    2 as high as you want (that's the case here). It's probably the best option
 
32
# 2) Otherwise if you still want to keep posix file permissions without loosing
 
33
#    too much speed, set these 2 to at least 1s.
 
34
# 3) Last case : you want perfect posix conformance, wihtout default_permissions
 
35
#    in this case set these to 0, but be ready to loose quite some speed !
 
36
# Default is to use default_permissions, so these as high as you want.
 
37
fuse-attr-timeout = 3600
 
38
fuse-entry-timeout = 3600
 
39
 
 
40
# fuse-mount-options : supplemental fuse mount options for the zfs volumes.
 
41
# fuse mount options which are always passed include :
 
42
# allow_other,suid,dev
 
43
# and big_writes if you are using fuse >= 2.8.
 
44
# Now default_permissions has a special handling and is adviced as a default option.
 
45
fuse-mount-options = default_permissions
 
46
 
 
47
# stack-size :
 
48
# zfs-fuse uses lots of threads (about 150), and the default stack size for
 
49
# a thread is 8 Mb. This affects only the virtual memory usage, not the real
 
50
# memory, but it's still an impressive number for some unused ram.
 
51
# So you can limit it here, in kb. Default is no limit
 
52
# stack-size = 32
 
53