Direct I/O support (patches included)
Linda Walsh
rsync at tlinx.org
Sat Feb 16 21:57:18 MST 2013
Dag Wieers wrote:
> On Thu, 14 Feb 2013, Brian K. White wrote:
>
>> On 2/14/2013 9:50 AM, Dag Wieers wrote:
>>
>>> Since a --direct-io feature was requested a few times the past decade
>>> with little response and the actual patch is quite trivial, I patched
>>> both v3.0.9 and master branch and included the patches here.
>>
>> When I drop the 3.0.9 diff into my otherwise working spec file for
>> 3.0.9 on opensuse build service, it patches and builds with no error,
>> but "make test" fails:
>
> Attached is an updated patch which takes care of the test cases.
>
> Kind regards,
>
---
Tried this patch, but it failed to work:
cmd:
cd /Media && {
sudo rsync --archive --hard-links --acls -xattrs --whole-file --drop-cache \
--one-file-system --drop-cache --8-bit-output \
--human-readable --progress --inplace --del . /backups/Media/.
}
----
first it deleted a bunch of stuff (~30 files)
deleting Library /
rsync: delete_file: unlink(MediaBack) failed: Operation not permitted (1)
.recycle/
.recycle/SDT27D6.tmp
0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=1006/1019)
.recycle/Library/
.recycle/Library/[Commie] Kotoura - 04 [FC6C5497].mkv
32.77K 0% 0.00kB/s 0:00:00
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]:Broken pipe
(32)
Then a bunch more deletes...(~17)
Then:
rsync: write failed on "/backups/Media/./.recycle/Library/[Commie] Kotoura - 04
[FC6C5497].mkv": Invalid argument (22)
rsync: connection unexpectedly closed (57 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605)
[sender=3.0.9]
???
More information about the rsync
mailing list