> Add FITRIM ioctl to enable discarding unused blocks while mounted. > As current exFAT doesn't have generic ioctl handler, add empty ioctl > function first, and add FITRIM handler. > > Reviewed-by: Chaitanya Kulkarni <chaitanya.kulka...@wdc.com> > Signed-off-by: Hyeongseok Kim <hyeongs...@gmail.com> > --- > fs/exfat/balloc.c | 80 +++++++++++++++++++++++++++++++++++++++++++++ > fs/exfat/dir.c | 5 +++ > fs/exfat/exfat_fs.h | 4 +++ > fs/exfat/file.c | 53 ++++++++++++++++++++++++++++++ > 4 files changed, 142 insertions(+) >
It looks better than v3. Thanks for your work! Acked-by: Sungjong Seo <sj1557....@samsung.com> BTW, there is still a problem that the alloc/free cluster operation waits until the trimfs operation is finished. Any ideas for improvement in the future are welcome. :)