Michel Machado
9c343a1b82
Bump version to 7.2
v7.2
2019-06-19 14:43:19 -04:00
Michel Machado
c9eee71ee9
f3write: add a backup speed measurement
...
If the drive is too fast for the measument of the flow algorithm,
this patch uses a coarse approximation of the writing speed.
2019-05-16 10:57:18 -04:00
Michel Machado
62ef9921c0
f3write: keep up with extremely fast NVM drives
...
NVM drives are fast enough to overflow 32-bit measurement variables
in bytes and blocks. This patch upgrades these variables to 64 bits.
This patch addresses issue #117 :
https://github.com/AltraMayor/f3/issues/117
2019-05-16 07:45:10 -04:00
Michel Machado
2766edd4be
f3write: adopt write_all() from libdevs.c
...
The file system HFS (i.e. "OS X Extended (Journaled)") of
macOS 10.11 may return a number of partial write()'s before
the file system is full.
This POSIX-permited, but unusual behavior was frist reported here:
https://github.com/AltraMayor/f3/issues/111
2019-03-11 12:22:48 -04:00
Michel Machado
3a25af5db3
Merge pull request #110 from bendem/feature/error-code
...
Return the status of the device as error code
2019-03-04 13:42:41 -03:00
bendem
90ed489c2a
Return the status of the device as error code
...
Closes #106
2019-03-04 16:57:36 +01:00
Michel Machado
fead723be5
f3write: improve measurement of write speed
...
A second shot on solving issue #102 .
2019-01-10 17:23:20 -05:00
Michel Machado
0b8c973c4c
f3write: improve measurement of write speed
...
According to issue #102 , calls to fdatasync() might take
a long time (.e.g. 3s or 4s) and distort the measurement of
the average write speed. This patch addresses it by only updating
the measurements when delays are within a tolerance.
2019-01-09 09:31:41 -05:00
Michel Machado
7f4a26d637
Merge pull request #101 from plonibarploni/patch-1
...
Update README.rst
2019-01-04 14:25:34 -05:00
plonibarploni
a0f22da863
Update README.rst
2019-01-04 14:12:39 -05:00
Michel Machado
1ba78e7e15
Merge pull request #99 from DEVoytas/add_missing_const
...
libdevs: bring back missing ‘const’ specifier
2019-01-02 08:22:32 -05:00
Mariusz Wojtasik
3ab5bad85c
libdevs: bring back missing ‘const’ specifier
...
Commit 7ff9fad37a32 ("libdevs: fix compiler warning") fixed the warning
by removing duplicate ‘const’ specifier.
The original intent of two ‘const’ specifiers, was most likely to make
non-mutable both: the ‘ftype_to_name‘ array itself and its elements,
so bring back the second ‘const’, but in the correct place this time,
i.e. after ‘*‘.
2018-12-30 21:31:07 +01:00
Michel Machado
7ff9fad37a
libdevs: fix compiler warning
...
Warning:
libdevs.c:26:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
static const char const *ftype_to_name[FKTY_MAX] = {
^~~~~
2018-12-10 14:07:48 -05:00
Michel Machado
381d8603c2
f3probe: deal with an assertion failure
...
This patch may address the following issue:
https://github.com/AltraMayor/f3/issues/82
2018-12-10 14:04:29 -05:00
Michel Machado
9ab7e7a48d
f3brew: add a comment to the code
...
The comment explains from where the name B-RE-W comes.
It is meant to address some confusion that may raise as
the following pull request points out:
https://github.com/AltraMayor/f3/pull/96
2018-11-28 09:33:36 -05:00
Michel Machado
4b2eabed72
Merge pull request #95 from dgw/link-updates
...
HTTPS-ify & fix links
2018-10-08 12:14:50 -04:00
dgw
f6f6d891c7
HTTPS-ify & fix links
...
Several of the HTTP links are now available over HTTPS, and the
documentation should link directly to the secure version of the
referenced page.
Along the way, a couple of broken links were updated.
2018-10-08 03:08:38 -05:00
Michel Machado
169ea4bcb4
Merge pull request #90 from jwilk-forks/spelling
...
Fix typos
2018-09-24 08:32:56 -04:00
Jakub Wilk
417a1851fa
Fix typos
2018-09-24 10:43:21 +02:00
Michel Machado
e56d2ac729
Bump version to 7.1
v7.1
2018-07-27 04:10:35 -04:00
Michel Machado
742f4e613f
f3probe: change default reset type to RT_NONE
...
Change default reset type from RT_USB to RT_NONE in order to
address the following issues:
https://github.com/AltraMayor/f3/issues/79
https://github.com/AltraMayor/f3/issues/81
2018-06-08 11:43:17 -04:00
Michel Machado
4eafe2885e
Merge pull request #75 from avindra/patch-1
...
Makefile: remove ownership setting
2018-02-05 09:48:57 -05:00
Avindra Goolcharan
74f2ead52d
Makefile: remove ownership setting
...
This causes openSUSE RPM builds to break (and probably other rpm based distros)
2018-02-03 12:56:20 -05:00
Michel Machado
e9495c16a3
Merge pull request #74 from mistydemeo/set_argp_per_os
...
Set argp-standalone flags per-OS
2018-01-31 10:27:01 -05:00
Michel Machado
572af383ca
Update README.rst
2018-01-31 10:25:02 -05:00
Misty De Meo
8dd6f0f4ec
README: update building instructions for argp
2018-01-30 19:02:53 -08:00
Misty De Meo
5ad4130088
Makefile: set argp flags on non-Linux OSs
2018-01-30 19:02:46 -08:00
Michel Machado
ed8c93758e
Merge pull request #72 from bmcdonnell-ionx/master
...
update README with prerequisites for building on Cygwin
2018-01-16 13:41:52 -05:00
McDonnell
b6be3deaa7
update README with prerequisites for building on Cygwin
2018-01-16 12:57:54 -05:00
Michel Machado
b7aa61bf15
README.rst: fix typo
2017-12-22 14:16:03 -05:00
Michel Machado
888cdf941b
f3write: make maximum write rate precise
...
When parameter --max-write-rate is used,
this patch makes the rate algorithm precisely match that rate.
The error was around 3% for rates above 1MB/s.
2017-12-22 14:14:56 -05:00
Michel Machado
8503adda01
Makefile: reverse previous pull request
...
The previous pull request broken Makefile for Linux.
It'd be great to have a solution for all platforms, but, for now,
one has to uncomment lines on Makefile to work on some platforms.
2017-12-22 09:15:24 -05:00
Michel Machado
250f584e06
Merge pull request #67 from ilovezfs/argp
...
Add ARGP to Makefile
2017-12-22 09:07:35 -05:00
Michel Machado
02bdccba4c
Update Makefile
2017-12-22 09:07:02 -05:00
ilovezfs
f10263dd89
Add ARGP to Makefile
...
Allow the prefix of argp-standalone to be passed to `make` so that the
CFLAGS and LDFLAGS for argp-standalone don't have to be set manually.
2017-12-21 15:28:24 -08:00
Michel Machado
b8864dac2d
Bump version to 7.0
v7.0
2017-12-21 14:32:02 -05:00
Michel Machado
865c44f21c
f3write: fix saved_error bug
...
When measure() fails at the very last end of a file,
@remaining is zero.
Since @saved_errno is not ENOSPC, but @remaining is zero,
the code was considering that the file was properly written.
2017-12-19 15:22:48 -05:00
Michel Machado
485b81ceb0
f3write: suggest --max-write-rate for error EIO
2017-12-19 11:46:32 -05:00
Michel Machado
2544c80ab0
f3write: add parameter --max-write-rate
...
This parameter is useful to test cards that overheat.
Daniel Otero (@danielotero) pointed out the overheat problem, and
suggested the parameter as a solution in the following issue:
https://github.com/AltraMayor/f3/issues/37
2017-12-19 10:50:40 -05:00
Michel Machado
7172cff4b9
f3write: gracefully handle failures of fdatasync(2)
...
This patch solves the following issue:
https://github.com/AltraMayor/f3/issues/37
2017-12-18 16:04:45 -05:00
Michel Machado
74028104f6
Merge pull request #66 from anarcat/rst
...
convert documentation and website to Sphinx
2017-11-16 15:39:54 -05:00
Antoine Beaupré
5d946689b7
add local TOC for the long usage page
2017-11-16 13:13:31 -05:00
Antoine Beaupré
b35ff562c9
show prev/next links
...
Otherwise there is no obvious way to go back up to other sections
2017-11-16 13:13:21 -05:00
Antoine Beaupré
d0523b7d5f
split webpage in different documents
2017-11-16 12:43:58 -05:00
Antoine Beaupré
6a2591a463
add sphinx boilerplate
2017-11-16 12:37:48 -05:00
Antoine Beaupré
4324c1cc44
convert webpage into RST
2017-11-16 12:36:45 -05:00
Antoine Beaupré
2e8a6e601e
convert README into a RST file
2017-11-16 11:24:53 -05:00
Michel Machado
6450f07bdf
Merge pull request #64 from anarcat/patch-1
...
README improvements
2017-07-19 11:46:33 -04:00
anarcat
d98c65edf5
add table of contents
...
generated with emacs `markdown-toc` module
2017-07-19 08:54:35 -04:00
anarcat
bc9c711b88
group instructions under common headings
...
we regroup compilation instructions together and the last two misc sections.
2017-07-19 08:52:17 -04:00