a46db60834
Allow manual discards from userspace using the FITRIM ioctl. This is not intended to be run during normal workloads, as the freepsace btree walks can cause large performance degradation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com>
9 lines
172 B
C
9 lines
172 B
C
#ifndef XFS_DISCARD_H
|
|
#define XFS_DISCARD_H 1
|
|
|
|
struct fstrim_range;
|
|
|
|
extern int xfs_ioc_trim(struct xfs_mount *, struct fstrim_range __user *);
|
|
|
|
#endif /* XFS_DISCARD_H */
|