[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] cp,install,mv: add --debug to explain how a file is copied
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] cp,install,mv: add --debug to explain how a file is copied |
Date: |
Thu, 23 Feb 2023 21:29:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0 |
Updated patches attached.
The new output looks like:
$ src/cp --debug src/cp file.sparse
'src/cp' -> 'file.sparse'
copy offload: yes, reflink: unsupported, sparse detection: no
$ truncate -s+1M file.sparse
$ src/cp --debug file.sparse file.sparse.cp
'file.sparse' -> 'file.sparse.cp'
copy offload: yes, reflink: unsupported, sparse detection: SEEK_HOLE
$ src/cp --reflink=never --debug file.sparse file.sparse.cp
'file.sparse' -> 'file.sparse.cp'
copy offload: avoided, reflink: no, sparse detection: SEEK_HOLE
cheers,
Pádraig
0001-cp-install-mv-add-debug-to-explain-how-a-file-is-cop.patch
Description: Text Data
0002-tests-determine-if-SEEK_HOLE-is-enabled.patch
Description: Text Data