llfio
llfio copied to clipboard
P1031 low level file i/o and filesystem library for the C++ standard
https://github.com/ned14/llfio/blob/418a2e9312ff0f1760c73c05b4fe476c761cfc22/include/llfio/v2.0/detail/impl/windows/fs_handle.ipp#L111-L119 On a ReFS/DevDrive this check consistently fails, i.e. `fii.IndexNumber.QuadPart != _inode` as the actual value is `fii.IndexNumber.QuadPart == _inode | 0x5000'0000'0000'0000`. I haven't yet checked how this syscall differs...
Would be nice if this library, or at least some subset of it, could be built using C++-without-exceptions dialect.
Going through the tests I didn't find any tests for copying files with holes. The only thing I found for for file copying was this: https://github.com/ned14/llfio/blob/e152d4c1dc85b7e9ae40470205b13a7031631e52/test/tests/clone_extents.cpp#L136 Is the [code for...
The documentation suggests that the second argument allows you to reserve memory. I was expecting to be able to use a larger value than the section size, so I could...
``` FAILED: CMakeFiles/llfio_dl.dir/src/llfio.cpp.o /usr/local/libexec/ccache/c++ -DLLFIO_DYN_LINK=1 -DLLFIO_ENABLE_TEST_IO_MULTIPLEXERS=1 -DLLFIO_INCLUDE_STORAGE_PROFILE=1 -DLLFIO_SOURCE=1 -Dllfio_dl_EXPORTS -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++17 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++17 -DNDEBUG -fPIC -fvisibility=hidden...
I tried to build LLFIO as a static library on Fedora 37 (current Clang and GCC) and got the following output on "cmake ..": ``` -- quickcpplib not found, cloning...
From https://www.reddit.com/r/cpp/comments/10tt5nw/comment/j7ezsof/?utm_source=share&utm_medium=web2x&context=3 When someone searches for the library what he is see is github readme page of the project first. And he expects to see list of main features, platforms...
[According to Stephan T. Lavavej](https://www.reddit.com/r/cpp/comments/6q94ai/chromium_windows_builds_now_use_clangcl_by_default/dkwdd8l/?context=10000) `container` types are not guaranteed to compile due to a longstanding bug in the C++ Standard. The `algorithm::traverse()` implementation triggers this defect with MSVC: ```...
I'm getting a few issues on this platform, would you know why that may be the case ? Maybe it's an issue with the MinGW API headers ? ``` In...
Here's the output from the program and backtrace from LLDB: ``` (lldb) run Process 67173 launched: '/Users/godtamit/src/llfio/programs/build/bin/fs-probe' (x86_64) Writing 17Gb of temporary test files, this will take a while ......