fsx: Small improvements and fixes
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 11 Jan 2016 03:43:40 +0000 (14:43 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2016 03:43:40 +0000 (14:43 +1100)
commit3597757462a79437aabec85e5742fd803e8899b3
tree71c4c8c20fbd4030bde167c5f7b74e8cdfa4c97b
parentb7fd3f05d6a7a320d13ff507eda2e5b183cae180
fsx: Small improvements and fixes

Move the run_fsx shell function into common/rc.  Fix it to avoid
duplicate output on errors.  Write the actual fsx parameters used into
$seqres.full instead of the BSIZE and PSIZE placeholders.

Include the symbolic fallocate mode in fsx error messages instead of the
numeric value.  Use fprintf(stderr, ...) instead of warn() when
including strerror(errno) doesn't make sense.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
ltp/fsx.c
tests/generic/091
tests/generic/263