aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-11Merge tag 'vfs-6.9.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2024-02-27vfs: remove SLAB_MEM_SPREAD flag usageChengming Zhou1-1/+1
2024-02-09Revert "get rid of DCACHE_GENOCIDE"Al Viro1-1/+4
2024-01-11Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-413/+237
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2023-12-12list_lru: allow explicit memcg and NUMA node selectionNhat Pham1-3/+5
2023-11-25dcache: remove unnecessary NULL check in dget_dlock()Vegard Nossum1-12/+4
2023-11-25kill DCACHE_MAY_FREEAl Viro1-4/+2
2023-11-25Merge branches 'work.dcache-misc' and 'work.dcache2' into work.dcacheAl Viro1-310/+183
2023-11-25__d_unalias() doesn't use inode argumentAl Viro1-3/+2
2023-11-25d_alloc_parallel(): in-lookup hash insertion doesn't need an RCU variantAl Viro1-1/+1
2023-11-25get rid of DCACHE_GENOCIDEAl Viro1-4/+1
2023-11-25d_alloc_pseudo(): move setting ->d_op there from the (sole) callerAl Viro1-1/+7
2023-11-25kill d_instantate_anon(), fold __d_instantiate_anon() into remaining callerAl Viro1-55/+35
2023-11-25retain_dentry(): introduce a trimmed-down lockless variantAl Viro1-48/+47
2023-11-25__dentry_kill(): new locking schemeAl Viro1-81/+48
2023-11-25d_prune_aliases(): use a shrink listAl Viro1-25/+5
2023-11-25switch select_collect{,2}() to use of to_shrink_list()Al Viro1-14/+6
2023-11-25to_shrink_list(): call only if refcount is 0Al Viro1-5/+2
2023-11-25fold dentry_kill() into dput()Al Viro1-25/+12
2023-11-25don't try to cut corners in shrink_lock_dentry()Al Viro1-93/+66
2023-11-25fold the call of retain_dentry() into fast_dput()Al Viro1-9/+4
2023-11-25Call retain_dentry() with refcount 0Al Viro1-8/+2
2023-11-25dentry_kill(): don't bother with retain_dentry() on slow pathAl Viro1-6/+2
2023-11-25__dentry_kill(): get consistent rules for victim's refcountAl Viro1-0/+2
2023-11-25make retain_dentry() neutral with respect to refcountingAl Viro1-1/+5
2023-11-25__dput_to_list(): do decrement of refcount in the callersAl Viro1-10/+11
2023-11-25fast_dput(): new rules for refcountAl Viro1-7/+2
2023-11-25fast_dput(): handle underflows gracefullyAl Viro1-3/+4
2023-11-25fast_dput(): having ->d_delete() is not reason to delay refcount decrementAl Viro1-10/+2
2023-11-25shrink_dentry_list(): no need to check that dentry refcount is marked deadAl Viro1-3/+2
2023-11-25centralize killing dentry from shrink listAl Viro1-10/+11
2023-11-25dentry: switch the lists of children to hlistAl Viro1-39/+37
2023-11-18kill d_{is,set}_fallthru()Al Viro1-18/+2
2023-11-18get rid of __dget()Al Viro1-6/+1
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-4/+4
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-4/+4
2023-09-11fs: factor out d_mark_tmpfile()Kent Overstreet1-2/+10
2023-08-19fs/dcache: Replace printk and WARN_ON by WARNAnh Tuan Phan1-2/+1
2023-08-09fs: unexport d_genocideChristoph Hellwig1-2/+0
2022-10-10Merge tag 'pull-tmpfile' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+3
2022-09-24vfs: open inside ->tmpfile()Miklos Szeredi1-1/+3
2022-09-19dentry: Use preempt_[dis|en]able_nested()Thomas Gleixner1-11/+2
2022-08-17dcache: move the DCACHE_OP_COMPARE case out of the __d_lookup_rcu loopLinus Torvalds1-23/+49
2022-08-11Merge tag 'ceph-for-5.20-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-4/+11
2022-08-03fs/dcache: export d_same_name() helperXiubo Li1-4/+11
2022-07-30fs/dcache: Move wakeup out of i_seq_dir write held region.Sebastian Andrzej Siewior1-5/+5
2022-07-30fs/dcache: Move the wakeup from __d_lookup_done() to the caller.Sebastian Andrzej Siewior1-7/+28
2022-07-30fs/dcache: Disable preemption on i_dir_seq write side on PREEMPT_RTSebastian Andrzej Siewior1-1/+11
2022-07-30d_add_ci(): make sure we don't miss d_lookup_done()Al Viro1-0/+1
2022-03-22mm: dcache: use kmem_cache_alloc_lru() to allocate dentryMuchun Song1-1/+2
2022-01-22fs: move dcache sysctls to its own fileLuis Chamberlain1-6/+31
2021-04-15useful constants: struct qstr for ".."Al Viro1-0/+2
2021-02-24fs: delete repeated words in commentsRandy Dunlap1-2/+2
2021-02-22Merge branch 'work.audit' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-0/+25
2021-01-21fs: fix kernel-doc markupsMauro Carvalho Chehab1-31/+32
2021-01-16new helper: d_find_alias_rcu()Al Viro1-0/+25
2020-12-10fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is setHao Li1-1/+8
2020-07-29vfs: Use sequence counter with associated spinlockAhmed S. Darwish1-1/+1
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-1/+1
2020-05-13fs: Introduce DCACHE_DONTCACHEIra Weiny1-0/+19
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-1/+1
2019-12-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2019-12-06Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-2/+4
2019-11-15fs/namei.c: fix missing barriers when checking positivityAl Viro1-1/+1
2019-11-15fix dget_parent() fastpath raceAl Viro1-1/+3
2019-10-25make __d_alloc() staticAl Viro1-1/+1
2019-10-09locking/lockdep: Remove unused @nested argument from lock_release()Qian Cai1-1/+1
2019-07-20Merge branch 'work.dcache2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-17/+83
2019-07-10Teach shrink_dcache_parent() to cope with mixed-filesystem shrink listsAl Viro1-17/+83
2019-06-20fsnotify: move fsnotify_nameremove() hook out of d_delete()Amir Goldstein1-2/+0
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-07Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds1-0/+2
2019-04-26ovl_lookup_real_one(): don't bother with strlen()Al Viro1-8/+6
2019-04-17fs, fscrypt: clear DCACHE_ENCRYPTED_NAME when unaliasing directoryEric Biggers1-0/+2
2019-04-09unexport d_alloc_pseudo()Al Viro1-1/+3
2019-04-09dcache: sort the freeing-without-RCU-delay mess for good.Al Viro1-11/+13
2019-01-30fs/dcache: Track & report number of negative dentriesWaiman Long1-0/+32
2019-01-30fs/dcache: Fix incorrect nr_dentry_unused accounting in shrink_dcache_sb()Waiman Long1-5/+1
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-10-26dcache: allocate external names from reclaimable kmalloc cachesVlastimil Babka1-29/+9
2018-08-17fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot()Tetsuo Handa1-1/+2
2018-08-13Merge branches 'work.misc' and 'work.dcache' of git://git.kernel.org/pub/scm/...Linus Torvalds1-33/+6
2018-08-13Merge branch 'work.mkdir' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-28/+1
2018-08-09make sure that __dentry_kill() always invalidates d_seq, unhashed or notAl Viro1-5/+2
2018-08-06root dentries need RCU-delayed freeingAl Viro1-2/+4
2018-08-05fs: dcache: Use true and false for boolean valuesGustavo A. R. Silva1-6/+6
2018-08-03new primitive: discard_new_inode()Al Viro1-1/+1
2018-08-01kill d_instantiate_no_diralias()Al Viro1-27/+0
2018-06-23kill dentry_update_name_case()Al Viro1-27/+0
2018-06-04Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-49/+34
2018-06-04Merge branch 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-79/+43
2018-05-13get rid of dead code in d_find_alias()Al Viro1-49/+34
2018-05-11do d_instantiate/unlock_new_inode combinations safelyAl Viro1-0/+22
2018-04-19restore cond_resched() in shrink_dcache_parent()Al Viro1-2/+7
2018-04-15dput(): turn into explicit while() loopAl Viro1-18/+13
2018-04-15dcache: move cond_resched() into the end of __dentry_kill()Al Viro1-3/+1
2018-04-15d_walk(): kill 'finish' callbackAl Viro1-11/+7
2018-04-15d_invalidate(): unhash immediatelyAl Viro1-46/+16
2018-04-11fs/dcache.c: add cond_resched() in shrink_dentry_list()Nikolay Borisov1-3/+2
2018-04-11dcache: account external names as indirectly reclaimable memoryRoman Gushchin1-9/+30
2018-03-29d_genocide: move export to definitionAl Viro1-2/+2
2018-03-29fold dentry_lock_for_move() into its sole caller and clean it upAl Viro1-26/+23
2018-03-29make non-exchanging __d_move() copy ->d_parent rather than swap themAl Viro1-63/+30
2018-03-29split d_path() and friends into a separate fileAl Viro1-466/+1
2018-03-29dcache.c: trim includesAl Viro1-3/+0
2018-03-29fs/dcache: Avoid a try_lock loop in shrink_dentry_list()John Ogness1-31/+10
2018-03-29get rid of trylock loop around dentry_kill()Al Viro1-7/+27
2018-03-29handle move to LRU in retain_dentry()Al Viro1-13/+6
2018-03-29dput(): consolidate the "do we need to retain it?" into an inlined helperAl Viro1-19/+23
2018-03-29split the slow part of lock_parent() offAl Viro1-6/+12
2018-03-29now lock_parent() can't run into killed dentryAl Viro1-10/+3
2018-03-29get rid of trylock loop in locking dentries on shrink listAl Viro1-37/+67
2018-03-12d_delete(): get rid of trylock loopAl Viro1-19/+9
2018-03-12fs/dcache: Move dentry_kill() below lock_parent()John Ogness1-31/+31
2018-03-12fs/dcache: Remove stale comment from dentry_kill()John Ogness1-1/+0
2018-03-12take write_seqcount_invalidate() into __d_drop()Al Viro1-22/+22
2018-02-25fs: dcache: Use READ_ONCE when accessing i_dir_seqWill Deacon1-1/+1
2018-02-25fs: dcache: Avoid livelock between d_alloc_parallel and __d_addWill Deacon1-1/+7
2018-02-23lock_parent() needs to recheck if dentry got __dentry_kill'ed under itAl Viro1-3/+8
2018-02-05Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-31/+57
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+5
2018-02-01Merge branch 'KASAN-read_word_at_a_time'Linus Torvalds1-6/+1
2018-02-01fs: dcache: Revert "manually unpoison dname after allocation to shut up kasan...Andrey Ryabinin1-5/+0
2018-02-01fs/dcache: Use read_word_at_a_time() in dentry_string_cmp()Andrey Ryabinin1-1/+1
2018-01-31Merge branch 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-7/+16
2018-01-31Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-15/+17
2018-01-25dcache: delete unused d_hash_maskAlexey Dobriyan1-3/+2
2018-01-25dcache: subtract d_hash_shift from 32 in advanceAlexey Dobriyan1-1/+3
2018-01-24vfs: factor out helpers d_instantiate_anon() and d_alloc_anon()Miklos Szeredi1-31/+56
2018-01-24ovl: verify directory index entries on mountAmir Goldstein1-0/+1
2018-01-15vfs: Define usercopy region in names_cache slab cachesDavid Windsor1-2/+2
2018-01-15dcache: Define usercopy region in dentry_cache slab cacheDavid Windsor1-2/+3
2017-12-28VFS: close race between getcwd() and d_move()NeilBrown1-7/+16
2017-12-25VFS: don't keep disconnected dentries on d_anonNeilBrown1-10/+12
2017-12-07vfs: remove unused hardirq.hYang Shi1-1/+0
2017-12-04fs/dcache: Use release-acquire for name/length updatePaul E. McKenney1-7/+3
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-2/+0
2017-10-25locking/atomics, fs/dcache: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()Mark Rutland1-9/+9
2017-10-24locking/barriers: Convert users of lockless_dereference() to READ_ONCE()Will Deacon1-2/+2
2017-07-15Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+6
2017-07-10fs/dcache.c: fix spin lockup issue on nlru->lockSahitya Tummala1-2/+3
2017-07-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+32
2017-07-07dentry name snapshotsAl Viro1-0/+27
2017-07-06mm: update callers to use HASH_ZERO flagPavel Tatashin1-14/+4
2017-07-06VFS: Provide empty name qstrDavid Howells1-2/+6
2017-06-29fs/dcache: init in_lookup_hashtableSebastian Andrzej Siewior1-0/+5
2017-06-15Hang/soft lockup in d_invalidate with simultaneous callsAl Viro1-6/+4
2017-05-03fs: don't set *REFERENCED on single use objectsJosef Bacik1-2/+2
2017-01-10mnt: Protect the mountpoint hashtable with mount_lockEric W. Biederman1-2/+5
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-03vfs: remove unused have_submounts() functionIan Kent1-33/+0
2016-12-03vfs: add path_has_submounts()Ian Kent1-0/+39
2016-08-07Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-40/+15
2016-08-06Merge branch 'work.const-qstr' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2016-07-31get rid of 'parent' argument of ->d_compare()Al Viro1-2/+2
2016-07-29fold _d_rehash() and __d_rehash() togetherAl Viro1-23/+11
2016-07-29fold dentry_rcuwalk_invalidate() into its only remaining callerAl Viro1-15/+2
2016-07-28Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-139/+69
2016-07-28Merge branch 'salted-string-hash'Linus Torvalds1-13/+10
2016-07-24fs/dcache.c: avoid soft-lockup in dput()Wei Fang1-2/+5
2016-07-24vfs: new d_init methodMiklos Szeredi1-0/+11
2016-07-24Merge branch 'test.d_iput' into work.miscAl Viro1-35/+10
2016-07-20qstr constify instances in fs/dcache.cAl Viro1-2/+2
2016-06-30Merge branch 'd_real' of git://git.kernel.org/pub/scm/linux/kernel/git/mszere...Al Viro1-3/+0
2016-06-30new helper: d_same_name()Al Viro1-91/+36
2016-06-30dentry_cmp(): use lockless_dereference() instead of smp_read_barrier_depends()He Kuang1-4/+3
2016-06-30Merge branch 'for-linus' into work.miscAl Viro1-13/+66
2016-06-30vfs: merge .d_select_inode() into .d_real()Miklos Szeredi1-3/+0
2016-06-20fix idiotic braino in d_alloc_parallel()Al Viro1-5/+12
2016-06-11fs/dcache.c: Save one 32-bit multiply in dcache lookupGeorge Spelvin1-1/+1
2016-06-10vfs: make the string hashes salt the hashLinus Torvalds1-12/+9
2016-06-10much milder d_walk() raceAl Viro1-6/+52
2016-06-07fix d_walk()/non-delayed __d_free() raceAl Viro1-2/+2
2016-05-29unify dentry_iput() and dentry_unlink_inode()Al Viro1-35/+10
2016-05-29trim fsnotify hooks a bitAl Viro1-4/+4
2016-05-28Merge branch 'hash' of git://ftp.sciencehorizons.net/linuxLinus Torvalds1-2/+1
2016-05-28fs/namei.c: Add hashlen_string() functionGeorge Spelvin1-2/+1
2016-05-18Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+7
2016-05-02parallel lookups: actual switch to rwsemAl Viro1-4/+5
2016-05-02parallel lookups machinery, part 4 (and last)Al Viro1-20/+74
2016-05-02parallel lookups machinery, part 3Al Viro1-0/+104
2016-05-02parallel lookups machinery, part 2Al Viro1-2/+32
2016-05-02beginning of transition to parallel lookups - marking in-lookup dentriesAl Viro1-0/+13
2016-05-02__d_add(): don't drop/regain ->d_lockAl Viro1-3/+11
2016-05-02security_d_instantiate(): move to the point prior to attaching dentry to inodeAl Viro1-8/+7
2016-03-27__d_alloc(): treat NULL name as QSTR("/", 1)Al Viro1-6/+7
2016-03-26fs: add file_dentry()Miklos Szeredi1-1/+4
2016-03-14dcache.c: new helper: __d_add()Al Viro1-7/+17
2016-03-14don't bother with __d_instantiate(dentry, NULL)Al Viro1-10/+7
2016-03-14untangle fsnotify_d_instantiate() a bitAl Viro1-1/+2
2016-03-14uninline d_add()Al Viro1-0/+16
2016-03-14replace d_add_unique() with saner primitiveAl Viro1-75/+50
2016-02-29use ->d_seq to get coherency between ->d_inode and ->d_flagsAl Viro1-15/+5
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-2/+3
2016-01-12Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-7/+7
2015-12-08replace ->follow_link() with new method that could stay in RCU modeAl Viro1-1/+1
2015-12-06fs/dcache.c: is_subdir can be booleanYaowei Bai1-7/+7