xfs: add FITRIM support
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: NChristoph Hellwig <hch@lst.de> Reviewed-by: NDave Chinner <dchinner@redhat.com> Signed-off-by: NAlex Elder <aelder@sgi.com>
Showing
fs/xfs/linux-2.6/xfs_discard.c
0 → 100644
fs/xfs/linux-2.6/xfs_discard.h
0 → 100644
想要评论请 注册 或 登录