|
|
Subscribe / Log in / New account

Add FITRIM ioctl support for exFAT filesystem

From:  Hyeongseok Kim <hyeongseok-AT-gmail.com>
To:  namjae.jeon-AT-samsung.com, sj1557.seo-AT-samsung.com
Subject:  [PATCH v2 0/2] Add FITRIM ioctl support for exFAT filesystem
Date:  Wed, 17 Feb 2021 07:33:04 +0900
Message-ID:  <20210216223306.47693-1-hyeongseok@gmail.com>
Cc:  linux-fsdevel-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Hyeongseok Kim <hyeongseok-AT-gmail.com>
Archive-link:  Article

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



Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds