Add FITRIM ioctl support for exFAT filesystem
Status from this message: Applied. Thanks for your patches!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 3 repliesApplied
- v31 patch 1 replySuperseded
- v22 patches 8 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- Introduce bitmap_lock mutex to narrow the lock range for bitmap access and change to use bitmap_lock instead of s_lock in FITRIM handler to prevent read stall while ongoing fstrim.
- Minor code style fix
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | exfat: introduce bitmap_lock for cluster bitmap accessfs/ fs/ fs/ | +31 | 1 reply | |
| 2/2 | exfat: add support ioctl and FITRIM functionfs/ fs/ fs/ +1 more | +142 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Chaitanya Kulkarni | Sungjong Seo |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] Add FITRIM ioctl support for exFAT filesystem
This is for adding FITRIM ioctl functionality to exFAT filesystem. Firstly, because the fstrim is long operation, introduce bitmap_lock to narrow the lock range to prevent read operation stall. After that, add generic ioctl function and FITRIM handler.
Changelog
=========v3->v4:
- Introduce bitmap_lock mutex to narrow the lock range for bitmap access and change to use bitmap_lock instead of s_lock in FITRIM handler to prevent read stall while ongoing fstrim.
- Minor code style fix
v2->v3:
- Remove unnecessary local variable
- Merge all changes to a single patch
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: introduce bitmap_lock for cluster bitmap access
exfat: add support ioctl and FITRIM function
fs/exfat/balloc.c | 80 +++++++++++++++++++++++++++++++++++++++++++++ fs/exfat/dir.c | 5 +++ fs/exfat/exfat_fs.h | 5 +++ fs/exfat/fatent.c | 37 ++++++++++++++++----- fs/exfat/file.c | 53 ++++++++++++++++++++++++++++++ fs/exfat/super.c | 1 + 6 files changed, 173 insertions(+), 8 deletions(-)
Signature · 1 line
2.27.0.83.g0313f36