aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
AgeCommit message (Expand)AuthorFilesLines
2025-05-26Merge tag 'vfs-6.16-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds3-9/+7
2025-04-20gcc-15: add '__nonstring' markers to byte arraysLinus Torvalds1-1/+1
2025-04-07cachefiles: Use lookup_one() rather than lookup_one_len()NeilBrown3-9/+7
2025-03-25cachefiles: Fix oops in vfs_mkdir from cachefiles_get_directoryMarc Dionne1-3/+4
2025-03-24Merge tag 'vfs-6.15-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-7/+9
2025-03-05VFS: Change vfs_mkdir() to return the dentry.NeilBrown1-7/+9
2025-02-21make use of anon_inode_getfile_fmode()Al Viro1-4/+3
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2024-12-20cachefiles: Add auxiliary data traceDavid Howells1-1/+8
2024-12-20cachefiles: Add some subrequest tracepointsDavid Howells1-0/+4
2024-12-20cachefiles: Parse the "secctx" immediatelyMax Kellermann3-11/+12
2024-11-11cachefiles: Fix NULL pointer dereference in object->fileZizhi Wo2-10/+34
2024-11-11cachefiles: Clean up in cachefiles_commit_tmpfile()Zizhi Wo1-5/+0
2024-11-11cachefiles: Fix missing pos updates in cachefiles_ondemand_fd_write_iter()Zizhi Wo1-1/+3
2024-11-11cachefiles: Fix incorrect length return value in cachefiles_ondemand_fd_write...Zizhi Wo1-2/+2
2024-09-27cachefiles: fix dentry leak in cachefiles_open_file()Baokun Li1-4/+3
2024-09-12cachefiles, netfs: Fix write to partial block at EOFDavid Howells1-0/+14
2024-09-05netfs: Move max_len/max_nr_segs from netfs_io_subrequest to netfs_io_streamDavid Howells1-2/+3
2024-09-05cachefiles: Fix non-taking of sb_writers around set/removexattrDavid Howells1-8/+26
2024-07-24cachefiles: Set the max subreq size for cache writes to MAX_RW_COUNTDavid Howells1-1/+1
2024-07-05Merge patch series "cachefiles: random bugfixes"Christian Brauner6-11/+99
2024-07-03cachefiles: add missing lock protection when pollingJingbo Xu1-2/+2
2024-07-03cachefiles: cyclic allocation of msg_id to avoid reuseBaokun Li2-4/+17
2024-07-03cachefiles: wait for ondemand_object_worker to finish when dropping objectHou Tao1-0/+3
2024-07-03cachefiles: cancel all requests for the object that is being droppedBaokun Li1-0/+19
2024-07-03cachefiles: stop sending new request when dropping objectBaokun Li2-2/+10
2024-07-03cachefiles: propagate errors from vfs_getxattr() to avoid infinite loopBaokun Li1-1/+4
2024-07-03cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()Baokun Li2-2/+34
2024-07-03cachefiles: fix slab-use-after-free in fscache_withdraw_volume()Baokun Li1-0/+10
2024-06-03cachefiles: remove unneeded include of <linux/fdtable.h>Gao Xiang1-1/+0
2024-05-29Merge patch series "cachefiles: some bugfixes and cleanups for ondemand reque...Christian Brauner3-56/+169
2024-05-29cachefiles: make on-demand read killableBaokun Li1-12/+28
2024-05-29cachefiles: flush all requests after setting CACHEFILES_DEADBaokun Li2-1/+4
2024-05-29cachefiles: Set object to close if ondemand_id < 0 in copenZizhi Wo1-1/+6
2024-05-29cachefiles: defer exposing anon_fd until after copy_to_user() succeedsBaokun Li1-20/+33
2024-05-29cachefiles: never get a new anonymous fd if ondemand_id is validBaokun Li1-6/+28
2024-05-29cachefiles: add spin_lock for cachefiles_ondemand_infoBaokun Li2-1/+35
2024-05-29cachefiles: add consistency check for copen/creadBaokun Li1-7/+20
2024-05-29cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()Baokun Li1-29/+16
2024-05-29cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()Baokun Li1-0/+3
2024-05-29cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()Baokun Li2-4/+20
2024-05-29cachefiles: remove requests from xarray during flushing requestsBaokun Li1-0/+1
2024-05-21Merge tag 'pull-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-2/+1
2024-05-01netfs, cachefiles: Implement helpers for new write codeDavid Howells1-0/+74
2024-05-01netfs: Switch to using unsigned long long rather than loff_tDavid Howells1-1/+1
2024-04-15kernel_file_open(): get rid of inode argumentAl Viro1-2/+1
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