JFS File-System Can Now Handle SSD TRIM Discard

Written by Michael Larabel in Linux Kernel on 3 October 2012 at 12:10 PM EDT. 4 Comments
LINUX KERNEL
Yet another change for the Linux 3.7 kernel is that the JFS file-system now supports the SSD TRIM command.

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.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week