Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-05-24 22:51:16 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-05-24 22:51:16 +0300
commit19115c0eb238e6ab5e159c246d88ff551b134e9c (patch)
treeb69f257752d30e8e54ab580cc912245b94cc4d07 /include/llfio/v2.0/handle.hpp
parentd9720b3670a8d481f202842d973f82b360a467e3 (diff)
Rework how filled buffers are returned, so that 1M scatter-gather lists scale well.
Diffstat (limited to 'include/llfio/v2.0/handle.hpp')
-rw-r--r--include/llfio/v2.0/handle.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llfio/v2.0/handle.hpp b/include/llfio/v2.0/handle.hpp
index 71095b79..1205d99c 100644
--- a/include/llfio/v2.0/handle.hpp
+++ b/include/llfio/v2.0/handle.hpp
@@ -1,5 +1,5 @@
/* A handle to something
-(C) 2015-2017 Niall Douglas <http://www.nedproductions.biz/> (20 commits)
+(C) 2015-2019 Niall Douglas <http://www.nedproductions.biz/> (20 commits)
File Created: Dec 2015
@@ -74,11 +74,11 @@ public:
//! On opening, do we also create a new file or truncate an existing one?
enum class creation : unsigned char
{
- open_existing = 0,
- only_if_not_exist,
- if_needed,
- truncate //!< Atomically truncate on open, leaving creation date unmodified.
- // NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!
+ open_existing = 0, //!< Filesystem entry must already exist
+ only_if_not_exist, //!< Filesystem entry must NOT exist, and is atomically created by the success of this operation
+ if_needed, //!< If filesystem entry exists that is used, else one is created
+ truncate //!< Filesystem entry must already exist. It is atomically truncated on open, leaving creation date and unique identifier unmodified.
+ // NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!
};
//! What i/o on the handle will complete immediately due to kernel caching
enum class caching : unsigned char // bit 0 set means safety fsyncs enabled