Skip to content

Squashfs: add xattr file system support

Phillip Lougher linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4squashfs: add xattr id supportfs/squashfs/Makefile fs/squashfs/squashfs.h fs/squashfs/squashfs_fs.h +3 more+161 -40 replies
2/4squashfs: add support for xattr readingfs/squashfs/Makefile fs/squashfs/squashfs_fs.h fs/squashfs/squashfs_fs_i.h +1 more+342 -10 replies
3/4squashfs: add new extended inode typesfs/squashfs/inode.c fs/squashfs/namei.c fs/squashfs/squashfs.h +3 more+135 -160 replies
4/4squashfs: add xattr support configure optionfs/squashfs/Kconfig fs/squashfs/Makefile fs/squashfs/inode.c +5 more+63 -81 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Squashfs: add xattr file system support

Hi,

The following patches add xattr file system support to Squashfs.

Xattr layout highlights

1. Layout can store up to 2^48 bytes of compressed xattr data.
2. Number of xattrs per inode unlimited.
3. Total size of xattr data per inode 2^48 bytes of compressed data.
4. Up to 4 Gbytes of data per xattr value.
5. Inline and out-of-line xattr values supported for higher performance in xattr scanning (listxattr & getxattr), and to allow xattr value de-duplication.
6. Both whole inode xattr duplicate detection and individual xattr value duplicate detection supported. These can obviously nest, file C's xattrs can be a complete duplicate of file B, and file B's xattrs can be a partial duplicate of file A.
7. Xattr name prefix types stored, allowing the redundant "user.", "trusted." etc. characters to be eliminated and more concisely stored.
8. Support for files, directories, symbolic links, device nodes, fifos and sockets.

Xattr support for mksquashfs is in Squashfs CVS here

http://sourceforge.net/projects/squashfs/develop

These patches are also in git, here

git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-xattr.git master

gitweb http://git.kernel.org/?p=linux/kernel/git/pkl/squashfs-xattr.git;a=summary

Phillip