<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/unix/kernel_copy.rs, branch 1.52.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.52.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.52.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-02-22T20:41:32+00:00</updated>
<entry>
<title>fix io::copy specialization when writer was opened with O_APPEND</title>
<updated>2021-02-22T20:41:32+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2021-02-22T20:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81602fb6706654b868dd74ee88f680c57d4311cb'/>
<id>urn:sha1:81602fb6706654b868dd74ee88f680c57d4311cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve comment grammar</title>
<updated>2020-12-09T20:31:37+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-12-09T20:12:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7647d03c33339bd85a1665047b22ae7e800fee98'/>
<id>urn:sha1:7647d03c33339bd85a1665047b22ae7e800fee98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>implement better availability probing for copy_file_range</title>
<updated>2020-12-09T20:31:37+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-11-21T18:34:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=028754a2f7f62ed1e4df889fadfa74eb2d007109'/>
<id>urn:sha1:028754a2f7f62ed1e4df889fadfa74eb2d007109</id>
<content type='text'>
previously any attempt to copy to an immutable file (EPERM) would disable
copy_file_range support for the whole process.
</content>
</entry>
<entry>
<title>fix copy specialization not updating Take wrappers</title>
<updated>2020-12-02T23:02:01+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-12-02T22:35:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18'/>
<id>urn:sha1:a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Leverage kernel copy for UnixStream</title>
<updated>2020-12-01T13:45:36+00:00</updated>
<author>
<name>Nicolas Koch</name>
<email>nioko1337@googlemail.com</email>
</author>
<published>2020-12-01T13:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59874516fae2abd97539c2c50601302c6b61ee0f'/>
<id>urn:sha1:59874516fae2abd97539c2c50601302c6b61ee0f</id>
<content type='text'>
UDS can be a sendfile destination, just like TCP sockets.
</content>
</entry>
<entry>
<title>Use syscall! for copy_file_range too</title>
<updated>2020-11-16T19:31:12+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2020-11-05T22:09:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cd22381daa7f23bf20a739ac35c95ff77921d9a0'/>
<id>urn:sha1:cd22381daa7f23bf20a739ac35c95ff77921d9a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always handle EOVERFLOW by falling back to the generic copy loop</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-11-12T22:39:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bbfa92c82debed28417350b15fc6a2f46135346d'/>
<id>urn:sha1:bbfa92c82debed28417350b15fc6a2f46135346d</id>
<content type='text'>
Previously EOVERFLOW handling was only applied for io::copy specialization
but not for fs::copy sharing the same code.

Additionally we lower the chunk size to 1GB since we have a user report
that older kernels may return EINVAL when passing 0x8000_0000
but smaller values succeed.
</content>
</entry>
<entry>
<title>do direct splice syscall and probe availability to get android builds to work</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-11-06T22:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4854d418a5245b07eca7dbec92a29d18af13a821'/>
<id>urn:sha1:4854d418a5245b07eca7dbec92a29d18af13a821</id>
<content type='text'>
Android builds use feature level 14, the libc wrapper for splice is gated
on feature level 21+ so we have to invoke the syscall directly.
Additionally the emulator doesn't seem to support it so we also have to
add ENOSYS checks.
</content>
</entry>
<entry>
<title>move sendfile/splice/copy_file_range into kernel_copy module</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-10-15T01:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3dfc377aa12293ace29f9a055f0aeb634d107ed9'/>
<id>urn:sha1:3dfc377aa12293ace29f9a055f0aeb634d107ed9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>limit visibility of copy offload helpers to sys::unix module</title>
<updated>2020-11-13T21:38:27+00:00</updated>
<author>
<name>The8472</name>
<email>git@infinite-source.de</email>
</author>
<published>2020-10-14T23:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=888b1031bc267132c66dbba49b43a55a83452ca4'/>
<id>urn:sha1:888b1031bc267132c66dbba49b43a55a83452ca4</id>
<content type='text'>
</content>
</entry>
</feed>
