]> git.ipfire.org Git - thirdparty/coreutils.git/commit
fiemap copy: avoid a performance hit due to very small buffer
authorJim Meyering <meyering@redhat.com>
Thu, 27 Jan 2011 16:30:08 +0000 (17:30 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 29 Jan 2011 16:05:28 +0000 (17:05 +0100)
commit4d64bef1d630e356871d04aeda007a957719088d
tree4fd68f30dd1732e0d392704465de7f2886be7cef
parent9869073ddb4d202becf6471fc4c46203edcde7b6
fiemap copy: avoid a performance hit due to very small buffer

* src/copy.c (extent_copy): Don't let what should have been a
temporary reduction of buf_size (to handle a short ext_len) become
permanent and thus impact the performance of all further iterations.
src/copy.c