fsstress: add the -c option
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Aug 2015 04:10:44 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:44 +0000 (14:10 +1000)
commitad75f2869014d4f1f68893ac2ffcbe9deff14b13
treebc0705ffe07dcde51497382f6221d79383c6b5c3
parentcf67ba1e32ce76c067ac61d6d4cda72b8e1e3332
fsstress: add the -c option

This option causes fsstress to delete the test directory between each
run.  This is the opposite from the ltp version of fsstress, which
deletes the test directory by default, and the -c option caused ltp's
fsstress _not_ to delete the test directory.

It can be useful to be able to have the same test behavior as ltp
version, and although reversing the sense of the option is
unfortunate, it also reserves the -c option, which makes it a bit
easier if we want to eventually have one version which is a superset
of the xfstest and ltp version of fsstress.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
ltp/fsstress.c