summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-07-25 12:42:00 +0200
committerBrian Behlendorf <[email protected]>2014-08-15 13:39:19 -0700
commitf67d709080f3d4a247191f0d25cbedc5da103f78 (patch)
tree5050bf2725b9ed94387e6901ea30325e0a16c1ae /include/sys
parent194e56234a58fa39c22aada5210f06ddf62c69d5 (diff)
Create an 'overlay' property
Add a new 'overlay' property (default 'off') that controls whether the filesystem should be mounted even if the mountpoint is busy or if it should fail with a 'mountpoint not empty'. Doing overlay mounts is the default mount behavior on Linux, but not in ZFS. It have been decided that following the ZFS behavior should be the default, but this overlay allows for site administrator to override this decision on a per-dataset basis. Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes: #2503
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/fs/zfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index 227d8b2fb..d54cd5679 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -150,6 +150,7 @@ typedef enum {
ZFS_PROP_SELINUX_ROOTCONTEXT,
ZFS_PROP_RELATIME,
ZFS_PROP_REDUNDANT_METADATA,
+ ZFS_PROP_OVERLAY,
ZFS_NUM_PROPS
} zfs_prop_t;