Skip to content

fs/ntfs3: Refactor locking in inode_operations

Konstantin Komarov linux-fsdevel lkml ntfs3 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

added patch, that fixes logical error in ntfs_create_inode

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6fs/ntfs3: Fix logical error in ntfs_create_inodefs/ntfs3/inode.c+1 -10 replies
2/6fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inodefs/ntfs3/inode.c fs/ntfs3/namei.c+14 -230 replies
3/6fs/ntfs3: Refactor ntfs_get_acl_ex for better readabilityfs/ntfs3/xattr.c+6 -30 replies
4/6fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_exfs/ntfs3/xattr.c+7 -20 replies
5/6fs/ntfs3: Change posix_acl_equiv_mode to posix_acl_update_modefs/ntfs3/xattr.c+4 -111 reply
6/6fs/ntfs3: Refactoring lock in ntfs_init_aclfs/ntfs3/xattr.c+14 -410 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKari Argillander
SeriesR-b
1/6
2/6
3/6
4/6
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] fs/ntfs3: Refactor locking in inode_operations

Speed up work with dir lock.
Theoretically in successful cases those locks aren't needed at all. But proving the same for error cases is difficult.
So instead of removing them we just move them.

V2:
added patch, that fixes logical error in ntfs_create_inode

Konstantin Komarov (6):
fs/ntfs3: Fix logical error in ntfs_create_inode fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inode fs/ntfs3: Refactor ntfs_get_acl_ex for better readability fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_ex fs/ntfs3: Change posix_acl_equiv_mode to posix_acl_update_mode fs/ntfs3: Refactoring lock in ntfs_init_acl

 fs/ntfs3/inode.c | 19 ++++++++---
 fs/ntfs3/namei.c | 20 -----------
 fs/ntfs3/xattr.c | 88 +++++++++++++++++-------------------------------
 3 files changed, 46 insertions(+), 81 deletions(-)
Signature · 1 line
2.33.0