2021-09-14 00:38:11

by Konstantin Komarov

[permalink] [raw]
Subject: [PATCH 0/3] fs/ntfs3: Speed up hardlink creation

xfstest generic/041 was taking some time before failing,
so this series aims to fix it and speed up.
Because of this we raise hardlinks limit to 4000.
There are no drawbacks or regressions.
Theoretically we can raise all the way up to ffff,
but there is no practical use for this.

Konstantin Komarov (3):
fs/ntfs3: Fix insertion of attr in ni_ins_attr_ext
fs/ntfs3: Change max hardlinks limit to 4000
fs/ntfs3: Add sync flag to ntfs_sb_write_run and al_update

fs/ntfs3/attrib.c | 2 +-
fs/ntfs3/attrlist.c | 6 +++---
fs/ntfs3/frecord.c | 9 ++++++++-
fs/ntfs3/fslog.c | 8 ++++----
fs/ntfs3/fsntfs.c | 8 ++++----
fs/ntfs3/inode.c | 2 +-
fs/ntfs3/ntfs.h | 8 +++++---
fs/ntfs3/ntfs_fs.h | 4 ++--
fs/ntfs3/xattr.c | 2 +-
9 files changed, 29 insertions(+), 20 deletions(-)

--
2.33.0


2021-09-18 13:31:33

by Kari Argillander

[permalink] [raw]
Subject: Re: [PATCH 0/3] fs/ntfs3: Speed up hardlink creation

On Mon, Sep 13, 2021 at 06:09:42PM +0300, Konstantin Komarov wrote:
> xfstest generic/041 was taking some time before failing,
> so this series aims to fix it and speed up.
> Because of this we raise hardlinks limit to 4000.
> There are no drawbacks or regressions.
> Theoretically we can raise all the way up to ffff,
> but there is no practical use for this.

Hi. Sorry for taking so long. Did not notice that this is actually
another version. Please use v2 in subject. I did ask you to write little
bit more to commit "Change max hardlinks limit to 4000". Now you have
write it here. Cover letter will not be in commit messages. You need to
write this info to commit message also.

>
> Konstantin Komarov (3):
> fs/ntfs3: Fix insertion of attr in ni_ins_attr_ext
> fs/ntfs3: Change max hardlinks limit to 4000
> fs/ntfs3: Add sync flag to ntfs_sb_write_run and al_update
>
> fs/ntfs3/attrib.c | 2 +-
> fs/ntfs3/attrlist.c | 6 +++---
> fs/ntfs3/frecord.c | 9 ++++++++-
> fs/ntfs3/fslog.c | 8 ++++----
> fs/ntfs3/fsntfs.c | 8 ++++----
> fs/ntfs3/inode.c | 2 +-
> fs/ntfs3/ntfs.h | 8 +++++---
> fs/ntfs3/ntfs_fs.h | 4 ++--
> fs/ntfs3/xattr.c | 2 +-
> 9 files changed, 29 insertions(+), 20 deletions(-)
>
> --
> 2.33.0
>