aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-23writeback: remove a use of write_cache_pages() from do_writepages()Matthew Wilcox (Oracle)1-13/+18
2024-02-23writeback: add a writeback iteratorChristoph Hellwig1-78/+114
2024-02-23writeback: move the folio_prepare_writeback loop out of write_cache_pages()Matthew Wilcox (Oracle)1-8/+10
2024-02-23writeback: use the folio_batch queue iteratorMatthew Wilcox (Oracle)1-13/+15
2024-02-23writeback: simplify the loops in write_cache_pages()Matthew Wilcox (Oracle)1-39/+36
2024-02-23writeback: factor writeback_get_batch() out of write_cache_pages()Matthew Wilcox (Oracle)1-22/+38
2024-02-23writeback: factor folio_prepare_writeback() out of write_cache_pages()Matthew Wilcox (Oracle)1-27/+34
2024-02-23writeback: rework the loop termination condition in write_cache_pagesChristoph Hellwig1-51/+33
2024-02-23writeback: only update ->writeback_index for range_cyclic writebackChristoph Hellwig1-10/+14
2024-02-23writeback: also update wbc->nr_to_write on writeback failureChristoph Hellwig1-1/+1
2024-02-23writeback: fix done_index when hitting the wbc->nr_to_writeChristoph Hellwig1-0/+1
2024-02-23writeback: don't call mapping_set_error on AOP_WRITEPAGE_ACTIVATEChristoph Hellwig1-1/+3
2024-02-10Merge tag 'block-6.8-2024-02-10' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2024-02-06blk-wbt: Fix detection of dirty-throttled tasksJan Kara1-1/+1
2024-01-25mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), againZach O'Keefe1-1/+1
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-29/+25
2023-12-29mm: fix arithmetic for max_prop_frac when setting max_ratioJingbo Xu1-1/+2
2023-12-29mm: fix arithmetic for bdi min_ratioJingbo Xu1-1/+0
2023-12-10mm: return void from folio_start_writeback() and related functionsMatthew Wilcox (Oracle)1-29/+25
2023-11-20filemap: add a per-mapping stable writes flagChristoph Hellwig1-1/+1
2023-10-18mm: use folio_xor_flags_has_waiters() in folio_end_writeback()Matthew Wilcox (Oracle)1-3/+6
2023-10-18mm: make __end_folio_writeback() return voidMatthew Wilcox (Oracle)1-22/+16
2023-10-04mm/writeback: update filemap_dirty_folio() commentJianguo Bao1-1/+1
2023-08-21mm: remove folio_account_redirtyChristoph Hellwig1-35/+14
2023-07-08writeback: account the number of pages written backMatthew Wilcox (Oracle)1-3/+5
2023-06-19mm: kill lock|unlock_page_memcg()Kefeng Wang1-3/+3
2023-03-12mm,jfs: move write_one_page/folio_write_one to jfsChristoph Hellwig1-40/+0
2023-02-02fs: convert writepage_t callback to pass a folioMatthew Wilcox (Oracle)1-3/+3
2023-02-02mm/fs: convert inode_attach_wb() to take a folioMatthew Wilcox (Oracle)1-1/+1
2023-02-02page-writeback: convert write_cache_pages() to use filemap_get_folios_tag()Vishal Moola (Oracle)1-21/+23
2023-01-18mm: remove zap_page_range and create zap_vma_pagesMike Kravetz1-1/+1
2023-01-18mm: remove generic_writepagesChristoph Hellwig1-38/+15
2023-01-18mm/swap: convert deactivate_page() to folio_deactivate()Vishal Moola (Oracle)1-2/+2
2022-11-30mm: add bdi_set_min_ratio_no_scale() functionStefan Roesch1-0/+7
2022-11-30mm: add bdi_set_max_ratio_no_scale() functionStefan Roesch1-3/+8
2022-11-30mm: add bdi_set_min_bytes() functionStefan Roesch1-0/+14
2022-11-30mm: split off __bdi_set_min_ratio() functionStefan Roesch1-1/+6
2022-11-30mm: add bdi_get_min_bytes() functionStefan Roesch1-0/+5
2022-11-30mm: add bdi_set_max_bytes() functionStefan Roesch1-0/+37
2022-11-30mm: split off __bdi_set_max_ratio() functionStefan Roesch1-5/+9
2022-11-30mm: add bdi_get_max_bytes() functionStefan Roesch1-0/+17
2022-11-30mm: use part per 1000000 for bdi ratiosStefan Roesch1-6/+9
2022-11-30mm: add bdi_set_strict_limit() functionStefan Roesch1-0/+15
2022-09-26mm: export balance_dirty_pages_ratelimited_flags()Stefan Roesch1-0/+1
2022-08-28writeback: avoid use-after-free after removing deviceKhazhismel Kumykov1-1/+5
2022-07-24mm: Add balance_dirty_pages_ratelimited_flags() functionJan Kara1-10/+41
2022-07-24mm: Move updates of dirty_exceeded into one placeJan Kara1-5/+2
2022-07-24mm: Move starting of background writeback into the main balancing loopJan Kara1-17/+14
2022-05-26Merge tag 'sysctl-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+94
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-5/+12
2022-05-08filemap: Update the folio_mark_dirty documentationMatthew Wilcox (Oracle)1-4/+6
2022-04-28mm: rework calculation of bdi_min_ratio in bdi_set_min_ratioChen Wandun1-5/+12
2022-04-21mm: fix unused variable kernel warning when SYSCTL=nLuis Chamberlain1-3/+4
2022-04-06mm: move page-writeback sysctls to their own filezhanglianjie1-10/+93
2022-03-24mm: warn on deleting redirtied only if accountedHugh Dickins1-10/+8
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-19/+17
2022-03-22mm/writeback: minor clean up for highmem_dirtyable_memoryMiaohe Lin1-12/+0
2022-03-16fs: Remove aops ->set_page_dirtyMatthew Wilcox (Oracle)1-8/+3
2022-03-16fs: Convert __set_page_dirty_no_writeback to noop_dirty_folioMatthew Wilcox (Oracle)1-5/+5
2022-03-16fs: Convert __set_page_dirty_buffers to block_dirty_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-15fs: Add aops->dirty_folioMatthew Wilcox (Oracle)1-7/+10
2022-01-02mm/writeback: Improve __folio_mark_dirty() commentMatthew Wilcox (Oracle)1-1/+5
2021-11-10folio: Add a function to get the host inode for a folioDavid Howells1-1/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+9
2021-11-06mm/vmscan: centralise timeout values for reclaim_throttleMel Gorman1-1/+1
2021-11-06mm/writeback: throttle based on page writeback instead of congestionMel Gorman1-2/+9
2021-10-18mm/writeback: Add folio_write_oneMatthew Wilcox (Oracle)1-15/+15
2021-10-18mm/writeback: Add folio_redirty_for_writepage()Matthew Wilcox (Oracle)1-10/+20
2021-10-18mm/writeback: Add folio_account_redirty()Matthew Wilcox (Oracle)1-13/+19
2021-10-18mm/writeback: Add folio_clear_dirty_for_io()Matthew Wilcox (Oracle)1-31/+32
2021-10-18mm/writeback: Add folio_cancel_dirty()Matthew Wilcox (Oracle)1-8/+8
2021-10-18mm/writeback: Add folio_account_cleaned()Matthew Wilcox (Oracle)1-5/+6
2021-10-18mm/writeback: Add filemap_dirty_folio()Matthew Wilcox (Oracle)1-29/+31
2021-10-18mm/writeback: Convert tracing writeback_page_template to foliosMatthew Wilcox (Oracle)1-3/+3
2021-10-18mm/writeback: Add __folio_mark_dirty()Matthew Wilcox (Oracle)1-20/+21
2021-10-18mm/writeback: Add folio_mark_dirty()Matthew Wilcox (Oracle)1-16/+19
2021-10-18mm/writeback: Add folio_start_writeback()Matthew Wilcox (Oracle)1-19/+20
2021-10-18mm/writeback: Add __folio_end_writeback()Matthew Wilcox (Oracle)1-14/+15
2021-10-18mm/writeback: Change __wb_writeout_inc() to __wb_writeout_add()Matthew Wilcox (Oracle)1-11/+11
2021-10-18flex_proportions: Allow N events instead of 1Matthew Wilcox (Oracle)1-2/+2
2021-09-27mm/filemap: Add folio_wait_bit()Matthew Wilcox (Oracle)1-2/+2
2021-09-27mm/writeback: Add folio_wait_stable()Matthew Wilcox (Oracle)1-10/+14
2021-09-27mm/writeback: Add folio_wait_writeback()Matthew Wilcox (Oracle)1-15/+33
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-38/+83
2021-09-03writeback: use READ_ONCE for unlocked reads of writeback statsJan Kara1-12/+13
2021-09-03writeback: rename domain_update_bandwidth()Jan Kara1-4/+4
2021-09-03writeback: fix bandwidth estimate for spiky workloadJan Kara1-14/+25
2021-09-03writeback: reliably update bandwidth estimationJan Kara1-12/+27
2021-09-03writeback: track number of inodes under writebackJan Kara1-2/+20
2021-08-09mm: hide laptop_mode_wb_timer entirely behind the BDI APIChristoph Hellwig1-2/+0
2021-06-30Merge tag 'for-5.14/block-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+0
2021-06-29fs: remove noop_set_page_dirty()Matthew Wilcox (Oracle)1-0/+1
2021-06-29mm/writeback: use __set_page_dirty in __set_page_dirty_nobuffersMatthew Wilcox (Oracle)1-9/+1
2021-06-29mm/writeback: move __set_page_dirty() to core mmMatthew Wilcox (Oracle)1-1/+26
2021-06-29mm: require ->set_page_dirty to be explicitly wired upChristoph Hellwig1-14/+4
2021-06-29mm/page-writeback: use __this_cpu_inc() in account_page_dirtied()Chi Wu1-1/+1
2021-06-29mm/page-writeback: update the comment of Dirty position controlChi Wu1-1/+1
2021-06-29mm/page-writeback: Fix performance when BDI's share of ratio is 0.Chi Wu1-4/+16
2021-06-29mm: page-writeback: kill get_writeback_state() commentsKefeng Wang1-6/+3
2021-05-24block_dump: remove block_dump featurezhangyi (F)1-5/+0
2021-05-07mm: fix typos in commentsIngo Molnar1-2/+2
2021-04-30mm: page-writeback: simplify memcg handling in test_clear_page_writeback()Johannes Weiner1-6/+3
2021-03-23mm/writeback: Add wait_on_page_writeback_killableMatthew Wilcox (Oracle)1-0/+16
2021-01-05mm: make wait_on_page_writeback() wait for multiple pending writebacksLinus Torvalds1-1/+1
2020-11-24mm: fix VM_BUG_ON(PageTail) and BUG_ON(PageWriteback)Hugh Dickins1-6/+0
2020-10-16mm/page-writeback: support tail pages in wait_for_stable_pageMatthew Wilcox (Oracle)1-0/+1
2020-09-24bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flagChristoph Hellwig1-6/+6
2020-09-24bdi: invert BDI_CAP_NO_ACCT_WBChristoph Hellwig1-2/+2
2020-09-24bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flagChristoph Hellwig1-1/+1
2020-08-07mm: remove vm_total_pagesDavid Hildenbrand1-4/+2
2020-06-04mm/page-writeback: fix a typo in comment "effictive"->"effective"Ethon Paul1-1/+1
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-10/+6
2020-06-02mm/writeback: discard NR_UNSTABLE_NFS, use NR_WRITEBACK insteadNeilBrown1-13/+4
2020-06-02mm/writeback: replace PF_LESS_THROTTLE with PF_LOCAL_THROTTLENeilBrown1-8/+33
2020-06-02mm/page-writeback.c: remove unused variableChao Yu1-3/+1
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-10/+6
2020-04-02mm/gup/writeback: add callbacks for inaccessible pagesClaudio Imbrenda1-1/+8
2020-04-02mm/page-writeback.c: use VM_BUG_ON_PAGE in clear_page_dirty_for_ioMatthew Wilcox (Oracle)1-1/+1
2020-04-02mm/page-writeback.c: write_cache_pages(): deduplicate identical checksMauricio Faria de Oliveira1-4/+4
2020-01-13mm/page-writeback.c: improve arithmetic divisionsWen Yang1-1/+1
2020-01-13mm/page-writeback.c: use div64_ul() for u64-by-unsigned-long divideWen Yang1-2/+2
2020-01-13mm/page-writeback.c: avoid potential division by zero in wb_min_max_ratio()Wen Yang1-2/+2
2019-08-27writeback, memcg: Implement foreign dirty flushingTejun Heo1-0/+4
2019-07-12mm: remove the account_page_dirtied exportChristoph Hellwig1-1/+0
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm/page-writeback: introduce tracepoint for wait_on_page_writeback()Yafang Shao1-0/+12
2019-03-05docs/core-api/mm: fix return value descriptions in mm/Mike Rapoport1-8/+16
2018-12-28mm/page-writeback.c: don't break integrity writeback on ->writepage() errorBrian Foster1-14/+21
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-46/+26
2018-10-26mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlockDave Chinner1-18/+15
2018-10-21mm: Convert page-writeback to XArrayMatthew Wilcox1-46/+26
2018-08-30notifier: Remove notifier header file wherever not usedMukesh Ojha1-1/+0
2018-08-17mm/page-writeback.c: update stale account_page_redirty() commentGreg Thelen1-2/+2
2018-04-20writeback: safer lock nestingGreg Thelen1-9/+9
2018-04-11page cache: use xa_lockMatthew Wilcox1-23/+20
2017-11-29Revert "mm/page-writeback.c: print a warning if the vm dirtiness settings are...Michal Hocko1-4/+1
2017-11-21block/laptop_mode: Convert timers to use timer_setup()Kees Cook1-3/+4
2017-11-15writeback: remove unused function parameterWang Long1-2/+2
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-1/+1
2017-11-15mm: speed up cancel_dirty_page() for clean pagesJan Kara1-2/+2
2017-11-15mm/page-writeback.c: convert timers to use timer_setup()Kees Cook1-4/+3
2017-11-15mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()Jan Kara1-1/+1
2017-11-15mm: use pagevec_lookup_range_tag() in write_cache_pages()Jan Kara1-18/+2
2017-11-15mm/page-writeback.c: print a warning if the vm dirtiness settings are illogicalYafang Shao1-1/+4
2017-11-15mm/page-writeback.c: remove unused parameter from balance_dirty_pages()Tahsin Erdogan1-3/+2
2017-10-14mm/page-writeback.c: make changes of dirty_writeback_centisecs take effect im...Yafang Shao1-1/+10
2017-10-09writeback: schedule periodic writeback with sysctlYafang Shao1-2/+8
2017-10-03writeback: pass in '0' for nr_pages writeback in laptop modeJens Axboe1-16/+1
2017-10-03writeback: remove 'range_cyclic' argument for wb_start_writeback()Jens Axboe1-2/+2
2017-09-06mm: rename global_page_state to global_zone_page_stateMichal Hocko1-2/+2
2017-08-18mm: memcontrol: fix NULL pointer crash in test_clear_page_writeback()Johannes Weiner1-3/+12
2017-07-12writeback: rework wb_[dec|inc]_stat family of functionsNikolay Borisov1-5/+5
2017-07-07Merge tag 'for-linus-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-10/+9
2017-07-06mm: memcontrol: per-lruvec stats infrastructureJohannes Weiner1-10/+5
2017-07-05mm: clean up error handling in write_one_pageJeff Layton1-7/+6
2017-07-05mm: drop "wait" parameter from write_one_page()Jeff Layton1-7/+7
2017-05-08Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-4/+10
2017-05-03mm: memcontrol: use node page state naming scheme for memcgJohannes Weiner1-5/+5
2017-05-03mm: memcontrol: re-use node VM page state enumJohannes Weiner1-5/+5
2017-05-03mm/page-writeback.c: use setup_deferrable_timerGeliang Tang1-3/+2
2017-04-28mm: retry writepages() on ENOMEM when doing an data integrity writebackTheodore Ts'o1-4/+10
2017-03-02sched/headers: Prepare for the reduction of <linux/sched.h>'s signal API depe...Ingo Molnar1-0/+1
2017-02-27scripts/spelling.txt: add "comsume(r)" pattern and fix typo instancesMasahiro Yamada1-1/+1
2017-02-24mm/page-writeback.c: place "not" inside of unlikely() statement in wb_domain_...Steven Rostedt (VMware)1-1/+1
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-2/+2
2016-12-14radix-tree: delete radix_tree_range_tag_if_tagged()Matthew Wilcox1-10/+18
2016-11-08writeback: track if we're sleeping on progress in balance_dirty_pages()Jens Axboe1-0/+1
2016-10-07mm: don't use radix tree writeback tags for pages in swap cacheHuang Ying1-2/+2
2016-10-07mm, vmscan: get rid of throttle_vm_writeoutMichal Hocko1-30/+0
2016-09-06mm/writeback: Convert to hotplug state machineSebastian Andrzej Siewior1-19/+7
2016-07-28mm: remove reclaim and compaction retry approximationsMel Gorman1-0/+5
2016-07-28mm, vmscan: remove highmem_file_pagesMel Gorman1-8/+4
2016-07-28mm, page_alloc: fix dirtyable highmem calculationMinchan Kim1-6/+10
2016-07-28mm, vmstat: remove zone and node double accounting by approximating retriesMel Gorman1-8/+5
2016-07-28mm: move vmscan writes and file write accounting to the nodeMel Gorman1-3/+3
2016-07-28mm: move most file-based accounting to the nodeMel Gorman1-25/+22
2016-07-28mm, page_alloc: consider dirtyable memory in terms of nodesMel Gorman1-30/+61
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-4/+4
2016-07-26shmem: add huge pages supportKirill A. Shutemov1-0/+1
2016-07-26fs/fs-writeback.c: add a new writeback list for syncDave Chinner1-0/+18
2016-05-30writeback: use higher precision calculation in domain_dirty_limits()Tejun Heo1-9/+12
2016-05-20MM: increase safety margin provided by PF_LESS_THROTTLENeilBrown1-2/+2
2016-05-19mm/writeback: correct dirty page calculation for highmemJoonsoo Kim1-2/+6
2016-05-06Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+4
2016-05-05writeback: Fix performance regression in wb_over_bg_thresh()Howard Cochran1-2/+4
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-6/+6
2016-03-15mm: remove unnecessary uses of lock_page_memcg()Johannes Weiner1-2/+0
2016-03-15mm: simplify lock_page_memcg()Johannes Weiner1-28/+21
2016-03-15mm: memcontrol: generalize locking for the page->mem_cgroup bindingJohannes Weiner1-14/+14
2016-03-15mm/page-writeback: fix dirty_ratelimit calculationAndrey Ryabinin1-5/+6
2016-01-14mm: page_alloc: generalize the dirty balance reserveJohannes Weiner1-2/+12
2015-11-23treewide: Remove old email addressPeter Zijlstra1-1/+1
2015-11-20mm/page-writeback.c: initialize m_dirty to avoid compile warningYang Shi1-1/+3
2015-10-12writeback: fix incorrect calculation of available memory for memcg domainsTejun Heo1-11/+18
2015-10-12writeback: memcg dirty_throttle_control should be initialized with wb->memcg_...Tejun Heo1-9/+11
2015-10-12writeback: bdi_writeback iteration must not skip dying onesTejun Heo1-2/+1
2015-10-12writeback: laptop_mode_timer_fn() needs rcu_read_lock() around bdi_writeback ...Tejun Heo1-0/+2
2015-09-10Merge branch 'for-4.3/blkcg' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2015-08-18writeback: update writeback tracepoints to report cgroupTejun Heo1-3/+3
2015-08-07writeback: fix initial dirty limitRabin Vincent1-2/+2