This patch adds support for the two linux interfaces of the discard/TRIM command for SSD devices and sparse/thinly-provisioned LUNs. JFS will support batched discard via FITRIM ioctl and online discard with the discard mount option. I also think that a short description of the FITRIM ioctl should it made into Documetation/ioctl/fitrim.txt - but that would be part of some other patch. Maybe from Lukas Czerner? For the online discard, you can also specify the minimum number of blocks. Everything of it is described in Documentation/filesystems/jfs.txt... so I am not writing it again in that mail. So than, maybe some other can stress-test JFS on some SSD as well? Signed-off-by: Tino Reichardt PS: Sorry for my bad english ;) -- regards, TR