summaryrefslogtreecommitdiffstats
path: root/src/utils/sys-utils/xlosetup.8
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sys-utils/xlosetup.8')
-rw-r--r--src/utils/sys-utils/xlosetup.87
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/sys-utils/xlosetup.8 b/src/utils/sys-utils/xlosetup.8
index 4e063e6..c948899 100644
--- a/src/utils/sys-utils/xlosetup.8
+++ b/src/utils/sys-utils/xlosetup.8
@@ -68,6 +68,13 @@ It's possible to create more independent xloop devices for the same backing
file.
.B This setup may be dangerous, can cause data loss, corruption and overwrites.
Use \fB\-\-nooverlap\fR with \fB\-\-find\fR during setup to avoid this problem.
+.sp
+The xloop device setup is not an atomic operation when used with \fB\-\-find\fP, and
+.B xlosetup
+does not protect this operation by any lock. The number of attempts is
+internally restricted to a maximum of 64. It is recommended to use for example
+.BR flock (1)
+to avoid a collision in heavily parallel use cases.
.SH OPTIONS
The \fIsize\fR and \fIoffset\fR