RFC dcache scaling part 1
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest28 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/28 | fs: d_validate fixesfs/ | +7 | 5 replies | |
| 2/28 | kernel: kmem_ptr_validate considered harmfulinclude/ mm/ mm/ +2 more | +1 | 0 replies | |
| 3/28 | fs: dcache documentation cleanupinclude/ | +6 | 0 replies | |
| 4/28 | fs: change d_delete semanticsDocumentation/ Documentation/ arch/ +17 more | +45 | 1 reply | |
| 5/28 | cifs: dont overwrite dentry name in d_revalidatefs/ | +24 | 0 replies | |
| 6/28 | jfs: dont overwrite dentry name in d_revalidatefs/ | +35 | 0 replies | |
| 7/28 | fs: change d_compare for rcu-walkDocumentation/ Documentation/ Documentation/ +19 more | +228 | 1 reply | |
| 8/28 | fs: change d_hash for rcu-walkDocumentation/ Documentation/ Documentation/ +20 more | +88 | 1 reply | |
| 9/28 | hostfs: simplify lockingfs/ fs/ include/ | +24 | 0 replies | |
| 10/28 | fs: dcache scale hashfs/ include/ | +30 | 0 replies | |
| 11/28 | fs: dcache scale lrufs/ | +84 | 0 replies | |
| 12/28 | fs: dcache scale dentry refcountarch/ drivers/ drivers/ +18 more | +126 | 0 replies | |
| 13/28 | fs: dcache scale d_unhashedarch/ drivers/ fs/ +7 more | +109 | 1 reply | |
| 14/28 | fs: dcache scale subdirsdrivers/ drivers/ fs/ +13 more | +314 | 1 reply | |
| 15/28 | fs: scale inode alias listfs/ fs/ fs/ +6 more | +78 | 1 reply | |
| 16/28 | fs: Use rename lock and RCU for multi-step operationsdrivers/ fs/ fs/ +2 more | +152 | 1 reply | |
| 17/28 | fs: increase d_name lock coveragefs/ | +16 | 0 replies | |
| 18/28 | fs: dcache remove dcache_lockDocumentation/ Documentation/ Documentation/ +37 more | +120 | 0 replies | |
| 19/28 | fs: dcache avoid starvation in dcache multi-step operationsfs/ | +42 | 0 replies | |
| 20/28 | fs: dcache reduce dput lockingfs/ | +25 | 0 replies | |
| 21/28 | fs: dcache reduce locking in d_allocfs/ | +4 | 0 replies | |
| 22/28 | fs: dcache reduce dcache_inode_lockfs/ | +12 | 0 replies | |
| 23/28 | fs: dcache rationalise dget variantsarch/ drivers/ drivers/ +9 more | +23 | 0 replies | |
| 24/28 | fs: dcache reduce d_parent lockingfs/ | +14 | 0 replies | |
| 25/28 | fs: dcache reduce prune_one_dentry lockingfs/ | +15 | 0 replies | |
| 26/28 | fs: reduce dcache_inode_lock width in lru scanningfs/ | +8 | 0 replies | |
| 27/28 | fs: use RCU in shrink_dentry_list to reduce lock nestingfs/ | +21 | 0 replies | |
| 28/28 | fs: consolidate dentry kill sequencefs/ | +62 | 0 replies |
Reviews trailers per patch
None of the 28 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tim Pepper |
|---|---|
| Series | R-b |
| 1/28 | |
| 2/28 | |
| 3/28 | |
| 4/28 | |
| 5/28 | |
| 6/28 | |
| 7/28 | |
| 8/28 | |
| 9/28 | |
| 10/28 | |
| 11/28 | |
| 12/28 | |
| 13/28 | |
| 14/28 | |
| 15/28 | |
| 16/28 | |
| 17/28 | |
| 18/28 | |
| 19/28 | |
| 20/28 | |
| 21/28 | |
| 22/28 | |
| 23/28 | |
| 24/28 | |
| 25/28 | |
| 26/28 | |
| 27/28 | |
| 28/28 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/28] [rfc] dcache scaling part 1
There are 3 main parts to dcache scaling. This one primarily adds new locks to take over dcache_lock, and some pre/post prep and streamlining patches.
The second implements fine grained locking, and is rather trivial after part 1.
The third implements rcu-walk. rcu-walk depends on the first part, because it relies on using d_lock to protect the state of the dentry (when converting from rcu-walk to refcounted walk). Without the fine grained locing, we'd need to use dcache_lock for that, which would be a step backwards to put into path walking again.
Comments?