pull/1692/merge
Dominique Martinet 2021-11-13 17:24:24 +01:00 committed by GitHub
commit 52e4211b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 11 deletions

View File

@ -1357,9 +1357,10 @@ Advanced Options
If you are using newer file systems such as ext4 If you are using newer file systems such as ext4
(with extents support), btrfs, xfs or NTFS(MinGW build only), ``falloc`` is (with extents support), btrfs, xfs or NTFS(MinGW build only), ``falloc`` is
your best choice. It allocates large(few GiB) your best choice. It allocates large(few GiB)
files almost instantly. Don't use ``falloc`` with files almost instantly. Note that btrfs disables compression when
legacy file systems such as ext3 and FAT32 because it takes pre-allocating, use ``trunc`` or ``none`` if you want compression.
almost same time as ``prealloc`` and it blocks aria2 Don't use ``falloc`` with legacy file systems such as ext3 and FAT32
because it takes almost same time as ``prealloc`` and it blocks aria2
entirely until allocation finishes. ``falloc`` may entirely until allocation finishes. ``falloc`` may
not be available if your system doesn't have not be available if your system doesn't have
:manpage:`posix_fallocate(3)` function. :manpage:`posix_fallocate(3)` function.

View File

@ -1204,9 +1204,10 @@ Opções Avançadas
If you are using newer file systems such as ext4 If you are using newer file systems such as ext4
(with extents support), btrfs, xfs or NTFS(MinGW build only), ``falloc`` is (with extents support), btrfs, xfs or NTFS(MinGW build only), ``falloc`` is
your best choice. It allocates large(few GiB) your best choice. It allocates large(few GiB)
files almost instantly. Don't use ``falloc`` with files almost instantly. Note that btrfs disables compression when
legacy file systems such as ext3 and FAT32 because it takes pre-allocating, use ``trunc`` or ``none`` if you want compression.
almost same time as ``prealloc`` and it blocks aria2 Don't use ``falloc`` with legacy file systems such as ext3 and FAT32
because it takes almost same time as ``prealloc`` and it blocks aria2
entirely until allocation finishes. ``falloc`` may entirely until allocation finishes. ``falloc`` may
not be available if your system doesn't have not be available if your system doesn't have
:manpage:`posix_fallocate(3)` function. :manpage:`posix_fallocate(3)` function.

View File

@ -138,12 +138,15 @@
" the file.\n" \ " the file.\n" \
" If you are using newer file systems such as ext4\n" \ " If you are using newer file systems such as ext4\n" \
" (with extents support), btrfs, xfs or NTFS\n" \ " (with extents support), btrfs, xfs or NTFS\n" \
" (MinGW build only), 'falloc' is your best\n" \ " (MinGW build only), 'falloc' is your best\n" \
" choice. It allocates large(few GiB) files\n" \ " choice. It allocates large(few GiB) files\n" \
" almost instantly. Don't use 'falloc' with legacy\n" \ " almost instantly. Note that btrfs disables\n" \
" file systems such as ext3 and FAT32 because it\n" \ " compression when pre-allocating, use ``trunc``\n" \
" takes almost same time as 'prealloc' and it\n" \ " or ``none`` if you want compression. Don't use\n" \
" blocks aria2 entirely until allocation finishes.\n" \ " 'falloc' with legacy file systems such as ext3\n" \
" and FAT32 because it takes almost same time as\n" \
" 'prealloc' and it blocks aria2 entirely until\n" \
" allocation finishes.\n" \
" 'falloc' may not be available if your system\n" \ " 'falloc' may not be available if your system\n" \
" doesn't have posix_fallocate() function.\n" \ " doesn't have posix_fallocate() function.\n" \
" 'trunc' uses ftruncate() system call or\n" \ " 'trunc' uses ftruncate() system call or\n" \