JFS File-System Can Now Handle SSD TRIM Discard

The JFS file-system now supports TRIM for informing solid-state disks about blocks of data that are no longer in use and can be wiped internally. There's already been Linux support for the TRIM command on SSDs with EXT4, Btrfs, FAT, XFS, and other file-systems, but now it's come to the aging JFS file-system.
The Journaled File-System isn't nearly as popular with enthusiasts as XFS or EXT4 or Btrfs on Linux, but the IBM file-system still does have a fair amount of use.
Aside from the JFS TRIM support for the Linux 3.7 kernel pull, there's only a few minor fixes, as shown by the pull request.
The TRIM support for JFS has been a work in progress for several months by Tino Reichardt. This support comes via batched discard with the FITRIM ioctl and online discard when JFS is mounted with the discard mount option.
4 Comments