summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_incore.h
diff options
context:
space:
mode:
authorTino Reichardt <milky-kernel@mcmilk.de>2012-09-17 11:58:19 -0500
committerDave Kleikamp <dave.kleikamp@oracle.com>2012-09-17 11:58:19 -0500
commitb40c2e665cd552eae5fbdbb878bc29a34357668e (patch)
tree23714e5773a77abf1daf71ca7958dcd8dfa688ea /fs/jfs/jfs_incore.h
parentfbcbe2b3c92ee1c930dcfcf8bb764074c100fd63 (diff)
fs/jfs: TRIM support for JFS Filesystem
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. Signed-off-by: Tino Reichardt <list-jfs@mcmilk.de> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_incore.h')
-rw-r--r--fs/jfs/jfs_incore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jfs/jfs_incore.h b/fs/jfs/jfs_incore.h
index 584a4a1a6e81..4fa958ae1986 100644
--- a/fs/jfs/jfs_incore.h
+++ b/fs/jfs/jfs_incore.h
@@ -195,6 +195,7 @@ struct jfs_sb_info {
uint uid; /* uid to override on-disk uid */
uint gid; /* gid to override on-disk gid */
uint umask; /* umask to override on-disk umask */
+ uint minblks_trim; /* minimum blocks, for online trim */
};
/* jfs_sb_info commit_state */