From 93397ea1703ca76a4acc4b530e1991aadb1dd4e2 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 20 Jan 2016 17:07:33 -0500 Subject: [PATCH] remove incorrect warning about race condition with mkdir/mknod --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index a11f54b4..6beeaf7c 100644 --- a/README.md +++ b/README.md @@ -141,8 +141,6 @@ It could be extended to offer the ability to see all files found. Perhaps concat [statvfs](http://linux.die.net/man/2/statvfs) normalizes the source drives based on the fragment size and sums the number of adjusted blocks and inodes. This means you will see the combined space of all sources. Total, used, and free. The sources however are dedupped based on the drive so multiple mount points on the same drive will not result in double counting it's space. It is possible due to a race condition that the same drive could be double counted but it's rather unlikely. -**NOTE:** Since we can not (easily) replicate the atomicity of an **mkdir** or **mknod** without side effects those calls will first do a scan to see if the file exists and then attempts a create. This means there is a slight race condition. Worse case you'd end up with the directory or file on more than one mount. - # BUILDING **NOTE:** Prebuilt packages can be found at: https://github.com/trapexit/mergerfs/releases