summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-07-25 15:50:24 -0700
committerSimon Hausmann <simon.hausmann@qt.io>2017-08-22 06:56:25 +0000
commit9c112a37ba80537a287b5cf441f2f22ec7feffbf (patch)
tree6a5499ec923d8c5bf03c3be80b56d8667075880f /src/tools/uic/cpp/cppwriteinitialization.cpp
parent974b3adf8a099ca95fc2eabfc434038ce73f62c8 (diff)
QFileSystemEngine::cloneFile: expand the Linux cloning process
FICLONE only works on (currently) btrfs and xfs, and then only if it's the same mount, so it's of very limited use. There are a couple other techniques we may try that do not involve I/O through user-space, though not immediate: - sendfile(2) can be used on regular files, even across mountpoints - sendfile(2) can be used on block devices too, but we need to get the device's size first - splice(2) can be used on pipes (FIFOs) We only implement the first technique (earlier iterations of this patch implemented all). Change-Id: I81480fdb578d4d43b3fcfffd14d4b47cd70495a3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions