Permit filesystem local caching
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest37 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/37 | KEYS: Increase the payload size when instantiating a keysecurity/ | +30 | 0 replies | |
| 2/37 | KEYS: Check starting keyring as part of searchsecurity/ | +31 | 0 replies | |
| 3/37 | KEYS: Allow the callout data to be passed as a blob rather than a stringDocumentation/ Documentation/ include/ +4 more | +70 | 0 replies | |
| 4/37 | KEYS: Add keyctl function to get a security labelDocumentation/ include/ include/ +5 more | +141 | 0 replies | |
| 5/37 | Security: Change current->fs[ug]id to current_fs[ug]id()arch/ arch/ drivers/ +64 more | +161 | 0 replies | |
| 6/37 | Security: Separate task security context from task_structarch/ arch/ arch/ +94 more | +872 | 1 reply | |
| 7/37 | Security: De-embed task security record from task and use refcountingfs/ fs/ include/ +26 more | +543 | 1 reply | |
| 8/37 | Security: Add a kernel_service object class to SELinuxsecurity/ security/ security/ +1 more | +6 | 0 replies | |
| 9/37 | Security: Allow kernel services to override LSM settings for task actionsinclude/ include/ include/ +7 more | +297 | 2 replies | |
| 10/37 | Security: Make NFSD work with detached securityfs/ fs/ | +65 | 0 replies | |
| 11/37 | FS-Cache: Release page->private after failed readaheadmm/ | +37 | 0 replies | |
| 12/37 | FS-Cache: Recruit a couple of page flags for cache managementfs/ include/ include/ +8 more | +86 | 0 replies | |
| 13/37 | FS-Cache: Provide an add_wait_queue_tail() functioninclude/ include/ kernel/ +1 more | +25 | 0 replies | |
| 14/37 | FS-Cache: Generic filesystem caching facilityDocumentation/ Documentation/ Documentation/ +19 more | +7279 | 0 replies | |
| 15/37 | CacheFiles: Add missing copy_page export for ia64arch/ | +1 | 0 replies | |
| 16/37 | CacheFiles: Be consistent about the use of mapping vs file->f_mapping in Ext3fs/ | +3 | 0 replies | |
| 17/37 | CacheFiles: Add a hook to write a single page of data to an inodefs/ fs/ include/ +1 more | +73 | 0 replies | |
| 18/37 | CacheFiles: Permit the page lock state to be monitoredinclude/ mm/ | +23 | 0 replies | |
| 19/37 | CacheFiles: Export things for CacheFilesfs/ | +1 | 0 replies | |
| 20/37 | CacheFiles: A cache that backs onto a mounted filesystemDocumentation/ fs/ fs/ +14 more | +4731 | 0 replies | |
| 21/37 | NFS: Add comment banners to some NFS functionsfs/ | +26 | 0 replies | |
| 22/37 | NFS: Add FS-Cache option bit and debug bitinclude/ include/ | +3 | 0 replies | |
| 23/37 | NFS: Permit local filesystem caching to be enabled for NFSfs/ | +8 | 0 replies | |
| 24/37 | NFS: Register NFS for caching and retrieve the top-level indexfs/ fs/ fs/ +1 more | +97 | 0 replies | |
| 25/37 | NFS: Define and create server-level objectsfs/ fs/ fs/ +3 more | +137 | 0 replies | |
| 26/37 | NFS: Define and create superblock-level objectsfs/ fs/ fs/ +3 more | +213 | 0 replies | |
| 27/37 | NFS: Define and create inode-level cache objectsfs/ fs/ | +113 | 0 replies | |
| 28/37 | NFS: Use local disk inode cachefs/ fs/ fs/ +1 more | +193 | 0 replies | |
| 29/37 | NFS: Invalidate FsCache page flags when cache removedfs/ | +40 | 0 replies | |
| 30/37 | NFS: Add some new I/O event counters for FS-Cache eventsfs/ | +7 | 0 replies | |
| 31/37 | NFS: FS-Cache page managementfs/ fs/ fs/ | +84 | 0 replies | |
| 32/37 | NFS: Add read context retention for FS-Cache to call back withfs/ | +26 | 0 replies | |
| 33/37 | NFS: nfs_readpage_async() needs to be accessible as a fallback for local cachingfs/ include/ | +4 | 0 replies | |
| 34/37 | NFS: Read pages from FS-Cache into an NFS inodefs/ fs/ fs/ | +176 | 0 replies | |
| 35/37 | NFS: Store pages from an NFS inode into a local cachefs/ fs/ fs/ | +47 | 0 replies | |
| 36/37 | NFS: Display local caching statefs/ fs/ | +19 | 0 replies | |
| 37/37 | NFS: Add mount options to enable local caching on NFSfs/ fs/ fs/ | +28 | 0 replies |
Reviews trailers per patch
1 of 37 patches has a Reviewed-by or Acked-by.
| Patch | Stephen Smalley |
|---|---|
| 1/37 | |
| 2/37 | |
| 3/37 | |
| 4/37 | A-b |
| 5/37 | |
| 6/37 | |
| 7/37 | |
| 8/37 | |
| 9/37 | |
| 10/37 | |
| 11/37 | |
| 12/37 | |
| 13/37 | |
| 14/37 | |
| 15/37 | |
| 16/37 | |
| 17/37 | |
| 18/37 | |
| 19/37 | |
| 20/37 | |
| 21/37 | |
| 22/37 | |
| 23/37 | |
| 24/37 | |
| 25/37 | |
| 26/37 | |
| 27/37 | |
| 28/37 | |
| 29/37 | |
| 30/37 | |
| 31/37 | |
| 32/37 | |
| 33/37 | |
| 34/37 | |
| 35/37 | |
| 36/37 | |
| 37/37 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/37] Permit filesystem local caching
These patches add local caching for network filesystems such as NFS.
The patches can roughly be broken down into a number of sets:
(*) 01-keys-inc-payload.diff
(*) 02-keys-search-keyring.diff
(*) 03-keys-callout-blob.diff
Three patches to the keyring code made to help the CIFS people. Included because of patches 05-08.
(*) 04-keys-get-label.diff
A patch to allow the security label of a key to be retrieved. Included because of patches 05-08.
(*) 05-security-current-fsugid.diff
(*) 06-security-separate-task-bits.diff
(*) 07-security-subjective.diff
(*) 08-security-kernel_service-class.diff
(*) 09-security-kernel-service.diff
(*) 10-security-nfsd.diff
Patches to permit the subjective security of a task to be overridden. All the security details in task_struct are decanted into a new struct that task_struct then has two pointers two: one that defines the objective security of that task (how other tasks may affect it) and one that defines the subjective security (how it may affect other objects).
Note that I have dropped the idea of struct cred for the moment. With the amount of stuff that was excluded from it, it wasn't actually any use to me. However, it can be added later.
Required for cachefiles.
(*) 11-release-page.diff
(*) 12-fscache-page-flags.diff
(*) 13-add_wait_queue_tail.diff
(*) 14-fscache.diff
Patches to provide a local caching facility for network filesystems.
(*) 15-cachefiles-ia64.diff
(*) 16-cachefiles-ext3-f_mapping.diff
(*) 17-cachefiles-write.diff
(*) 18-cachefiles-monitor.diff
(*) 19-cachefiles-export.diff
(*) 20-cachefiles.diff
Patches to provide a local cache in a directory of an already mounted filesystem.
(*) 21-nfs-comment.diff
(*) 22-nfs-fscache-option.diff
(*) 23-nfs-fscache-kconfig.diff
(*) 24-nfs-fscache-top-index.diff
(*) 25-nfs-fscache-server-obj.diff
(*) 26-nfs-fscache-super-obj.diff
(*) 27-nfs-fscache-inode-obj.diff
(*) 28-nfs-fscache-use-inode.diff
(*) 29-nfs-fscache-invalidate-pages.diff
(*) 30-nfs-fscache-iostats.diff
(*) 31-nfs-fscache-page-management.diff
(*) 32-nfs-fscache-read-context.diff
(*) 33-nfs-fscache-read-fallback.diff
(*) 34-nfs-fscache-read-from-cache.diff
(*) 35-nfs-fscache-store-to-cache.diff
(*) 36-nfs-fscache-mount.diff
(*) 37-nfs-fscache-display.diff
Patches to provide NFS with local caching.
A couple of questions on the NFS iostat changes: (1) Should I update the iostat version number; (2) is it permitted to have conditional iostats?
I've brought the patchset up to date with respect to the 2.6.25-rc1 merge window, in particular altering Smack to handle the split in objective and subjective security in the task_struct.
--
A tarball of the patches is available at:
http://people.redhat.com/~dhowells/fscache/patches/nfs+fscache-30.tar.bz2
To use this version of CacheFiles, the cachefilesd-0.9 is also required. It is available as an SRPM:
http://people.redhat.com/~dhowells/fscache/cachefilesd-0.9-1.fc7.src.rpm
Or as individual bits:
http://people.redhat.com/~dhowells/fscache/cachefilesd-0.9.tar.bz2
http://people.redhat.com/~dhowells/fscache/cachefilesd.fc
http://people.redhat.com/~dhowells/fscache/cachefilesd.if
http://people.redhat.com/~dhowells/fscache/cachefilesd.te
http://people.redhat.com/~dhowells/fscache/cachefilesd.spec
The .fc, .if and .te files are for manipulating SELinux.
David