public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Namjae Jeon" <namjae.jeon@samsung.com>
To: "'Hyeongseok Kim'" <hyeongseok@gmail.com>, <sj1557.seo@samsung.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>
Subject: RE: [PATCH v4 0/2] Add FITRIM ioctl support for exFAT filesystem
Date: Thu, 4 Mar 2021 12:43:36 +0900	[thread overview]
Message-ID: <003001d710a8$8eb27850$ac1768f0$@samsung.com> (raw)
In-Reply-To: <20210302050521.6059-1-hyeongseok@gmail.com>

> 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
Applied. Thanks for your patches!

> 
>  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(-)
> 
> --
> 2.27.0.83.g0313f36



      parent reply	other threads:[~2021-03-04  3:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20210302050548epcas1p2ccec84f5de16f0971fc0479abe64ec3e@epcas1p2.samsung.com>
2021-03-02  5:05 ` [PATCH v4 0/2] Add FITRIM ioctl support for exFAT filesystem Hyeongseok Kim
2021-03-02  5:05   ` [PATCH v4 1/2] exfat: introduce bitmap_lock for cluster bitmap access Hyeongseok Kim
2021-03-02  6:54     ` Sungjong Seo
2021-03-02  5:05   ` [PATCH v4 2/2] exfat: add support ioctl and FITRIM function Hyeongseok Kim
2021-03-02  6:58     ` Sungjong Seo
2021-03-04  3:43   ` Namjae Jeon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003001d710a8$8eb27850$ac1768f0$@samsung.com' \
    --to=namjae.jeon@samsung.com \
    --cc=hyeongseok@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sj1557.seo@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox