Use upstream version of fstrim instead of the local one
authorTomas Racek <tracek@redhat.com>
Tue, 9 Oct 2012 13:24:10 +0000 (13:24 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 24 Oct 2012 17:18:11 +0000 (12:18 -0500)
commit8ddf4d1a1ea630a610521926c11a63d845edc20d
treedf690522b541ebd5961c61ead147b191646a594e
parent680e88e7cadaca6745d95be4ce5b491c593c64d7
Use upstream version of fstrim instead of the local one

Local version of fstrim was dropped so that we depend on upstream
version which is now available via FSTRIM_PROG. _require_fstrim was
added to check if fstrim is available in the system and
_test_batched_discard to check if we can run fstrim on certain
mountpoint.

Also tests 251 and 260 were modified to reflect this change.

Signed-off-by: Tomas Racek <tracek@redhat.com>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
.gitignore
251
260
260.out
common.config
common.rc
src/Makefile
src/fstrim.c [deleted file]