Messages in this thread | | | From | "Sungjong Seo" <> | Subject | RE: [PATCH v4 2/2] exfat: add support ioctl and FITRIM function | Date | Tue, 2 Mar 2021 15:58:20 +0900 |
| |
> 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.kulkarni@wdc.com> > Signed-off-by: Hyeongseok Kim <hyeongseok@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.seo@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. :)
| |