Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/blkdev.h>
#include "jfs_incore.h"
#include "jfs_superblock.h"
#include "jfs_discard.h"
#include "jfs_dmap.h"
#include "jfs_debug.h"
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) |
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.