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>
Sun, 30 Jan 2011 19:44:12 +0000 (20:44 +0100)
commit3953f7523e560fa8afc21a82d845dbe2e2fbe1b0
treeca3fa3b5bbedbfab2d6d932de89f45745d2f8fb1
parentcfbeeafd4ad2a16a10fa9702c6576ca8b2a1c859
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