aboutsummaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-11Merge tag 'vfs-6.9.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-25/+0
2024-02-06blk-wbt: Fix detection of dirty-throttled tasksJan Kara1-1/+1
2024-01-22writeback: move wb_wakeup_delayed defination to fs-writeback.cKemeng Shi1-25/+0
2023-08-21writeback: remove redundant checks for root memcgJinliang Zheng1-3/+0
2023-08-21mm: remove redundant K() macro definitionZhangPeng1-2/+1
2023-06-23mm: backing-dev: make bdi_class a static const structureIvan Orlov1-6/+11
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2023-04-18mm: backing-dev: set variables dev_attr_min,max_bytes storage-class-specifier...Tom Rix1-2/+2
2023-04-16writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbsBaokun Li1-2/+10
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-1/+1
2022-11-30mm: add /sys/class/bdi/<bdi>/min_ratio_fine knobStefan Roesch1-0/+20
2022-11-30mm: add /sys/class/bdi/<bdi>/max_ratio_fine knobStefan Roesch1-0/+20
2022-11-30mm: add /sys/class/bdi/<bdi>/min_bytes knobStefan Roesch1-0/+29
2022-11-30mm: add knob /sys/class/bdi/<bdi>/max_bytesStefan Roesch1-0/+29
2022-11-30mm: use part per 1000000 for bdi ratiosStefan Roesch1-3/+3
2022-11-30mm: add knob /sys/class/bdi/<bdi>/strict_limitStefan Roesch1-0/+29
2022-09-11mm: backing-dev: Remove the unneeded result variableye xingchen1-5/+1
2022-08-28writeback: avoid use-after-free after removing deviceKhazhismel Kumykov1-5/+5
2022-06-16init: Initialize noop_backing_dev_info earlyJan Kara1-9/+2
2022-05-02blk-cgroup: remove unneeded includes from <linux/blk-cgroup.h>Christoph Hellwig1-0/+1
2022-05-02blk-cgroup: move struct blkcg to block/blk-cgroup.hChristoph Hellwig1-7/+6
2022-05-02blk-cgroup: move blkcg_{pin,unpin}_online out of lineChristoph Hellwig1-3/+2
2022-03-22remove congestion tracking frameworkNeilBrown1-57/+0
2021-12-10mm: bdi: initialize bdi_min_ratio when bdi is unregisteredManjong Lee1-0/+7
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-58/+7
2021-11-06mm/vmscan: throttle reclaim until some writeback completes if congestedMel Gorman1-48/+0
2021-11-06mm: simplify bdi refcountingChristoph Hellwig1-8/+5
2021-11-06mm: don't automatically unregister bdisChristoph Hellwig1-2/+1
2021-11-06mm: export bdi_unregisterChristoph Hellwig1-0/+1
2021-10-18mm: don't include <linux/blkdev.h> in <linux/backing-dev.h>Christoph Hellwig1-0/+16
2021-10-18mm: don't include <linux/blk-cgroup.h> in <linux/backing-dev.h>Christoph Hellwig1-1/+2
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+11
2021-09-03writeback: fix bandwidth estimate for spiky workloadJan Kara1-0/+10
2021-09-03writeback: track number of inodes under writebackJan Kara1-0/+1
2021-08-09mm: hide laptop_mode_wb_timer entirely behind the BDI APIChristoph Hellwig1-0/+3
2021-07-23writeback, cgroup: remove wb from offline list before releasing refcntRoman Gushchin1-1/+1
2021-06-29writeback, cgroup: release dying cgwbs by switching attached inodesRoman Gushchin1-2/+62
2021-06-29writeback, cgroup: keep list of inodes attached to bdi_writebackRoman Gushchin1-0/+2
2021-02-26mm/backing-dev.c: use might_alloc()Daniel Vetter1-1/+2
2021-02-24mm: backing-dev: Remove duplicated macro definitionBaolin Wang1-4/+2
2020-12-15mm:backing-dev: use sysfs_emit in macro defining functionsJoe Perches1-4/+4
2020-09-24bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flagChristoph Hellwig1-4/+2
2020-09-24bdi: invert BDI_CAP_NO_ACCT_WBChristoph Hellwig1-0/+1
2020-09-24bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flagChristoph Hellwig1-4/+3
2020-09-24bdi: initialize ->ra_pages and ->io_pages in bdi_initChristoph Hellwig1-0/+2
2020-07-08writeback: remove struct bdi_writeback_congestedChristoph Hellwig1-140/+9
2020-07-08writeback: remove {set,clear}_wb_congestedChristoph Hellwig1-6/+6
2020-05-09bdi: remove the name field in struct backing_dev_infoChristoph Hellwig1-1/+0
2020-05-09bdi: simplify bdi_allocChristoph Hellwig1-4/+3
2020-05-09bdi: remove bdi_register_ownerChristoph Hellwig1-10/+2
2020-05-09bdi: unexport bdi_register_vaChristoph Hellwig1-1/+0
2020-05-09bdi: add a ->dev_name field to struct backing_dev_infoChristoph Hellwig1-2/+3
2020-05-07bdi: move bdi_dev_name out of lineChristoph Hellwig1-1/+9
2020-04-01blkcg: rename blkcg->cgwb_refcnt to ->online_pin and always use itTejun Heo1-3/+3
2020-01-31memcg: fix a crash in wb_workfn when a device disappearsTheodore Ts'o1-0/+1
2019-10-06bdi: Do not use freezable workqueueMika Westerberg1-2/+2
2019-08-27writeback: Separate out wb_get_lookup() from wb_get_create()Tejun Heo1-18/+37
2019-08-27bdi: Add bdi->idTejun Heo1-2/+63
2019-06-03backing-dev: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-19/+5
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-01-22writeback: synchronize sync(2) against cgroup writeback membership switchesTejun Heo1-0/+1
2018-08-31blkcg: delay blkg destruction until after writeback has finishedDennis Zhou (Facebook)1-0/+5
2018-08-22bdi: use irqsave variant of refcount_dec_and_lock()Anna-Maria Gleixner1-4/+1
2018-08-22bdi: use refcount_t for reference counting instead atomic_tSebastian Andrzej Siewior1-6/+6
2018-06-22bdi: Fix another oops in wb_workfn()Jan Kara1-13/+7
2018-06-07memcg: writeback: use memcg->cgwb_list directlyWang Long1-2/+2
2018-05-23bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueueTejun Heo1-1/+17
2018-05-03bdi: Fix use after free bug in debugfs_remove()Tetsuo Handa1-0/+1
2018-05-03bdi: wake up concurrent wb_shutdown() callers.Tetsuo Handa1-1/+1
2018-04-11mm/vmscan: don't mess with pgdat->flags in memcg reclaimAndrey Ryabinin1-13/+6
2018-04-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-12/+1
2018-04-05mm: reuse DEFINE_SHOW_ATTRIBUTE() macroAndy Shevchenko1-12/+1
2018-02-28writeback: remove dead code in wb_blkcg/memcg_offlineJiufei Xue1-2/+0
2017-12-21Revert "bdi: add error handle for bdi_debug_register"Jens Axboe1-4/+1
2017-11-19bdi: add error handle for bdi_debug_registerweiping zhang1-1/+4
2017-11-19bdi: convert bdi_debug_register to intweiping zhang1-2/+15
2017-10-06backing-dev: kill unused pdflush_proc_obsolete()Jens Axboe1-20/+0
2017-09-11mm/backing-dev.c: fix an error handling path in 'cgwb_create()'Christophe JAILLET1-2/+4
2017-04-20bdi: Drop 'parent' argument from bdi_register[_va]()Jan Kara1-8/+5
2017-04-20block: Remove unused functionsJan Kara1-50/+6
2017-04-20bdi: Export bdi_alloc_node() and bdi_put()Jan Kara1-0/+2
2017-04-20block: Unregister bdi on last reference dropJan Kara1-0/+2
2017-04-20bdi: Provide bdi_register_va() and bdi_alloc()Jan Kara1-5/+15
2017-03-22bdi: Rename cgwb_bdi_destroy() to cgwb_bdi_unregister()Jan Kara1-3/+3
2017-03-22bdi: Do not wait for cgwbs release in bdi_unregister()Jan Kara1-21/+1
2017-03-22bdi: Shutdown writeback on all cgwbs in cgwb_bdi_destroy()Jan Kara1-0/+22
2017-03-22bdi: Unify bdi->wb_list handling for root wb_writebackJan Kara1-6/+28
2017-03-22bdi: Make wb->bdi a proper referenceJan Kara1-2/+11
2017-03-22bdi: Mark congested->bdi as internalJan Kara1-5/+5
2017-03-08bdi: Fix use-after-free in wb_congested_put()Jan Kara1-15/+21
2017-03-08block: Allow bdi re-registrationJan Kara1-0/+7
2017-02-22mm/backing-dev.c: use rb_entry()Geliang Tang1-2/+2
2017-02-08block: fix double-free in the failure path of cgwb_bdi_init()Tejun Heo1-2/+7
2017-02-02block: Dynamically allocate and refcount backing_dev_infoJan Kara1-1/+33
2016-11-08writeback: track if we're sleeping on progress in balance_dirty_pages()Jens Axboe1-0/+1
2016-08-04block: fix bdi vs gendisk lifetime mismatchDan Williams1-0/+19
2016-07-28mm, vmscan: move LRU lists to nodeMel Gorman1-7/+8
2016-05-20mm: throttle on IO only when there are too many dirty and writeback pagesMichal Hocko1-17/+3
2016-03-31writeback: fix the wrong congested state variable definitionKaixu Xia1-2/+2
2016-03-17mm: convert printk(KERN_<LEVEL> to pr_<level>Joe Perches1-2/+2
2016-02-11mm/backing-dev.c: fix error path in wb_init()Rasmus Villemoes1-1/+1
2016-02-05mm, vmstat: fix wrong WQ sleep when memory reclaim doesn't make any progressTetsuo Handa1-1/+1
2016-01-14mm: memcontrol: export root_mem_cgroupJohannes Weiner1-1/+1
2015-12-12mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't make any ...Michal Hocko1-3/+16
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-1/+1
2015-10-21writeback: remove broken rbtree_postorder_for_each_entry_safe() usage in cgwb...Tejun Heo1-4/+6
2015-10-15block: don't release bdi while request_queue has live referencesTejun Heo1-1/+11
2015-10-12writeback: bdi_writeback iteration must not skip dying onesTejun Heo1-1/+13
2015-09-10Merge branch 'for-4.3/blkcg' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2015-08-18blkcg: rename subsystem name from blkio to ioTejun Heo1-2/+2
2015-08-17inode: rename i_wb_list to i_io_listDave Chinner1-4/+4
2015-07-02writeback: don't drain bdi_writeback_congested on bdi destructionTejun Heo1-6/+16
2015-07-02writeback: don't embed root bdi_writeback_congested in bdi_writebackTejun Heo1-41/+46
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-126/+508
2015-06-04bdi: fix wrong error return value in cgwb_create()Tejun Heo1-1/+3
2015-06-02writeback: relocate wb[_try]_get(), wb_put(), inode_{attach|detach}_wb()Tejun Heo1-30/+0
2015-06-02writeback: implement memcg wb_domainTejun Heo1-1/+8
2015-06-02writeback: clean up wb_dirty_limit()Tejun Heo1-3/+3
2015-06-02writeback: implement bdi_wait_for_completion()Tejun Heo1-0/+1
2015-06-02writeback: make bdi_has_dirty_io() take multiple bdi_writeback's into accountTejun Heo1-5/+0
2015-06-02writeback: implement WB_has_dirty_io wb_state flagTejun Heo1-1/+1
2015-06-02writeback: make congestion functions per bdi_writebackTejun Heo1-11/+11
2015-06-02writeback: make backing_dev_info host cgroup-specific bdi_writebacksTejun Heo1-0/+397
2015-06-02bdi: separate out congested state into a separate structTejun Heo1-2/+5
2015-06-02writeback: add @gfp to wb_init()Tejun Heo1-4/+5
2015-06-02bdi: make inode_to_bdi() inlineTejun Heo1-0/+1
2015-06-02writeback: reorganize mm/backing-dev.cTejun Heo1-87/+87
2015-06-02writeback: move backing_dev_info->wb_lock and ->worklist into bdi_writebackTejun Heo1-31/+28
2015-06-02writeback: move bandwidth related fields from backing_dev_info into bdi_write...Tejun Heo1-25/+20
2015-06-02writeback: move backing_dev_info->bdi_stat[] into bdi_writebackTejun Heo1-23/+37
2015-06-02writeback: move backing_dev_info->state into bdi_writebackTejun Heo1-10/+10
2015-05-28block: discard bdi_unregister() in favour of bdi_destroy()NeilBrown1-17/+1
2015-02-17Merge branch 'lazytime' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+8
2015-02-05vfs: add support for a lazytime mount optionTheodore Ts'o1-2/+8
2015-01-20fs: remove default_backing_dev_infoChristoph Hellwig1-9/+0
2015-01-20fs: don't reassign dirty inodes to default_backing_dev_infoChristoph Hellwig1-67/+23
2015-01-20fs: remove mapping->backing_dev_infoChristoph Hellwig1-1/+0
2015-01-20fs: introduce f_op->mmap_capabilities for nommu mmap supportChristoph Hellwig1-5/+2
2014-10-18Merge branch 'for-3.18/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-24/+16
2014-10-10Merge branch 'for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-2/+2
2014-10-09mm: clean up zone flagsJohannes Weiner1-1/+1
2014-09-08bdi: reimplement bdev_inode_switch_bdi()Tejun Heo1-1/+1
2014-09-08bdi: explain the dirty list transferring in bdi_destroy()Tejun Heo1-2/+11
2014-09-08bdi: make backing_dev_info->wb.dwork canceling stricterTejun Heo1-13/+2
2014-09-08bdi: remove bdi->wb_lock locking around bdi->dev clearing in bdi_unregister()Tejun Heo1-8/+2
2014-09-08proportions: add @gfp to init functionsTejun Heo1-1/+1
2014-09-08percpu_counter: add @gfp to percpu_counter_init()Tejun Heo1-1/+1
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-1/+1
2014-04-03bdi: avoid oops on device removalJan Kara1-4/+9
2014-04-03backing_dev: fix hung task on syncDerek Basehore1-1/+4
2013-09-11mm/backing-dev.c: check user buffer length before copying data to the related...Chen Gang1-1/+1
2013-08-19backing-dev: convert class code to use dev_groupsGreg Kroah-Hartman1-8/+11
2013-07-16sysfs.h: add __ATTR_RW() macroGreg Kroah-Hartman1-2/+0
2013-07-03drivers: avoid format string in dev_set_nameKees Cook1-3/+2
2013-04-01writeback: expose the bdi_wq workqueueTejun Heo1-1/+1
2013-04-01writeback: replace custom worker pool implementation with unbound workqueueTejun Heo1-227/+28
2013-04-01writeback: remove unused bdi_pending_listTejun Heo1-3/+1
2013-02-21bdi: allow block devices to say that they require stable page writesDarrick J. Wong1-0/+11
2012-12-17Revert "bdi: add a user-tunable cpu_list for the bdi flusher threads"Linus Torvalds1-84/+0
2012-12-05bdi: add a user-tunable cpu_list for the bdi flusher threadsJeff Moyer1-0/+84
2012-08-25backing-dev: use kstrto* in preference to simple_strtoulNamjae Jeon1-24/+26
2012-08-04vfs: kill write_super and sync_supersArtem Bityutskiy1-52/+0
2012-07-31mm: prepare for removal of obsolete /proc/sys/vm/nr_pdflush_threadsWanpeng Li1-0/+20
2012-06-09block: Convert BDI proportion calculations to flexible proportionsJan Kara1-3/+3
2012-02-01backing-dev: fix wakeup timer races with bdi_unregister()Rabin Vincent1-5/+18
2011-11-21freezer: implement and use kthread_freezable_should_stop()Tejun Heo1-6/+2
2011-11-11backing-dev: ensure wakeup_timer is deletedRabin Vincent1-0/+8
2011-11-06Merge branch 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+6
2011-10-31mm-add-comment-explaining-task-state-setting-in-bdi_forker_thread-fixAndrew Morton1-3/+2
2011-10-31writeback: Add a 'reason' to wb_writeback_workCurt Wohlgemuth1-1/+2
2011-10-03writeback: stabilize bdi->dirty_ratelimitWu Fengguang1-0/+1
2011-10-03writeback: dirty rate controlWu Fengguang1-0/+1
2011-10-03writeback: account per-bdi accumulated dirtied pagesWu Fengguang1-0/+2
2011-09-02mm: Add comment explaining task state setting in bdi_forker_thread()Jan Kara1-0/+7
2011-09-02mm: Cleanup clearing of BDI_pending bit in bdi_forker_thread()Jan Kara1-9/+14
2011-07-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg...Linus Torvalds1-30/+52
2011-07-25Merge 'akpm' patch seriesLinus Torvalds1-0/+1
2011-07-25mm/backing-dev.c: reset bdi min_ratio in bdi_unregister()Peter Zijlstra1-0/+1
2011-07-23backing-dev: use synchronize_rcu_expedited instead of synchronize_rcuMikulas Patocka1-1/+1
2011-07-09writeback: show bdi write bandwidth in debugfsWu Fengguang1-11/+13
2011-07-09writeback: bdi write bandwidth estimationWu Fengguang1-0/+12
2011-07-09writeback: account per-bdi accumulated written pagesJan Kara1-2/+8
2011-07-09writeback: make writeback_control.nr_to_write straightWu Fengguang1-14/+3
2011-06-08writeback: split inode_wb_list_lock into bdi_writeback.list_lockChristoph Hellwig1-4/+17
2011-05-20backing-dev: Kill set but not used var in bdi_debug_stats_show()Gustavo F. Padovan1-2/+2
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-24Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+4
2011-03-24fs: move i_wb_list out from under inode_lockDave Chinner1-4/+4
2011-03-17fs: assign sb->s_bdi to default_backing_dev_info if the bdi is going awayJens Axboe1-1/+1
2011-03-10block: remove per-queue pluggingJens Axboe1-6/+0
2010-10-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+3
2010-10-26kernel: remove PF_FLUSHERPeter Zijlstra1-1/+1
2010-10-26writeback: do not sleep on the congestion queue if there are no congested BDI...Mel Gorman1-2/+59
2010-10-26writeback: account for time spent congestion_waitedMel Gorman1-0/+5
2010-10-25fs: inode split IO and LRU listsNick Piggin1-3/+3
2010-09-22bdi: Initialize noop_backing_dev_info properlyJan Kara1-0/+2
2010-08-27writeback: do not lose wakeup events when forking bdi threadsArtem Bityutskiy1-2/+5
2010-08-12writeback: avoid unnecessary calculation of bdi dirty thresholdsWu Fengguang1-1/+2
2010-08-07writeback: fix bad _bh spinlock nestingJens Axboe1-2/+3