aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
AgeCommit message (Expand)AuthorFilesLines
2024-02-20cachefiles: fix memory leak in cachefiles_add_cache()Baokun Li2-0/+3
2024-01-22cachefiles, erofs: Fix NULL deref in when cachefiles is not doing ondemand-modeDavid Howells1-0/+3
2024-01-19Merge tag 'vfs-6.8.netfs' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds4-16/+24
2024-01-11Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-0/+2
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2024-01-09cachefiles: Fix signed/unsigned mixupDavid Howells1-3/+3
2024-01-08Merge tag 'vfs-6.8.cachefiles' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-46/+201
2024-01-05netfs: Fix interaction between write-streaming and cachefiles cullingDavid Howells1-6/+6
2024-01-03cachefiles: Fix __cachefiles_prepare_write()David Howells1-11/+17
2023-12-28cachefiles: Remove the now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2023-12-28netfs, cachefiles: Pass upper bound length to allow expansionDavid Howells3-6/+8
2023-12-24netfs, fscache: Combine fscache with netfsDavid Howells1-1/+1
2023-11-25cachefiles: add restore command to recover inflight ondemand read requestsJia Zhu3-0/+27
2023-11-25cachefiles: narrow the scope of triggering EPOLLIN events in ondemand modeJia Zhu2-2/+24
2023-11-25cachefiles: resend an open request if the read request's object is closedJia Zhu2-29/+72
2023-11-25cachefiles: extract ondemand info field from cachefiles_objectJia Zhu3-11/+56
2023-11-25cachefiles: introduce object ondemand stateJia Zhu2-12/+30
2023-11-25rename(): avoid a deadlock in the case of parents having no common ancestorAl Viro1-0/+2
2023-11-24fs: move kiocb_start_write() into vfs_iocb_iter_write()Amir Goldstein1-3/+2
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+2
2023-08-21cachefiles: use kiocb_{start,end}_write() helpersAmir Goldstein1-13/+3
2023-08-18mm, netfs, fscache: stop read optimisation when folio removed from pagecacheDavid Howells1-0/+2
2023-06-26Merge tag 'v6.5/vfs.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-6/+6
2023-06-19fs: use a helper for opening kernel internal filesAmir Goldstein1-2/+2
2023-06-19fs: rename {vfs,kernel}_tmpfile_open()Amir Goldstein1-3/+3
2023-06-05cachefiles: Allow the cache to be non-rootDavid Howells1-1/+2
2023-04-13fs/cachefiles: simplify one-level sysctl registration for cachefiles_sysctlsLuis Chamberlain1-10/+1
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-5/+5
2023-01-18fs: port vfs_*() helpers to struct mnt_idmapChristian Brauner2-8/+8
2022-12-07fscache,cachefiles: add prepare_ondemand_read() callbackJingbo Xu1-27/+50
2022-09-24cachefiles: use vfs_tmpfile_open() helperMiklos Szeredi1-20/+12
2022-09-24cachefiles: only pass inode to *mark_inode_inuse() helpersMiklos Szeredi1-33/+26
2022-09-24cachefiles: tmpfile error handling cleanupMiklos Szeredi1-29/+26
2022-08-31cachefiles: make on-demand request distribution fairerXin Yin2-3/+10
2022-08-31cachefiles: fix error return code in cachefiles_ondemand_copen()Sun Ke1-3/+7
2022-07-05cachefiles: narrow the scope of flushed requests when releasing fdJia Zhu1-1/+2
2022-05-18cachefiles: add tracepoints for on-demand read modeJeffle Xu1-0/+7
2022-05-18cachefiles: enable on-demand read modeJeffle Xu1-5/+12
2022-05-18cachefiles: implement on-demand readJeffle Xu3-2/+99
2022-05-18cachefiles: notify the user daemon when withdrawing cookieJeffle Xu3-0/+45
2022-05-18cachefiles: unbind cachefiles gracefully in on-demand modeJeffle Xu3-3/+22
2022-05-18cachefiles: notify the user daemon when looking up cookieJeffle Xu6-15/+524
2022-05-18cachefiles: extract write routineJeffle Xu2-26/+45
2022-04-08cachefiles: Fix KASAN slab-out-of-bounds in cachefiles_set_volume_xattrDave Wysochanski1-1/+1
2022-04-08cachefiles: unmark inode in use in error pathJeffle Xu1-9/+24
2022-03-31Merge tag 'netfs-prep-20220318' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-5/+5
2022-03-26Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+0
2022-03-18netfs: Finish off rename of netfs_read_request to netfs_io_requestDavid Howells1-2/+2
2022-03-18netfs: Rename netfs_read_*request to netfs_io_*requestDavid Howells1-3/+3
2022-03-11cachefiles: Fix volume coherency attributeDavid Howells1-3/+20
2022-03-08fs: remove kiocb.ki_hintChristoph Hellwig1-2/+0
2022-03-03cachefiles: Fix incorrect length to fallocate()David Howells1-1/+1
2022-02-01netfs, cachefiles: Add a method to query presence of data in the cacheDavid Howells1-0/+59
2022-01-21cachefiles: Check that the backing filesystem supports tmpfilesDavid Howells1-0/+2
2022-01-21cachefiles: Explain checks in a commentDavid Howells1-1/+7
2022-01-21cachefiles: Trace active-mark failureDavid Howells1-1/+3
2022-01-21cachefiles: Make some tracepoint adjustmentsDavid Howells1-3/+5
2022-01-21cachefiles: set default tag name if it's unspecifiedJeffle Xu1-0/+11
2022-01-21cachefiles: Calculate the blockshift in terms of bytes, not pagesDavid Howells3-7/+4
2022-01-12Merge tag 'fscache-rewrite-20220111' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds16-3050/+2172
2022-01-07fscache, cachefiles: Display stat of culling eventsDavid Howells1-0/+1
2022-01-07fscache, cachefiles: Display stats of no-space eventsDavid Howells5-10/+34
2022-01-07cachefiles: Allow cachefiles to actually functionDavid Howells1-3/+1
2022-01-07fscache, cachefiles: Store the volume coherency dataDavid Howells3-2/+103
2022-01-07cachefiles: Implement the I/O routinesDavid Howells1-0/+514
2022-01-07cachefiles: Implement cookie resize for truncateDavid Howells1-0/+78
2022-01-07cachefiles: Implement begin and end I/O operationDavid Howells4-0/+77
2022-01-07cachefiles: Implement backing file wranglingDavid Howells5-1/+619
2022-01-07cachefiles: Implement culling daemon commandsDavid Howells3-2/+320
2022-01-07cachefiles: Mark a backing file in use with an inode flagDavid Howells2-0/+37
2022-01-07cachefiles: Implement metadata/coherency data storage in xattrsDavid Howells3-1/+204
2022-01-07cachefiles: Implement key to filename encodingDavid Howells3-0/+144
2022-01-07cachefiles: Implement object lifecycle funcsDavid Howells3-2/+135
2022-01-07cachefiles: Implement volume supportDavid Howells6-2/+171
2022-01-07cachefiles: Implement cache registration and withdrawalDavid Howells5-3/+240
2022-01-07cachefiles: Implement a function to get/create a directory in the cacheDavid Howells2-0/+150
2022-01-07vfs, cachefiles: Mark a backing file in use with an inode flagDavid Howells2-0/+44
2022-01-07cachefiles: Provide a function to check how much space there isDavid Howells4-1/+112
2022-01-07cachefiles: Register a miscdev and parse commands over itDavid Howells4-0/+752
2022-01-07cachefiles: Add security derivationDavid Howells3-1/+134
2022-01-07cachefiles: Add cache error reporting macroDavid Howells1-0/+11
2022-01-07cachefiles: Add a couple of tracepoints for logging errorsDavid Howells1-0/+1
2022-01-07cachefiles: Add some error injection supportDavid Howells5-1/+108
2022-01-07cachefiles: Define structsDavid Howells1-0/+46
2022-01-07cachefiles: Introduce rewritten driverDavid Howells4-0/+198
2022-01-07cachefiles: Delete the cachefiles driver pending rewriteDavid Howells13-5083/+0
2021-12-03fs: add is_idmapped_mnt() helperChristian Brauner1-1/+1
2021-11-01Merge tag 'for-5.16/ki_complete-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-6/+6
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-6/+6
2021-09-27mm/filemap: Convert page wait queues to be foliosMatthew Wilcox (Oracle)1-8/+8
2021-08-27cachefiles: Change %p in format strings to something elseDavid Howells5-34/+28
2021-08-27fscache, cachefiles: Remove the histogram stuffDavid Howells6-180/+0
2021-08-25cachefiles: Use file_inode() rather than accessing ->f_inodeDavid Howells1-2/+2
2021-08-25netfs: Move cookie debug ID to struct netfs_cache_resourcesDavid Howells1-1/+1
2021-04-23fscache, cachefiles: Add alternate API to use kiocb for read/write to cacheDavid Howells4-2/+433
2021-03-24Merge tag 'afs-cachefiles-fixes-20210323' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-4/+3
2021-03-24cachefiles: do not yet allow on idmapped mountsChristian Brauner1-0/+6
2021-03-23fs/cachefiles: Remove wait_bit_key layout dependencyMatthew Wilcox (Oracle)1-4/+3
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-23/+31
2021-01-24namei: prepare for idmapped mountsChristian Brauner1-4/+8
2021-01-24namei: introduce struct renamedataChristian Brauner1-2/+7
2021-01-24xattr: handle idmapped mountsTycho Andersen1-15/+14
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-20cachefiles: Drop superfluous readpages aops NULL checkTakashi Iwai1-2/+0
2020-10-26cachefiles: Handle readpage error correctlyMatthew Wilcox (Oracle)1-1/+2
2020-07-08cachefiles: switch to kernel_writeChristoph Hellwig1-1/+1
2020-06-01Merge tag 'docs-5.8' of git://git.lwn.net/linuxLinus Torvalds1-2/+2
2020-05-08cachefiles: Fix race between read_waiter and read_copier involving op->to_doLei Xue1-1/+1
2020-05-05docs: filesystems: caching/cachefiles.txt: convert to ReSTMauro Carvalho Chehab1-2/+2
2020-05-04cachefiles: Fix corruption of the return value in cachefiles_read_or_alloc_pa...David Howells1-5/+5
2020-02-03cachefiles: drop direct usage of ->bmap method.Carlos Maiolino1-13/+14
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner11-55/+11
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-14fs/cachefiles/namei.c: remove duplicate headerSabyasachi Gupta1-1/+0
2018-11-30fscache, cachefiles: remove redundant variable 'cache'Colin Ian King1-3/+0
2018-11-30cachefiles: avoid deprecated get_seconds()Arnd Bergmann1-1/+1
2018-11-30cachefiles: Explicitly cast enumerated type in put_objectNathan Chancellor1-2/+4
2018-11-28cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is activeKiran Kumar Modukuri1-0/+6
2018-11-28cachefiles: Fix an assertion failure when trying to update a failed objectDavid Howells1-1/+2
2018-10-18cachefiles: fix the race between cachefiles_bury_object() and rmdir(2)Al Viro1-1/+1
2018-07-25cachefiles: Wait rather than BUG'ing on "Unexpected object collision"Kiran Kumar Modukuri1-1/+0
2018-07-25cachefiles: Fix missing clear of the CACHEFILES_OBJECT_ACTIVE flagKiran Kumar Modukuri1-1/+1
2018-07-25fscache: Fix reference overput in fscache_attach_object() error handlingKiran Kumar Modukuri1-1/+2
2018-07-25cachefiles: Fix refcounting bug in backing-file read monitoringKiran Kumar Modukuri1-5/+12
2018-06-04Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-17/+2
2018-05-21cachefiles: vfs_mkdir() might succeed leaving dentry negative unhashedAl Viro1-0/+10
2018-05-16proc: introduce proc_create_seq{,_data}Christoph Hellwig1-17/+2
2018-04-06fscache: Pass object size in rather than calling back for itDavid Howells2-5/+6
2018-04-04fscache: Attach the index key and aux data to the cookieDavid Howells3-36/+37
2018-04-04fscache: Add tracepointsDavid Howells4-13/+50
2018-04-04fscache, cachefiles: Fix checker warningsDavid Howells1-0/+1
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-3/+3
2017-11-27fs: annotate ->poll() instancesAl Viro1-3/+3
2017-11-15mm: remove __GFP_COLDMel Gorman1-4/+2
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-2/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-17VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)David Howells1-1/+1
2017-06-20sched/wait: Disambiguate wq_entry->task_list and wq_head->task_list namingIngo Molnar1-1/+1
2017-06-20sched/wait: Split out the wait_bit*() APIs from <linux/wait.h> into <linux/wa...Ingo Molnar1-1/+1
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar3-3/+3
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+1
2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds2-4/+4
2016-10-07xattr: Add __vfs_{get,set,remove}xattr helpersAndreas Gruenbacher2-4/+4
2016-09-27cachefiles: Fix attempt to read i_blocks after deleting file [ver #2]David Howells3-6/+13
2016-09-27fs: rename "rename2" i_op to "rename"Miklos Szeredi1-1/+1
2016-09-27vfs: remove unused i_op->renameMiklos Szeredi1-2/+1
2016-08-03cachefiles: Fix race between inactivating and culling a cache objectDavid Howells1-2/+3
2016-06-30Merge branch 'd_real' of git://git.kernel.org/pub/scm/linux/kernel/git/mszere...Al Viro1-1/+1
2016-06-01FS-Cache: make check_consistency callback return intYan, Zheng1-1/+1
2016-05-29drop redundant ->owner initializationsAl Viro1-1/+0
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-19/+19
2016-02-01CacheFiles: Provide read-and-reset release counters for cachefilesdDavid Howells4-17/+39
2016-01-22wrappers for ->i_mutex accessAl Viro2-22/+22
2016-01-04convert a bunch of open-coded instances of memdup_user_nul()Al Viro1-9/+3
2015-11-16FS-Cache: Add missing initialization of ret in cachefiles_write_page()Geert Uytterhoeven1-1/+1
2015-11-11FS-Cache: Handle a write to the page immediately beyond the EOF markerDavid Howells1-30/+37
2015-11-11cachefiles: perform test on s_blocksize when opening cache file.NeilBrown2-6/+2
2015-11-06mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIMMel Gorman1-1/+1
2015-06-23Merge branch 'fscache-fixes' into for-nextAl Viro2-13/+21
2015-04-15VFS: fs/cachefiles: d_backing_inode() annotationsDavid Howells6-62/+62
2015-04-15VFS: Cachefiles should perform fs modifications on the top layer onlyDavid Howells2-28/+28
2015-02-24FS-Cache: Count culled objects and objects rejected due to lack of spaceDavid Howells2-13/+21
2015-02-22Cachefiles: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversionsDavid Howells4-9/+9
2015-02-22VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)David Howells2-10/+10
2014-11-19assorted conversions to %p[dD]Al Viro2-22/+14
2014-10-14Merge tag 'fscache-fixes-20141013' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-14/+21
2014-10-13CacheFiles: Fix incorrect test for in-memory object collisionDavid Howells1-1/+1
2014-10-09cachefiles_write_page(): switch to __kernel_write()Al Viro1-29/+19
2014-09-30CacheFiles: Handle object being killed before being set upDavid Howells1-13/+20
2014-09-26fs/cachefiles: add missing \n to kerror conversionsFabian Frederick6-33/+33
2014-09-17CacheFiles: Handle rename2David Howells1-1/+2
2014-09-17cachefiles: remove two unused pagevecs.NeilBrown1-6/+0
2014-06-06fs/cachefiles: replace kerror by pr_errFabian Frederick8-54/+58
2014-06-06FS/CACHEFILES: convert printk to pr_foo()Fabian Frederick6-52/+39
2014-04-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-3/+1
2014-04-04Merge branch 'cross-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2014-04-03fs: cachefiles: use add_to_page_cache_lru()Johannes Weiner1-20/+13
2014-04-01get rid of pointless checks for NULL ->i_opAl Viro2-3/+1
2014-04-01security: add flags to rename hooksMiklos Szeredi1-1/+1
2014-04-01vfs: add renameat2 syscallMiklos Szeredi1-1/+1
2013-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-4/+4
2013-11-09locks: break delegations on any attribute modificationJ. Bruce Fields1-2/+2
2013-11-09locks: break delegations on renameJ. Bruce Fields1-1/+1
2013-11-09locks: break delegations on unlinkJ. Bruce Fields1-1/+1
2013-09-27FS-Cache: Provide the ability to enable/disable cookiesDavid Howells1-1/+1
2013-09-20CacheFiles: Don't try to dump the index key if the cookie has been clearedDavid Howells1-1/+1
2013-09-20CacheFiles: Fix memory leak in cachefiles_check_auxdata error pathsJosh Boyer1-14/+15
2013-09-06CacheFiles: Implement interface to check cache consistencyDavid Howells3-0/+63
2013-07-03mm: remove lru parameter from __pagevec_lru_add and remove parts of pagevec APIMel Gorman1-23/+7
2013-06-19cachefiles: remove unused macro list_to_page()Haicheng Li1-2/+0
2013-06-19FS-Cache: Simplify cookie retention for fscache_objects, fixing oopsDavid Howells2-5/+12
2013-06-19FS-Cache: Fix object state machine to have separate work and wait statesDavid Howells2-3/+3
2013-06-19FS-Cache: Wrap checks on object stateDavid Howells1-2/+2
2013-06-19CacheFiles: name i_mutex lock class explicitlyJ. Bruce Fields1-1/+1
2013-04-09lift sb_start_write() out of ->write()Al Viro1-0/+2
2012-12-20FS-Cache: Mark cancellation of in-progress operationDavid Howells1-1/+1
2012-12-20FS-Cache: Don't mask off the object event mask when printing itDavid Howells1-2/+1
2012-12-20CacheFiles: Add missing retrieval completionsDavid Howells1-4/+10
2012-12-20CacheFiles: Implement invalidationDavid Howells2-1/+53