Skip to content

simple xattr improvements

Miklos Szeredi linux-fsdevel linux-mm 4 versions – Applied

Status from this message: Applied to the vfs-7.2.xattr branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied
  2. v34 patches 0 repliesSuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches6 repliesApplied

Changes in v4 from the cover letter

- yet another accounting fix for shmem_initxattrs

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4kernfs: fix xattr race condition with multiple superblocksfs/kernfs/file.c fs/kernfs/inode.c fs/kernfs/kernfs-internal.h +2 more+44 -140 replies
2/4tmpfs: simplify constructing "security.foo" xattr namesmm/shmem.c+2 -90 replies
3/4simple_xattr: change interface to pass struct simple_xattrs **fs/kernfs/dir.c fs/kernfs/inode.c fs/pidfs.c +4 more+71 -1270 replies
4/4simpe_xattr: use per-sb cachefs/kernfs/dir.c fs/kernfs/inode.c fs/kernfs/kernfs-internal.h +6 more+192 -1780 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] simple xattr improvements

v4:
- yet another accounting fix for shmem_initxattrs

v3:
- need per kernfs_node locking for simple_xattr_set
- another accounting fix for shmem_initxattrs

v2:
- don't use xxhash
- fix lazy alloc concurrency
- fix rcu freeing on evict
- fix rcu walk of per-inode list
- don't double account freed space

---
Miklos Szeredi (4):
kernfs: fix xattr race condition with multiple superblocks
tmpfs: simplify constructing "security.foo" xattr names
simple_xattr: change interface to pass struct simple_xattrs **
simpe_xattr: use per-sb cache

 fs/kernfs/dir.c             |  13 +-
 fs/kernfs/file.c            |  13 +-
 fs/kernfs/inode.c           |  36 ++---
 fs/kernfs/kernfs-internal.h |  24 +++-
 fs/kernfs/mount.c           |   2 +-
 fs/pidfs.c                  |  45 ++-----
 fs/xattr.c                  | 261 +++++++++++++++++++-----------------
 include/linux/kernfs.h      |  11 +-
 include/linux/shmem_fs.h    |   3 +-
 include/linux/xattr.h       |  35 +++--
 mm/shmem.c                  |  50 +++----
 net/socket.c                |  30 ++---
 12 files changed, 252 insertions(+), 271 deletions(-)
Signature · 1 line
2.54.0