<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch fiemap-copy</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=fiemap-copy</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=fiemap-copy'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-06-13T14:19:29Z</updated>
<entry>
<title>build: distribute new file, fiemap.h</title>
<updated>2010-06-13T14:19:29Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-13T14:19:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=be5548445e90a36ab5018cac0fb19f2498d0521c'/>
<id>urn:sha1:be5548445e90a36ab5018cac0fb19f2498d0521c</id>
<content type='text'>
* src/Makefile.am (noinst_HEADERS): Add fiemap.h.
</content>
</entry>
<entry>
<title>copy.c: add FIEMAP_FLAG_SYNC to fiemap ioctl</title>
<updated>2010-06-11T13:30:58Z</updated>
<author>
<name>Jie Liu</name>
<email>jeff.liu@oracle.com</email>
</author>
<published>2010-06-11T08:29:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=98b2a24d7f00fba786a81870c9c9c8ffb9b8f9cf'/>
<id>urn:sha1:98b2a24d7f00fba786a81870c9c9c8ffb9b8f9cf</id>
<content type='text'>
* src/copy.c (fiemap_copy): Force kernel to sync the source
file before mapping.
</content>
</entry>
<entry>
<title>fiemap.h: include &lt;stdint.h&gt;, not &lt;linux/types.h&gt;</title>
<updated>2010-06-11T12:14:39Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-09T06:42:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=20c1eeec11acd999aad8dfcb1919a86fab16f1a5'/>
<id>urn:sha1:20c1eeec11acd999aad8dfcb1919a86fab16f1a5</id>
<content type='text'>
* src/fiemap.h: Include stdint.h, not linux/types.h,
now that this file uses only portable type names.
</content>
</entry>
<entry>
<title>copy.c: ensure proper alignment of fiemap buffer</title>
<updated>2010-06-11T12:14:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-06-09T06:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f9daf7e7ed97f21fc5d9d4e41e43c8d7b8c49373'/>
<id>urn:sha1:f9daf7e7ed97f21fc5d9d4e41e43c8d7b8c49373</id>
<content type='text'>
* src/copy.c (fiemap_copy): Ensure that our fiemap buffer
is large enough and well-aligned.
Replace "0LL" with equivalent "0" as 3rd argument to lseek.
</content>
</entry>
<entry>
<title>copy.c: adjust comments, tweak semantics</title>
<updated>2010-06-11T12:14:39Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-05T08:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1a2b6d093887a6089fd3b45e20b9699d540a802a'/>
<id>urn:sha1:1a2b6d093887a6089fd3b45e20b9699d540a802a</id>
<content type='text'>
* src/copy.c (fiemap_copy): Rename from fiemap_copy_ok.
Add/improve comments.
Remove local, "fail".
(fiemap_copy): Do not require caller to set
"normal_copy_required" before calling fiemap_copy.
Report ioctl failure if it's the 2nd or subsequent call.
</content>
</entry>
<entry>
<title>cp: Add FIEMAP support for efficient sparse file copy</title>
<updated>2010-06-11T12:10:57Z</updated>
<author>
<name>Jie Liu</name>
<email>jeff.liu@oracle.com</email>
</author>
<published>2010-05-13T14:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1ba1e9ae9401480324e56eb9e68547653687be5f'/>
<id>urn:sha1:1ba1e9ae9401480324e56eb9e68547653687be5f</id>
<content type='text'>
* src/fiemap.h: Add fiemap.h for fiemap ioctl(2) support.
Copied from linux's include/linux/fiemap.h, with minor formatting changes.
* src/copy.c (copy_reg): Now, when `cp' invoked with --sparse=[WHEN] option, we
will try to do FIEMAP-copy if the underlaying file system support it, fall back
to a normal copy if it fails.
</content>
</entry>
<entry>
<title>ls: avoid just-introduced buffer overrun</title>
<updated>2010-06-10T15:53:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-10T15:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ea615bf8cdc59c73288577fb135d6f2ead500ebe'/>
<id>urn:sha1:ea615bf8cdc59c73288577fb135d6f2ead500ebe</id>
<content type='text'>
* src/ls.c (gobble_file): Revert part of my preceding change,
to avoid clobbering stack.
</content>
</entry>
<entry>
<title>maint: adjust INT_BUFSIZE_BOUND usage for maintainability</title>
<updated>2010-06-08T11:16:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-07T05:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9e7edd8467232b5c6b714d588d0e1528cc54151b'/>
<id>urn:sha1:9e7edd8467232b5c6b714d588d0e1528cc54151b</id>
<content type='text'>
* src/tail.c (xlseek): Give INT_BUFSIZE_BOUND a variable name,
not a type name.
* src/ls.c (gobble_file, format_user_or_group_width): Likewise.
* src/head.c (elide_tail_bytes_pipe): Likewise.
(elide_tail_lines_seekable, main): Likewise.
[This change is not complete -- there are doubtless other uses
that can be updated in the same way.]
</content>
</entry>
<entry>
<title>sort: avoid unnecessary use of sprintf</title>
<updated>2010-06-08T11:16:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-06-06T16:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ad89ea6a0dc4a404871f87eef6e9727c07f4cfb6'/>
<id>urn:sha1:ad89ea6a0dc4a404871f87eef6e9727c07f4cfb6</id>
<content type='text'>
sprintf is relatively heavy-weight.
* src/sort.c (key_warnings): Use umaxtostr and stpcpy rather
than sprintf.
Also, replace each INT_BUFSIZE_BOUND "type_name" argument
with the equivalent variable name.  More maintainable that way.
</content>
</entry>
<entry>
<title>dirname: tweak summary wording</title>
<updated>2010-06-08T10:28:19Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-06-07T15:42:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=04bed02096fc574476886d6494a6a147b5208f6b'/>
<id>urn:sha1:04bed02096fc574476886d6494a6a147b5208f6b</id>
<content type='text'>
* doc/coreutils.texi (dirname invocation): Reword to be more
precise.
* src/dirname.c (usage): Likewise.
* THANKS: Update.
Reported by Filipus Klutiero, bug 6175.
</content>
</entry>
</feed>
