[PATCH v2 0/2] Add FITRIM ioctl support for exFAT filesystem

From: Hyeongseok Kim
Date: Tue Feb 16 2021 - 17:34:27 EST


This is for adding FITRIM ioctl functionality for exFAT filesystem.
For this, add generic ioctl handler and FITRIM operation.

Changelog
=========

v1->v2:
- Change variable declaration order as reverse tree style.
- Return -EOPNOTSUPP from sb_issue_discard() just as it is.
- Remove cond_resched() in while loop.
- Move ioctl related code into it's helper function.

Hyeongseok Kim (2):
exfat: add initial ioctl function
exfat: add support FITRIM ioctl

fs/exfat/balloc.c | 81 +++++++++++++++++++++++++++++++++++++++++++++
fs/exfat/dir.c | 5 +++
fs/exfat/exfat_fs.h | 4 +++
fs/exfat/file.c | 54 ++++++++++++++++++++++++++++++
4 files changed, 144 insertions(+)

--
2.27.0.83.g0313f36