Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
jfs_discard.h File Reference

Go to the source code of this file.

Functions

void jfs_issue_discard (struct inode *ip, u64 blkno, u64 nblocks)
 
int jfs_ioc_trim (struct inode *ip, struct fstrim_range *range)
 

Function Documentation

int jfs_ioc_trim ( struct inode ip,
struct fstrim_range range 
)

convert byte values to block size of filesystem: start: First Byte to trim len: number of Bytes to trim from start minlen: minimum extent length in Bytes

we trim all ag's within the range

Definition at line 80 of file jfs_discard.c.

void jfs_issue_discard ( struct inode ip,
u64  blkno,
u64  nblocks 
)

Definition at line 45 of file jfs_discard.c.