History log of /freebsd-current/tools/regression/fsx/fsx.c
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# da303f5f 06-Jan-2023 Alan Somers <asomers@FreeBSD.org>

fsx: more consistent debug output with -[RWU]

MFC after: 2 weeks


# 3f8ca7a2 06-Jan-2023 Alan Somers <asomers@FreeBSD.org>

fsx: bounds check the inputs

In particular, don't allow the user to specify a file size that can't be
expressed as an int, since fsx's random-number generator only has a 32
bit range.

MFC after: 2 weeks


# 34e0b83c 21-Sep-2020 Alan Somers <asomers@FreeBSD.org>

fsx: fix build with WARNS=6

* signed/unsigned comparisons
* use standard warn(3)
* Suppress warnings about local vars and funcs not declared static
* const-correctness
* declaration shadows a variable in the global scope

Reviewed by: kevans
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26516


# f9fffe9e 28-Apr-2019 Alan Somers <asomers@FreeBSD.org>

fsx: seed more randomly with the -S0 option

When using -S0, seed the PRNG with the current time in nanoseconds, not
seconds, so consecutive runs don't accidentally use the same seed.

Also, rename some variables for clarity.

Reviewed by: ngie
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20078


# d9b7800b 19-Nov-2013 Andriy Gapon <avg@FreeBSD.org>

fsx: add an option to randomly call msync(MS_INVALIDATE)

This call should be a sufficiently close approximation of what happens
when a filesystem is unmounted and remounted. To be more specific, it
should test that the data that was in the page cache is the same data
that ends up on a stable storage or in a filesystem's internal cache,
if any.
This will catch the cases where a page with modified data is marked as
a clean page for whatever reason.

While there, make logging of the special events (open+close before
plus invalidation now) more generic and slightly better than the previous
hack.

MFC after: 10 days


# 2f0f2d0f 19-Nov-2013 Andriy Gapon <avg@FreeBSD.org>

fsx: new option to disable msync(MS_SYNC) after each write via mmaped region

This option should be useful for testing if a filesystem uses the
unified buffer / page cache.
Or, if filesystem's emulation of the unified cache works as expected.
This should be the case for e.g. ZFS.

MFC after: 1 week


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# b7498df2 19-Feb-2008 Ruslan Ermilov <ru@FreeBSD.org>

getopt(3) returns -1, not EOF.


# 544970d6 26-Jun-2007 Xin LI <delphij@FreeBSD.org>

Fix a obsecure coredump while testing with tmpfs on amd64.

Approved by: re (kensmith)


# ffc48c28 04-Aug-2006 John Birrell <jb@FreeBSD.org>

Fix for architectures where sizeof(void *) > sizeof(int).


# bad960b1 27-Jul-2004 Jordan K. Hubbard <jkh@FreeBSD.org>

After conferring with Apple legal, update the license of this to APSL 2.0
and change the URL link to point to the appropriate license text.


# f2e30adc 23-Apr-2003 Jordan K. Hubbard <jkh@FreeBSD.org>

Sync with latest and greatest Apple sources (which, among other things, fix
the style flag).

Submitted by: Conrad Minshall <conrad@apple.com>
Reviewed by: jkh
Obtained from: Apple Computer, Inc.


# 61404abc 19-Dec-2001 Jordan K. Hubbard <jkh@FreeBSD.org>

Add Apple's filesystem exercising tool.

Submitted by: Conrad Minshall <conrad@apple.com>
Obtained from: Apple Computer