Only display the "Discarding device blocks:" status bar if discard is actually implemented in the IO manager and in the kernel. Otherwise, there is no correct test result that will work in all environments. I'd prefer not to print an error message for the majority of devices that do not support discard, since this is confusing. Signed-off-by: Andreas Dilger <adilger@xxxxxxxxx>
Attachment:
e2fsprogs-discard.patch
Description: Binary data