aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fscache
AgeCommit message (Expand)AuthorFilesLines
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-1/+1
2022-12-07fscache: Fix oops due to race with cookie_lru and use_cookieDave Wysochanski1-0/+8
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-1/+1
2022-11-23fscache: fix OOB Read in __fscache_acquire_volumeDavid Howells1-2/+5
2022-08-09fscache: add tracepoint when failing cookieJeff Layton1-0/+2
2022-08-09fscache: don't leak cookie access refs if invalidation is in progress or failedJeff Layton1-2/+5
2022-07-05fscache: Fix invalidation/lookup raceDavid Howells1-1/+14
2022-07-05fscache: Introduce fscache_cookie_is_dropped()Yue Hu1-3/+8
2022-07-05fscache: Fix if condition in fscache_wait_on_volume_collision()Yue Hu1-2/+2
2022-04-08fscache: remove FSCACHE_OLD_API Kconfig optionYue Hu1-3/+0
2022-04-08fscache: Use wrapper fscache_set_cache_state() directly when relinquishingYue Hu1-1/+1
2022-04-08fscache: Move fscache_cookies_seq_ops specific code under CONFIG_PROC_FSYue Hu2-1/+7
2022-04-08fscache: Remove the cookie parameter from fscache_clear_page_bits()Yue Hu1-3/+2
2022-03-31Merge tag 'netfs-prep-20220318' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-11/+0
2022-03-18fscache: export fscache_end_operation()Jeffle Xu1-11/+0
2022-03-15fscache: Convert fscache_set_page_dirty() to fscache_dirty_folio()Matthew Wilcox (Oracle)1-13/+15
2022-01-21fscache: Fix the volume collision wait conditionDavid Howells1-2/+2
2022-01-11fscache: Add a tracepoint for cookie use/unuseDavid Howells1-4/+25
2022-01-10nfs: Implement cache I/O by accessing the cache directlyDavid Howells1-0/+8
2022-01-07fscache, cachefiles: Display stat of culling eventsDavid Howells1-2/+5
2022-01-07fscache, cachefiles: Display stats of no-space eventsDavid Howells1-0/+8
2022-01-07fscache, cachefiles: Store the volume coherency dataDavid Howells1-2/+12
2022-01-07fscache: Provide a function to resize a cookieDavid Howells3-2/+35
2022-01-07vfs, fscache: Implement pinning of cache usage for writebackDavid Howells1-0/+38
2022-01-07fscache: Implement higher-level write I/O interfaceDavid Howells1-0/+104
2022-01-07fscache: Provide read/write stat counters for the cacheDavid Howells1-0/+9
2022-01-07fscache: Count data storage objects in a cacheDavid Howells1-0/+2
2022-01-07fscache: Provide a means to begin an operationDavid Howells3-0/+163
2022-01-07fscache: Implement cookie invalidationDavid Howells3-1/+94
2022-01-07fscache: Implement cookie user counting and resource pinningDavid Howells3-1/+234
2022-01-07fscache: Implement simple cookie state machineDavid Howells1-42/+271
2022-01-07fscache: Add a function for a cache backend to note an I/O errorDavid Howells1-0/+20
2022-01-07fscache: Provide and use cache methods to lookup/create/free a volumeDavid Howells1-3/+86
2022-01-07fscache: Implement functions add/remove a cacheDavid Howells1-0/+70
2022-01-07fscache: Implement cookie-level access helpersDavid Howells3-0/+102
2022-01-07fscache: Implement volume-level access helpersDavid Howells3-0/+88
2022-01-07fscache: Implement cache-level access helpersDavid Howells3-0/+66
2022-01-07fscache: Implement cookie registrationDavid Howells6-1/+564
2022-01-07fscache: Implement volume registrationDavid Howells5-1/+372
2022-01-07fscache: Implement cache registrationDavid Howells4-0/+312
2022-01-07fscache: Implement a hash functionDavid Howells2-0/+42
2022-01-07fscache: Introduce new driverDavid Howells6-0/+363
2022-01-07fscache: Remove the contents of the fscache driver, pending rewriteDavid Howells14-5879/+0
2022-01-07fscache, cachefiles: Disable configurationDavid Howells1-0/+3
2021-10-04fscache: Remove an unused static variableDavid Howells1-1/+0
2021-10-04fscache: Fix some kerneldoc warnings shown up by W=1David Howells2-0/+4
2021-08-27fscache: Use refcount_t for the cookie refcount instead of atomic_tDavid Howells4-20/+32
2021-08-27fscache: Fix fscache_cookie_put() to not deref after decDavid Howells3-6/+8
2021-08-27fscache: Fix cookie key hashingDavid Howells3-13/+42
2021-08-27fscache: Change %p in format strings to something elseDavid Howells3-14/+11
2021-08-27fscache: Remove the object list procfileDavid Howells7-440/+0
2021-08-27fscache, cachefiles: Remove the histogram stuffDavid Howells8-156/+0
2021-08-27fscache: Procfile to display cookiesDavid Howells3-0/+111
2021-08-27fscache: Add a cookie debug ID and use that in tracesDavid Howells3-16/+28
2021-08-25fscache: Select netfs stats if fscache stats are enabledDavid Howells1-0/+1
2021-04-23fscache, cachefiles: Add alternate API to use kiocb for read/write to cacheDavid Howells6-1/+124
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-2/+1
2020-05-05docs: filesystems: caching/backend-api.txt: convert it to ReSTMauro Carvalho Chehab2-5/+5
2020-05-05docs: filesystems: caching/operations.txt: convert it to ReSTMauro Carvalho Chehab1-1/+1
2020-05-05docs: filesystems: caching/netfs-api.txt: convert it to ReSTMauro Carvalho Chehab1-1/+1
2020-05-05docs: filesystems: convert caching/fscache.txt to ReST formatMauro Carvalho Chehab1-4/+4
2020-05-05docs: filesystems: convert caching/object.txt to ReSTMauro Carvalho Chehab1-1/+1
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-2/+1
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan3-7/+8
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner10-50/+10
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner3-15/+3
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2018-11-30fscache: fix race between enablement and dropping of objectNeilBrown1-0/+3
2018-10-18fscache: Fix out of bound read in long cookie keysEric Sandeen1-3/+7
2018-10-18fscache: Fix incomplete initialisation of inline key spaceDavid Howells3-23/+5
2018-07-25fscache: Fix reference overput in fscache_attach_object() error handlingKiran Kumar Modukuri3-4/+6
2018-07-25fscache: Allow cancelled operations to be enqueuedKiran Kumar Modukuri1-2/+4
2018-05-16proc: introduce proc_create_single{,_data}Christoph Hellwig3-19/+4
2018-05-16proc: introduce proc_create_seq{,_data}Christoph Hellwig3-19/+5
2018-04-11fscache: use appropriate radix tree accessorsMatthew Wilcox2-2/+2
2018-04-06fscache: Maintain a catalogue of allocated cookiesDavid Howells3-117/+265
2018-04-06fscache: Pass object size in rather than calling back for itDavid Howells4-13/+21
2018-04-04fscache: Attach the index key and aux data to the cookieDavid Howells8-89/+140
2018-04-04fscache: Add more tracepointsDavid Howells4-7/+76
2018-04-04fscache: Add tracepointsDavid Howells5-39/+63
2018-04-04fscache: Fix hanging wait on page discarded by writebackDavid Howells1-4/+9
2018-04-04fscache: Detect multiple relinquishment of a cookieDavid Howells1-1/+2
2018-04-04fscache: Pass the correct cancelled indications to fscache_op_complete()David Howells1-6/+9
2018-04-04fscache, cachefiles: Fix checker warningsDavid Howells1-1/+0
2018-03-20sched/wait, fs/fscache: Convert wait_on_atomic_t() usage to the new wait_var_...Peter Zijlstra1-3/+4
2017-11-16Merge tag 'afs-next-20171113' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-12/+1
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-1/+1
2017-11-13Pass mode to wait_on_atomic_t() action funcs and provide default actionsDavid Howells3-12/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-12FS-Cache: fix dereference of NULL user_key_payloadEric Biggers1-0/+7
2017-09-13fscache: fix fscache_objlist_show format processingArnd Bergmann1-1/+2
2017-09-06mm: remove nr_pages argument from pagevec_lookup{,_range}()Jan Kara1-1/+1
2017-09-06mm: make pagevec_lookup() update indexJan Kara1-3/+2
2017-03-02KEYS: Differentiate uses of rcu_dereference_key() and user_key_payload()David Howells1-1/+1
2017-01-31fscache: Fix dead object requeueDavid Howells1-2/+24
2017-01-31fscache: Clear outstanding writes when disabling a cookieDavid Howells2-0/+11
2017-01-31FS-Cache: Initialise stores_lock in netfs cookieDavid Howells1-0/+1
2016-06-30Merge branch 'd_real' of git://git.kernel.org/pub/scm/linux/kernel/git/mszere...Al Viro1-0/+2
2016-06-01FS-Cache: wake write waiter after invalidating writesYan, Zheng1-0/+2
2016-05-29drop redundant ->owner initializationsAl Viro3-3/+0
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-5/+5
2015-11-11FS-Cache: Handle a write to the page immediately beyond the EOF markerDavid Howells1-1/+1
2015-11-11FS-Cache: Don't override netfs's primary_index if registering failedKinglong Mee1-18/+17
2015-11-11FS-Cache: Increase reference of parent after registering, netfs successKinglong Mee1-5/+4
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman2-4/+4
2015-10-21KEYS: Merge the type-specific data with the payload dataDavid Howells1-2/+2
2015-04-02FS-Cache: Retain the netfs context in the retrieval op earlierDavid Howells2-11/+11
2015-04-02FS-Cache: The operation cancellation method needs calling in more placesDavid Howells5-40/+52
2015-04-02FS-Cache: Put an aborted initialised op so that it is accounted correctlyDavid Howells2-32/+34
2015-04-02FS-Cache: Fix cancellation of in-progress operationDavid Howells1-0/+7
2015-04-02FS-Cache: Count the number of initialised operationsDavid Howells3-1/+5
2015-04-02FS-Cache: Out of line fscache_operation_init()David Howells1-0/+22
2015-04-02FS-Cache: Permit fscache_cancel_op() to cancel in-progress operations tooDavid Howells3-6/+21
2015-04-02FS-Cache: fscache_object_is_dead() has wrong logic, kill itDavid Howells2-3/+6
2015-04-02FS-Cache: Synchronise object death state change vs operation submissionDavid Howells1-3/+14
2015-04-02FS-Cache: Handle a new operation submitted against a killed objectDavid Howells2-0/+8
2015-04-02FS-Cache: When submitting an op, cancel it if the target object is dyingDavid Howells1-17/+30
2015-04-02FS-Cache: Move fscache_report_unexpected_submission() to make it more availableDavid Howells1-37/+37
2015-02-24FS-Cache: Count culled objects and objects rejected due to lack of spaceDavid Howells3-0/+62
2014-10-13fs/fscache/object-list.c: use __seq_open_private()Rob Jones1-14/+2
2014-09-17FS-Cache: refcount becomes corrupt under vma pressure.Milosz Tanski1-3/+4
2014-08-27FS-Cache: Reduce cookie ref count if submit fails.Milosz Tanski1-0/+1
2014-08-27FS-Cache: Timeout for releasepage()Milosz Tanski1-1/+17
2014-08-06fs/fscache: make ctl_table staticFabian Frederick1-2/+2
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown4-27/+4
2014-06-06fscache: convert use of typedef ctl_table to struct ctl_tableJoe Perches1-2/+2
2014-06-04fs/fscache: replace seq_printf by seq_putsFabian Frederick2-8/+6
2014-06-04fs/fscache: convert printk to pr_foo()Fabian Frederick7-32/+32
2014-02-17FS-Cache: Handle removal of unadded object to the fscache_object_list rb treeDavid Howells2-0/+8
2013-11-14Merge branch 'for-3.13/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2013-11-08block: Replace __get_cpu_var usesChristoph Lameter1-1/+1
2013-09-27FS-Cache: Provide the ability to enable/disable cookiesDavid Howells5-57/+155
2013-09-27FS-Cache: Add use/unuse/wake cookie wrappersDavid Howells2-13/+36
2013-09-19Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-1/+2
2013-09-11lib/radix-tree.c: make radix_tree_node_alloc() work correctly within interruptJan Kara1-1/+1
2013-09-10fscache: check consistency does not decrement refcountMilosz Tanski1-1/+2
2013-09-06fscache: Netfs function for cleanup post readpagesMilosz Tanski1-0/+16
2013-09-06FS-Cache: Add interface to check consistency of a cached objectDavid Howells3-24/+108
2013-06-19FS-Cache: Don't use spin_is_locked() in assertionsDavid Howells1-3/+2
2013-06-19FS-Cache: The retrieval remaining-pages counter needs to be atomic_tDavid Howells1-5/+5
2013-06-19FS-Cache: Simplify cookie retention for fscache_objects, fixing oopsDavid Howells9-234/+177
2013-06-19FS-Cache: Fix object state machine to have separate work and wait statesDavid Howells7-531/+563
2013-06-19FS-Cache: Wrap checks on object stateDavid Howells4-10/+10
2013-06-19FS-Cache: Uninline fscache_object_init()David Howells1-2/+38
2013-06-19FS-Cache: Don't sleep in page release if __GFP_FS is not setDavid Howells1-1/+1
2013-06-19fs/fscache: remove spin_lock() from the condition in while()Sebastian Andrzej Siewior1-6/+10
2013-04-29fs/fscache/stats.c: fix memory leakAnurup m1-1/+1
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-7/+4
2012-12-20FS-Cache: Clear remaining page count on retrieval cancellationDavid Howells3-5/+20
2012-12-20FS-Cache: Mark cancellation of in-progress operationDavid Howells2-8/+9
2012-12-20FS-Cache: One of the write operation paths doesn't set the object stateDavid Howells1-2/+20
2012-12-20FS-Cache: Fix signal handling during waitsDavid Howells1-1/+1
2012-12-20FS-Cache: Add transition to handle invalidate immediately after lookup David Howells1-0/+3
2012-12-20NFS: nfs_migrate_page() does not wait for FS-Cache to finish with a pageDavid Howells3-7/+19
2012-12-20FS-Cache: Exclusive op submission can BUG if there's been an I/O errorDavid Howells3-9/+28
2012-12-20FS-Cache: Limit the number of I/O error reports for a cacheDavid Howells1-4/+4
2012-12-20FS-Cache: Don't mask off the object event mask when printing itDavid Howells1-1/+1
2012-12-20FS-Cache: Initialise the object event mask with the calculated maskDavid Howells1-1/+2
2012-12-20CacheFiles: Add missing retrieval completionsDavid Howells1-0/+2
2012-12-20FS-Cache: Provide proper invalidationDavid Howells6-1/+235
2012-12-20FS-Cache: Fix operation state management and accountingDavid Howells3-38/+80
2012-12-20FS-Cache: Make cookie relinquishment wait for outstanding readsDavid Howells2-6/+22
2012-12-20FS-Cache: Check that there are no read ops when cookie relinquishedDavid Howells1-0/+8
2012-12-20CacheFiles: Downgrade the requirements passed to the allocatorDavid Howells1-1/+1
2012-12-20CacheFiles: Fix the marking of cached pagesDavid Howells1-23/+36
2011-07-21FS-Cache: Fix __fscache_uncache_all_inode_pages()'s outer loopJan Beulich1-9/+5
2011-07-07FS-Cache: Add a helper to bulk uncache pages on an inodeDavid Howells1-0/+44
2011-05-25fscache: remove dead code under CONFIG_WORKQUEUE_DEBUGFSAmerigo Wang2-23/+0
2011-01-14FS-Cache: Fix operation handlingAkshat Aranya1-1/+1
2010-08-12Add a dummy printk function for the maintenance of unused printksDavid Howells1-10/+4
2010-07-24fscache: fix build on !CONFIG_SYSCTLTejun Heo1-0/+2
2010-07-22fscache: drop references to slow-workTejun Heo2-8/+0
2010-07-22fscache: convert operation to use workqueue instead of slow-workTejun Heo4-87/+40
2010-07-22fscache: convert object to use workqueue instead of slow-workTejun Heo4-59/+141
2010-06-01FS-Cache: Remove unneeded null checksDan Carpenter1-20/+16
2010-05-26fs/fscache/object-list.c: fix warning on 32-bitAndrew Morton1-1/+1
2010-04-07fs-cache: order the debugfs stats correctlyDavid Howells1-2/+2
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo3-0/+3
2010-03-29SLOW_WORK: CONFIG_SLOW_WORK_PROC should be CONFIG_SLOW_WORK_DEBUGDavid Howells2-5/+5
2010-03-24fscache: add missing unlockDan Carpenter1-0/+1
2010-03-08FS-Cache: Remove the EXPERIMENTAL flagChristian Kujau1-1/+0
2009-12-16FS-Cache: Avoid maybe-used-uninitialised warning on variableDavid Howells1-1/+1
2009-11-20FS-Cache: Provide nop fscache_stat_d() if CONFIG_FSCACHE_STATS=nDavid Howells1-0/+1
2009-11-19CacheFiles: Catch an overly long wait for an old active objectDavid Howells3-2/+13
2009-11-19FS-Cache: Actually requeue an object when requestedDavid Howells1-2/+1
2009-11-19FS-Cache: Start processing an object's operations on that object's deathDavid Howells4-61/+69
2009-11-19FS-Cache: Make sure FSCACHE_COOKIE_LOOKING_UP cleared on lookup failureDavid Howells1-5/+12
2009-11-19FS-Cache: Add a retirement stat counterDavid Howells3-2/+7
2009-11-19FS-Cache: Handle pages pending storage that get evicted under OOM conditionsDavid Howells3-2/+93
2009-11-19FS-Cache: Handle read request vs lookup, creation or other cache failureDavid Howells3-2/+10
2009-11-19FS-Cache: Don't delete pending pages from the page-store tracking treeDavid Howells1-2/+5
2009-11-19FS-Cache: Fix lock misorder in fscache_write_op()David Howells4-19/+48
2009-11-19FS-Cache: The object-available state can't rely on the cookie to be availableDavid Howells1-2/+7
2009-11-19FS-Cache: Permit cache retrieval ops to be interrupted in the initial wait phaseDavid Howells4-39/+113
2009-11-19FS-Cache: Use radix tree preload correctly in tracking of pages to be storedDavid Howells1-1/+3
2009-11-19FS-Cache: Clear netfs pointers in cookie after detaching object, not beforeDavid Howells1-4/+4
2009-11-19FS-Cache: Add counters for entry/exit to/from cache operation functionsDavid Howells6-9/+118