Skip to content

Unionfs, try #4

Josef 'Jeff' Sipek linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 62 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24Unionfs: DocumentationDocumentation/filesystems/00-INDEX Documentation/filesystems/unionfs/00-INDEX Documentation/filesystems/unionfs/concepts.txt +2 more+153 -052 replies
2/24lookup_one_len_nd - lookup_one_len with nameidata argumentfs/namei.c include/linux/namei.h+13 -50 replies
3/24Unionfs: Branch management functionalityfs/unionfs/branchman.c+81 -00 replies
4/24Unionfs: Common file operationsfs/unionfs/commonfops.c+593 -01 reply
5/24Unionfs: Copyup Functionalityfs/unionfs/copyup.c+677 -02 replies
6/24Unionfs: Dentry operationsfs/unionfs/dentry.c+243 -01 reply
7/24Unionfs: File operationsfs/unionfs/file.c+257 -00 replies
8/24Unionfs: Directory file operationsfs/unionfs/dirfops.c+263 -00 replies
9/24Unionfs: Directory manipulation helper functionsfs/unionfs/dirhelper.c+270 -00 replies
10/24Unionfs: Inode operationsfs/unionfs/inode.c+939 -00 replies
11/24Unionfs: Lookup helper functionsfs/unionfs/lookup.c+516 -00 replies
12/24Unionfs: Main module functionsfs/unionfs/main.c+687 -00 replies
13/24Unionfs: Readdir statefs/unionfs/rdstate.c+288 -00 replies
14/24Unionfs: Renamefs/unionfs/rename.c+445 -00 replies
15/24Unionfs: Privileged operations workqueuefs/unionfs/sioq.c fs/unionfs/sioq.h+201 -01 reply
16/24Unionfs: Handling of stale inodesfs/unionfs/stale_inode.c+112 -00 replies
17/24Unionfs: Miscellaneous helper functionsfs/unionfs/subr.c+172 -00 replies
18/24Unionfs: Superblock operationsfs/unionfs/super.c+346 -01 reply
19/24Unionfs: Helper macros/inlinesfs/unionfs/fanout.h+177 -04 replies
20/24Unionfs: Internal include filefs/unionfs/union.h+495 -00 replies
21/24Unionfs: Include fileinclude/linux/magic.h include/linux/union_fs.h+20 -00 replies
22/24Unionfs: Unlinkfs/unionfs/unlink.c+162 -00 replies
23/24Unionfs: Kconfig and MakefileMAINTAINERS fs/Kconfig fs/Makefile +1 more+23 -00 replies
24/24Unionfs: Extended Attributes supportfs/Kconfig fs/unionfs/Makefile fs/unionfs/copyup.c +3 more+236 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/24] Unionfs, try #4

The have been no real significant changes since the previous submission (see end of this email for detailed changelog).

We believe that the code is stable enough to warrant inclusion into -mm.

As before, there is a git repo at:

git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/unionfs.git

(master.kernel.org:/pub/scm/linux/kernel/git/jsipek/unionfs.git)

The repository contains 24 commits (also available as patches in replies to this email):

Unionfs: Documentation
lookup_one_len_nd - lookup_one_len with nameidata argument
Unionfs: Branch management functionality
Unionfs: Common file operations
Unionfs: Copyup Functionality
Unionfs: Dentry operations
Unionfs: File operations
Unionfs: Directory file operations
Unionfs: Directory manipulation helper functions
Unionfs: Inode operations
Unionfs: Lookup helper functions
Unionfs: Main module functions
Unionfs: Readdir state
Unionfs: Rename
Unionfs: Privileged operations workqueue
Unionfs: Handling of stale inodes
Unionfs: Miscellaneous helper functions
Unionfs: Superblock operations
Unionfs: Helper macros/inlines
Unionfs: Internal include file
Unionfs: Include file
Unionfs: Unlink
Unionfs: Kconfig and Makefile
Unionfs: Extended Attributes support

Thanks,

Josef 'Jeff' Sipek <[email protected]> on behalf of the Unionfs team.

Changes since try #3:

- Renamed several functions: more consistent and less likely to cause namespace collisions (Jan Engelhardt)
- Moved Unionfs magic to include/linux/ (Jan Engelhardt)
- Misc coding style cleanup (Jan Engelhardt)

Changes since try #2:

- Added more comments (akpm)
- Cleaned up inode/dentry/file/sb private data structure member names
- Moved struct inode from unionfs_inode_container into unionfs_inode_info (following ext2's example)
- Renamed {d,i,f,s}topd to UNIONFS_{D,I,F,S} (following almost any fs's example)
- Removed *_ptr and *_lhs macros, open-coding the assignments (Pekka Enberg)
- Kill wrappers (e.g., unionfs_kill_block_super) (Pekka Enberg)
- Few tiny coding style fixes
- Removed some unnecessary complexity (no need to pass struct file and a struct dentry for that file to a function - just pass a struct file and dereference in the function, etc.)
- Removed some unnecessary checks (if (foo) kfree(foo); is completely redundant as kfree has a null check)
- Changed C++-style comments to C-style comments (Pekka Enberg)
- Use struct kmem_cache instead of kmem_cache_t (Pekka Enberg)
- Use anonymous unions for sioq (Jan Engelhardt)
- Moved some functionality into fsstack (most of it is in -mm already)

Changes since try #1:

- unionfs_lookup must pass lookup intents to the lower filesystem (Trond Myklebust)
- patches reordered (Stephen Rothwell)
- numerous style comments by Jan Engelhardt