aboutsummaryrefslogtreecommitdiffstats
path: root/fs/netfs
AgeCommit message (Expand)AuthorFilesLines
2026-05-12netfs, afs: Fix write skipping in dir/link writepagesDavid Howells1-1/+6
2026-05-12netfs: Fix netfs_read_folio() to wait on writebackDavid Howells1-0/+2
2026-05-12netfs: Fix folio->private handling in netfs_perform_write()David Howells1-53/+81
2026-05-12netfs: Fix partial invalidation of streaming-write folioDavid Howells1-1/+1
2026-05-12netfs: Fix potential UAF in netfs_unlock_abandoned_read_pages()David Howells3-4/+4
2026-05-12netfs: Fix leak of request in netfs_write_begin() error handlingDavid Howells1-1/+1
2026-05-12netfs: Fix early put of sink folio in netfs_read_gaps()David Howells1-3/+3
2026-05-12netfs: Fix write streaming disablement if fd open O_RDWRDavid Howells1-10/+7
2026-05-12netfs: Fix read-gaps to remove netfs_folio from filled folioDavid Howells1-3/+8
2026-05-12netfs: Fix potential deadlock in write-through modeDavid Howells1-14/+25
2026-05-12netfs: Fix streaming write being overwrittenDavid Howells1-13/+34
2026-05-12netfs: Defer the emission of trace_netfs_folio()David Howells1-8/+10
2026-05-12netfs: Fix netfs_invalidate_folio() to clear dirty bit if all changes goneDavid Howells1-1/+5
2026-05-12netfs: Fix overrun check in netfs_extract_user_iter()David Howells1-9/+17
2026-05-12netfs: fix error handling in netfs_extract_user_iter()Paulo Alcantara1-3/+10
2026-05-12netfs: Fix potential uninitialised var in netfs_extract_user_iter()David Howells1-1/+1
2026-05-12netfs: fix VM_BUG_ON_FOLIO() issue in netfs_write_begin() callViacheslav Dubeyko1-2/+9
2026-05-12netfs: Fix zeropoint update where i_size > remote_i_sizeDavid Howells1-2/+2
2026-05-12netfs: Fix potential for tearing in ->remote_i_size and ->zero_pointDavid Howells5-18/+37
2026-05-12netfs: Fix netfs_read_to_pagecache() to pause on subreq failureDavid Howells1-0/+5
2026-05-12netfs: Fix missing barriers when accessing stream->subrequests locklesslyDavid Howells5-6/+13
2026-05-12netfs: Fix missing locking around retry adding new subreqsDavid Howells2-2/+10
2026-05-12netfs: Fix cancellation of a DIO and single read subrequestsDavid Howells5-63/+50
2026-04-15Merge tag 'mm-stable-2026-04-13-21-45' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2026-04-05fs: remove unncessary pagevec.h includesTal Zussman1-1/+0
2026-03-26netfs: Fix the handling of stream->front by removing itDavid Howells7-12/+7
2026-03-19netfs: Fix read abandonment during retryDavid Howells1-1/+4
2026-03-09netfs: Fix NULL pointer dereference in netfs_unbuffered_write() on retryDeepanshu Kartikey1-3/+11
2026-03-09netfs: Fix kernel BUG in netfs_limit_iter() for ITER_KVEC iteratorsDeepanshu Kartikey1-0/+43
2026-02-26netfs: Fix unbuffered/DIO writes to dispatch subrequests in strict sequenceDavid Howells4-76/+218
2026-02-21Convert 'alloc_flex' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds3-3/+3
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook6-7/+6
2026-02-08netfs: avoid double increment of retry_count in subreqShyam Prasad N1-1/+0
2026-02-08netfs: when subreq is marked for retry, do not check if it faced an errorShyam Prasad N4-6/+17
2025-12-24netfs: Fix early read unlock of page with EOF in middleDavid Howells1-1/+1
2025-12-01Merge tag 'vfs-6.19-rc1.folio' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-2/+2
2025-10-31netfs: Use folio_next_pos()Matthew Wilcox (Oracle)2-2/+2
2025-10-20Coccinelle-based conversion to use ->i_state accessorsMateusz Guzik2-7/+7
2025-09-29Merge tag 'vfs-6.18-rc1.workqueue' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-2/+2
2025-09-26netfs: fix reference leakMax Kellermann8-14/+47
2025-09-19fs: replace use of system_unbound_wq with system_dfl_wqMarco Crivellari2-2/+2
2025-09-15netfs: Prevent duplicate unlockingLizhi Xu1-1/+1
2025-08-15netfs: Fix unbuffered write error handlingDavid Howells3-5/+13
2025-07-14netfs: Fix race between cache write completion and ALL_QUEUED being setDavid Howells1-0/+4
2025-07-14netfs: Fix copy-to-cache so that it performs collection with ceph+fscacheDavid Howells1-0/+1
2025-07-01netfs: Update tracepoints in a number of waysDavid Howells6-15/+19
2025-07-01netfs: Renumber the NETFS_RREQ_* flags to make traces easier to readDavid Howells1-3/+3
2025-07-01netfs: Merge i_size update functionsDavid Howells4-36/+31
2025-07-01netfs: Fix i_size updatingDavid Howells2-2/+8
2025-07-01netfs: Fix ref leak on inserted extra subreq in write retryDavid Howells1-1/+1
2025-07-01netfs: Fix looping in wait functionsDavid Howells1-4/+11
2025-07-01netfs: Provide helpers to perform NETFS_RREQ_IN_PROGRESS flag wanglingDavid Howells4-9/+27
2025-07-01netfs: Fix double put of requestDavid Howells1-0/+5
2025-07-01netfs: Fix hang due to missing case in final DIO read result collectionDavid Howells1-2/+4
2025-06-02Merge tag 'vfs-6.16-rc1.netfs' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds16-368/+416
2025-05-23netfs: Fix undifferentiation of DIO reads from unbuffered readsDavid Howells5-3/+10
2025-05-21Merge patch series "netfs: Miscellaneous fixes"Christian Brauner15-336/+387
2025-05-21netfs: Fix wait/wake to be consistent about the waitqueue usedDavid Howells11-224/+284
2025-05-21netfs: Fix the request's work item to not require a refDavid Howells13-119/+122
2025-05-21netfs: Fix setting of transferred bytes with short DIO readsPaulo Alcantara1-16/+5
2025-05-21netfs: Fix oops in write-retry from mis-resetting the subreq iteratorDavid Howells1-2/+3
2025-05-21fs/netfs: remove unused flag NETFS_RREQ_BLOCKEDMax Kellermann2-5/+0
2025-05-21fs/netfs: remove unused flag NETFS_RREQ_DONT_UNLOCK_FOLIOSMax Kellermann1-8/+6
2025-05-21fs/netfs: remove `netfs_io_request.ractl`Max Kellermann1-12/+12
2025-05-21fs/netfs: remove unused flag NETFS_ICTX_WRITETHROUGHMax Kellermann1-2/+1
2025-05-21fs/netfs: remove unused source NETFS_INVALID_WRITEMax Kellermann1-2/+0
2025-04-17netfs: Mark __nonstring lookup tablesKees Cook2-2/+2
2025-04-11netfs: Only create /proc/fs/netfs with CONFIG_PROC_FSSong Liu1-0/+4
2025-03-19netfs: Fix netfs_unbuffered_read() to return ssize_t rather than intDavid Howells1-3/+3
2025-03-19netfs: Fix rolling_buffer_load_from_ra() to not clear mark bitsDavid Howells1-4/+0
2025-03-19netfs: Call `invalidate_cache` only if implementedMax Kellermann1-1/+2
2025-03-19netfs: Fix collection of results during pause when collection offloadedDavid Howells1-8/+10
2025-02-13netfs: Fix setting NETFS_RREQ_ALL_QUEUED to be after all subreqs queuedDavid Howells1-6/+13
2025-02-13netfs: Add retry stat countersDavid Howells5-0/+19
2025-02-13netfs: Fix a number of read-retry hangsDavid Howells2-12/+34
2025-01-20Merge tag 'vfs-6.14-rc1.netfs' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds17-1093/+1848
2025-01-09netfs: Fix read-retry for fs with no ->prepare_read()David Howells1-1/+2
2025-01-09netfs: Fix kernel async DIODavid Howells1-1/+6
2024-12-20netfs: Report on NULL folioq in netfs_writeback_unlock_folios()David Howells1-0/+34
2024-12-20afs: Locally initialise the contents of a new symlink on creationDavid Howells2-2/+2
2024-12-20netfs: Change the read result collector to only use one work itemDavid Howells12-669/+773
2024-12-20afs: Eliminate afs_readDavid Howells1-1/+1
2024-12-20netfs: Add support for caching single monolithic objects such as AFS dirsDavid Howells10-14/+464
2024-12-20netfs: Add functions to build/clean a buffer in a folio_queueDavid Howells1-0/+96
2024-12-20netfs: Don't use bh spinlockDavid Howells6-22/+22
2024-12-20netfs: Drop the was_async arg from netfs_read_subreq_terminated()David Howells6-48/+19
2024-12-20netfs: Drop the error arg from netfs_read_subreq_terminated()David Howells3-26/+52
2024-12-20netfs: Split retry code out of fs/netfs/write_collect.cDavid Howells4-215/+233
2024-12-20netfs: Make netfs_advance_write() return size_tDavid Howells2-6/+6
2024-12-20netfs: Abstract out a rolling folio buffer implementationDavid Howells12-293/+307
2024-12-20netfs: Add a tracepoint to log the lifespan of folio_queue structsDavid Howells5-18/+36
2024-12-20netfs: Use a folio_queue allocation and free functionsDavid Howells2-13/+37
2024-12-20netfs: Fix is-caching check in read-retryDavid Howells1-1/+1
2024-12-20netfs: Fix the (non-)cancellation of copy when cache is temporarily disabledDavid Howells1-0/+4
2024-12-20netfs: Fix ceph copy to cache on write-beginDavid Howells1-2/+4
2024-12-20netfs: Work around recursion by abandoning retry if nothing readDavid Howells4-11/+17
2024-12-20netfs: Fix missing barriers by using clear_and_wake_up_bit()David Howells2-8/+4
2024-12-20netfs: Remove redundant use of smp_rmb()Zilin Guan1-1/+0
2024-12-20netfs: Fix enomem handling in buffered readsDavid Howells1-12/+16
2024-12-20netfs: Fix non-contiguous donation between completed readsDavid Howells1-4/+5
2024-11-21fscache: Remove duplicate included headerThorsten Blum1-1/+0
2024-11-18Merge tag 'vfs-6.13.netfs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds3-27/+25
2024-11-11netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATINGZizhi Wo1-2/+1
2024-10-17netfs: Downgrade i_rwsem for a buffered writeDavid Howells1-1/+2
2024-10-07netfs: In readahead, put the folio refs as soon extractedDavid Howells2-33/+16
2024-10-07Merge patch series "Random netfs folio fixes"Christian Brauner3-28/+33
2024-10-07netfs: Remove unnecessary references to pagesMatthew Wilcox (Oracle)2-11/+11
2024-10-07netfs: Fix a few minor bugs in netfs_page_mkwrite()Matthew Wilcox (Oracle)1-14/+13
2024-10-02netfs: Fix missing wakeup after issuing writesDavid Howells1-15/+27
2024-10-01netfs: Fix a KMSAN uninit-value error in netfs_clear_bufferChang Yu1-1/+1
2024-09-30Merge tag 'vfs-6.12-rc2.fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+9
2024-09-27netfs: Advance iterator correctly rather than jumping itDavid Howells1-3/+9
2024-09-26netfs: Fix write oops in generic/346 (9p) and generic/074 (cifs)David Howells3-21/+64
2024-09-24netfs, cifs: Fix mtime/ctime update for mmapped writesDavid Howells1-0/+1
2024-09-16Merge tag 'vfs-6.12.netfs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds16-1501/+2157
2024-09-16Merge tag 'vfs-6.12.misc' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds2-19/+7
2024-09-12netfs: Cancel dirty folios that have no storage destinationDavid Howells1-1/+5
2024-09-12cachefiles, netfs: Fix write to partial block at EOFDavid Howells2-5/+4
2024-09-12netfs: Remove fs/netfs/io.cDavid Howells1-802/+0
2024-09-12netfs: Speed up buffered readingDavid Howells13-322/+1780
2024-09-12netfs: Simplify the writeback codeDavid Howells2-139/+43
2024-09-12netfs: Provide an iterator-reset functionDavid Howells4-8/+23
2024-09-12netfs: Use new folio_queue data type and iterator instead of xarray iterDavid Howells6-57/+145
2024-09-06Merge tag 'v6.11-rc6-cifs-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-1/+1
2024-09-05netfs: Use bh-disabling spinlocks for rreq->lockDavid Howells2-4/+4
2024-09-05netfs: Set the request work function upon allocationDavid Howells4-5/+10
2024-09-05netfs: Remove NETFS_COPY_TO_CACHEDavid Howells1-2/+1
2024-09-05netfs: Move max_len/max_nr_segs from netfs_io_subrequest to netfs_io_streamDavid Howells3-14/+14
2024-09-05netfs, cifs: Move CIFS_INO_MODIFIED_ATTR to netfs_inodeDavid Howells1-2/+8
2024-09-05netfs: Reduce number of conditional branches in netfs_perform_write()David Howells1-163/+132
2024-09-05netfs: Record contention stats for writeback lockDavid Howells3-3/+14
2024-09-05netfs: Adjust labels in /proc/fs/netfs/statsDavid Howells1-8/+8
2024-09-04Merge tag 'vfs-6.11-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2024-09-03netfs, cifs: Improve some debugging bitsDavid Howells1-1/+1
2024-09-01fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAFBaokun Li1-0/+1
2024-08-30netfs: Delete subtree of 'fs/netfs' when netfs module exitsBaokun Li1-2/+2
2024-08-30inode: remove __I_DIO_WAKEUPChristian Brauner1-17/+5
2024-08-28netfs, cifs: Fix handling of short DIO readDavid Howells1-6/+11
2024-08-28cifs: Fix lack of credit renegotiation on read retryDavid Howells1-0/+2
2024-08-24netfs: Fix interaction of streaming writes with zero-point trackerDavid Howells1-0/+7
2024-08-24netfs: Fix missing iterator reset on retry of short readDavid Howells1-0/+1
2024-08-24netfs: Fix trimming of streaming-write folios in netfs_inval_folio()David Howells1-15/+35
2024-08-24netfs: Fix netfs_release_folio() to say no if folio dirtyDavid Howells1-0/+3
2024-08-21netfs, ceph: Partially revert "netfs: Replace PG_fscache by setting folio->pr...David Howells1-0/+7
2024-08-139p: Fix DIO read through netfsDominique Martinet1-6/+11
2024-08-12netfs: Fix handling of USE_PGPRIV2 and WRITE_TO_CACHE flagsDavid Howells3-29/+110
2024-08-12netfs, ceph: Revert "netfs: Remove deprecated use of PG_private_2 as a second...David Howells2-1/+151
2024-08-12netfs: clean up after renaming FSCACHE_DEBUG configLukas Bulwahn1-1/+1
2024-08-12fs/netfs/fscache_cookie: add missing "n_accesses" checkMax Kellermann1-0/+4
2024-08-12netfs: Fault in smaller chunks for non-large folio mappingsMatthew Wilcox (Oracle)1-1/+1
2024-07-24netfs: Fix writeback that needs to go to both server and cacheDavid Howells1-0/+1
2024-07-24netfs: Rename CONFIG_FSCACHE_DEBUG to CONFIG_NETFS_DEBUGDavid Howells1-10/+8
2024-07-24netfs: Revert "netfs: Switch debug logging to pr_debug()"David Howells15-78/+113
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-3/+3
2024-07-11Merge tag 'vfs-6.10-rc8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds15-115/+92
2024-07-05Merge patch series "cachefiles: random bugfixes"Christian Brauner15-115/+92
2024-07-03netfs: drop usage of folio_file_posKairui Song2-3/+3
2024-07-03netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()Baokun Li2-2/+14
2024-06-26netfs: Fix netfs_page_mkwrite() to flush conflicting data, not waitDavid Howells1-3/+3
2024-06-26netfs: Fix netfs_page_mkwrite() to check folio->mapping is validDavid Howells1-1/+7
2024-06-26netfs: Delete some xarray-wangling functions that aren't usedDavid Howells2-90/+0
2024-06-26netfs: Fix early issue of write op on partial write to folio tailDavid Howells1-1/+1
2024-06-26netfs: Fix io_uring based write-throughDavid Howells1-1/+2
2024-06-12netfs: Switch debug logging to pr_debug()Uwe Kleine-König15-113/+78
2024-05-27Merge tag 'vfs-6.10-rc2.fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds5-7/+18
2024-05-27netfs, 9p: Fix race between umount and async request completionDavid Howells1-0/+5
2024-05-24netfs: Fix setting of BDP_ASYNC from iocb flagsDavid Howells1-1/+1
2024-05-24netfs: Fix AIO error handling when doing write-throughDavid Howells1-1/+6
2024-05-24netfs: Fix io_uring based write-throughDavid Howells3-5/+6
2024-05-21smb3: reenable swapfiles over SMB3 mountsSteve French1-1/+2
2024-05-13cifs: Fix locking in cifs_strict_readv()Steve French1-1/+2
2024-05-01cifs: Cut over to using netfslibDavid Howells1-1/+6
2024-05-01cifs: Implement netfslib hooksDavid Howells1-0/+6
2024-05-01netfs, afs: Use writeback retry to deal with alternate keysDavid Howells1-2/+7
2024-05-01netfs: Miscellaneous tidy upsDavid Howells1-1/+1
2024-05-01netfs: Remove the old writeback codeDavid Howells2-1106/+0
2024-05-01netfs: Cut over to using new writeback codeDavid Howells6-62/+57
2024-05-01netfs: Add some write-side stats and clean up some stat namesDavid Howells6-9/+23
2024-05-01netfs: New writeback implementationDavid Howells6-5/+1533
2024-05-01netfs: Switch to using unsigned long long rather than loff_tDavid Howells5-8/+10
2024-05-01netfs: Use mempools for allocating requests and subrequestsDavid Howells3-25/+85
2024-05-01netfs: Remove ->launder_folio() supportDavid Howells2-75/+0
2024-05-01mm: Provide a means of invalidation without using launder_folioDavid Howells1-4/+24
2024-04-29netfs: Use subreq_counter to allocate subreq debug_index valuesDavid Howells3-6/+3
2024-04-29netfs: Make netfs_io_request::subreq_counter an atomic_tDavid Howells1-1/+1
2024-04-29netfs: Remove deprecated use of PG_private_2 as a second writeback flagDavid Howells2-151/+1
2024-04-29mm: Remove the PG_fscache alias for PG_private_2David Howells3-4/+4
2024-04-29netfs: Replace PG_fscache by setting folio->private and marking dirtyDavid Howells8-84/+102
2024-04-29netfs: Update i_blocks when write committed to pagecacheDavid Howells1-11/+34
2024-04-26netfs: Fix the pre-flush when appending to a file in writethrough modeDavid Howells1-7/+6
2024-04-23netfs: Fix writethrough-mode error handlingDavid Howells1-4/+6
2024-03-18fscache: Fix error handling in fscache_begin_operation()David Howells1-1/+3
2024-01-29netfs: Fix missing zero-length check in unbuffered writeDavid Howells2-1/+7
2024-01-29netfs: Fix i_dio_count leak on DIO read past i_sizeMarc Dionne1-0/+2
2024-01-22netfs: Fix a NULL vs IS_ERR() check in netfs_perform_write()Dan Carpenter1-2/+3
2024-01-22netfs, fscache: Prevent Oops in fscache_put_cache()Dan Carpenter1-1/+2
2024-01-22netfs: Don't use certain unnecessary folio_*() functionsDavid Howells4-13/+13
2024-01-19Merge tag 'vfs-6.8.netfs' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds23-87/+6197
2024-01-09netfs: Fix wrong #ifdef hiding waitDavid Howells1-1/+1