]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Let user choose larger buffers for IO reading
authorEduard Bloch <blade@debian.org>
Mon, 27 Sep 2021 07:07:23 +0000 (09:07 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Sep 2021 11:47:09 +0000 (13:47 +0200)
commit722762b6172f4d115497b866c4e06f762f12d12f
tree7436d9cd876eed0d888b1502b99cbe680e0b5027
parent0647bbe519d2b526774f38bfd3e8023254a42e55
Let user choose larger buffers for IO reading

Simultaneous reading of multiple files through a small one-page buffer
is slow with classic HDDs. Let the user improve it by chosing buffers of
several mebibytes if needed.

[kzak@redhat.com: - tiny changes to coding style
                  - mark buffers static
                  - use xalloc.h]

Signed-off-by: Eduard Bloch <blade@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/hardlink.1.adoc
misc-utils/hardlink.c