aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-22writeback: move wb_wakeup_delayed defination to fs-writeback.cKemeng Shi1-0/+25
2023-12-24netfs: Move pinning-for-writeback from fscache to netfsDavid Howells1-5/+5
2023-10-30Merge tag 'vfs-6.7.misc' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-12/+29
2023-10-19writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbsJingbo Xu1-12/+29
2023-09-20fs-writeback: do not requeue a clean inode having skipped pagesChunhai Guo1-3/+8
2023-08-21super: make locking naming consistentChristian Brauner1-2/+2
2023-06-09writeback: move wb_over_bg_thresh() call outside lock sectionYosry Ahmed1-5/+11
2023-05-06Merge tag 'for-6.4/block-2023-05-06' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-04-28writeback: fix call of incorrect macroMaxim Korotkov1-1/+1
2023-04-16writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbsBaokun Li1-7/+10
2023-02-02mm: convert mem_cgroup_css_from_page() to mem_cgroup_css_from_folio()Matthew Wilcox (Oracle)1-2/+4
2023-02-02mm/fs: convert inode_attach_wb() to take a folioMatthew Wilcox (Oracle)1-3/+3
2022-12-15Merge tag 'for-6.2/writeback-2022-12-12' of git://git.kernel.dk/linuxLinus Torvalds1-3/+14
2022-12-12writeback: remove obsolete macro EXPIRE_DIRTY_ATIMEMiaohe Lin1-2/+0
2022-12-12writeback: Add asserts for adding freed inode to listsJan Kara1-1/+14
2022-11-22fs: do not update freeing inode i_io_listSvyatoslav Feldsherov1-11/+19
2022-09-29fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODELukas Czerner1-12/+25
2022-08-28writeback: avoid use-after-free after removing deviceKhazhismel Kumykov1-6/+6
2022-06-06writeback: Fix inode->i_io_list not be protected by inode->i_lock errorJchao Sun1-9/+28
2022-05-25Merge tag 'fs_for_v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2022-05-23writeback: fix typo in commentJulia Lawall1-1/+1
2022-05-19fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pagesZhihao Cheng1-5/+8
2022-05-10writeback: Avoid skipping inode writebackJing Xia1-0/+4
2022-03-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-40/+0
2022-03-22mm/fs: delete PF_SWAPWRITEHugh Dickins1-3/+0
2022-03-22remove inode_congested()NeilBrown1-37/+0
2022-02-02block: check that there is a plug in blk_flush_plugChristoph Hellwig1-4/+2
2022-02-02block: remove blk_needs_flush_plugChristoph Hellwig1-1/+1
2022-01-12Merge tag 'fscache-rewrite-20220111' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+8
2022-01-07vfs, fscache: Implement pinning of cache usage for writebackDavid Howells1-0/+8
2022-01-02fs/writeback: Convert inode_switch_wbs_work_fn to foliosMatthew Wilcox (Oracle)1-11/+13
2021-11-01Merge tag 'kspp-misc-fixes-5.16-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+3
2021-10-20writeback: prefer struct_size over open coded arithmeticLen Baker1-3/+3
2021-10-20block: cleanup the flush plug helpersChristoph Hellwig1-2/+3
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-14/+14
2021-09-03writeback: memcg: simplify cgroup_writeback_by_idShakeel Butt1-11/+9
2021-09-03writeback: reliably update bandwidth estimationJan Kara1-3/+0
2021-09-03writeback: track number of inodes under writebackJan Kara1-0/+5
2021-08-23fs: kill sync_inodeJosef Bacik1-18/+1
2021-07-23writeback, cgroup: do not reparent dax inodesRoman Gushchin1-0/+3
2021-07-01Merge tag 'fs_for_v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+7
2021-06-30Merge tag 'for-5.14/block-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-25/+0
2021-06-29writeback, cgroup: release dying cgwbs by switching attached inodesRoman Gushchin1-10/+101
2021-06-29writeback, cgroup: support switching multiple inodes at onceRoman Gushchin1-42/+64
2021-06-29writeback, cgroup: split out the functional part of inode_switch_wbs_work_fn()Roman Gushchin1-8/+11
2021-06-29writeback, cgroup: keep list of inodes attached to bdi_writebackRoman Gushchin1-34/+59
2021-06-29writeback, cgroup: switch to rcu_work API in inode_switch_wbs()Roman Gushchin1-14/+4
2021-06-29writeback, cgroup: increment isw_nr_in_flight before grabbing an inodeRoman Gushchin1-2/+3
2021-06-29writeback, cgroup: add smp_mb() to cgroup_writeback_umount()Roman Gushchin1-0/+6
2021-06-29writeback, cgroup: do not switch inodes with I_WILL_FREE flagRoman Gushchin1-4/+4
2021-06-28writeback: fix obtain a reference to a freeing memcg cssMuchun Song1-2/+7
2021-05-24block_dump: remove block_dump feature in mark_inode_dirty()zhangyi (F)1-25/+0
2021-01-13fs: improve comments for writeback_single_inode()Eric Biggers1-24/+33
2021-01-13fs: drop redundant check from __writeback_single_inode()Eric Biggers1-1/+1
2021-01-13fs: clean up __mark_inode_dirty() a bitEric Biggers1-19/+30
2021-01-13fs: pass only I_DIRTY_INODE flags to ->dirty_inodeEric Biggers1-1/+1
2021-01-13fs: don't call ->dirty_inode for lazytime timestamp updatesEric Biggers1-3/+3
2021-01-13fs: fix lazytime expiration handling in __writeback_single_inode()Eric Biggers1-11/+13
2020-12-16writeback: don't warn on an unregistered BDI in __mark_inode_dirtyChristoph Hellwig1-4/+0
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+4
2020-09-24bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flagChristoph Hellwig1-3/+4
2020-09-19fs/fs-writeback.c: adjust dirtytime_interval_handler definition to match prot...Tobias Klauser1-1/+1
2020-06-15writeback: Drop I_DIRTY_TIME_EXPIREJan Kara1-17/+11
2020-06-15writeback: Fix sync livelock due to b_dirty_time processingJan Kara1-27/+17
2020-06-15writeback: Avoid skipping inode writebackJan Kara1-5/+12
2020-06-15writeback: Protect inode->i_io_list with inode->i_lockJan Kara1-5/+17
2020-06-05Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2020-06-03writeback: Export inode_io_list_del()Jan Kara1-0/+1
2020-06-02Merge tag 'for-5.8/block-2020-06-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2020-06-02mm/writeback: discard NR_UNSTABLE_NFS, use NR_WRITEBACK insteadNeilBrown1-1/+0
2020-05-09bdi: remove the name field in struct backing_dev_infoChristoph Hellwig1-1/+1
2020-01-31memcg: fix a crash in wb_workfn when a device disappearsTheodore Ts'o1-1/+1
2019-11-08cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is deadTejun Heo1-3/+6
2019-10-14fs/fs-writeback.c: fix kernel-doc warningRandy Dunlap1-1/+1
2019-10-07writeback: fix use-after-free in finish_writeback_work()Tejun Heo1-2/+7
2019-08-30writeback: add tracepoints for cgroup foreign writebacksTejun Heo1-0/+5
2019-08-27writeback, memcg: Implement cgroup_writeback_by_id()Tejun Heo1-0/+83
2019-08-27writeback: Generalize and expose wb_completionTejun Heo1-33/+14
2019-08-15writeback, cgroup: inode_switch_wbs() shouldn't give up on wb_switch_rwsem tr...Tejun Heo1-12/+5
2019-08-15writeback, cgroup: Adjust WB_FRN_TIME_CUT_DIV to accelerate foreign inode swi...Tejun Heo1-2/+20
2019-07-10blkcg, writeback: Add wbc->no_cgroup_ownerTejun Heo1-1/+1
2019-07-10blkcg, writeback: Rename wbc_account_io() to wbc_account_cgroup_owner()Tejun Heo1-4/+4
2019-07-10cgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usagesTejun Heo1-0/+3
2019-06-15blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arb...Tejun Heo1-1/+7
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-18fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into...Jiufei Xue1-3/+8
2019-01-22writeback: synchronize sync(2) against cgroup writeback membership switchesTejun Heo1-2/+38
2018-10-21fs: Convert writeback to XArrayMatthew Wilcox1-16/+9
2018-05-03bdi: Fix oops in wb_workfn()Jan Kara1-1/+1
2018-04-20writeback: safer lock nestingGreg Thelen1-3/+4
2018-04-11page cache: use xa_lockMatthew Wilcox1-11/+11
2018-03-28fs: move I_DIRTY_INODE to fs.hChristoph Hellwig1-6/+3
2018-01-06writeback: update comment in inode_io_list_move_lockedWang Long1-1/+1
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-1/+1
2017-10-10writeback: merge try_to_writeback_inodes_sb_nr() into callerRakesh Pandit1-24/+6
2017-10-04writeback: eliminate work item allocation in bd_start_writeback()Jens Axboe1-37/+34
2017-10-03writeback: only allow one inflight and pending full flushJens Axboe1-0/+25
2017-10-03writeback: move nr_pages == 0 logic to one locationJens Axboe1-24/+17
2017-10-03writeback: make wb_start_writeback() staticJens Axboe1-2/+2
2017-10-03writeback: provide a wakeup_flusher_threads_bdi()Jens Axboe1-10/+29
2017-10-03writeback: remove 'range_cyclic' argument for wb_start_writeback()Jens Axboe1-3/+3
2017-10-03writeback: switch wakeup_flusher_threads() to cyclic writebackJens Axboe1-1/+1
2017-10-03fs: kill 'nr_pages' argument from wakeup_flusher_threads()Jens Axboe1-5/+4
2017-07-12writeback: rework wb_[dec|inc]_stat family of functionsNikolay Borisov1-4/+4
2017-05-16fs: add a blank lines on some kernel-doc commentsMauro Carvalho Chehab1-5/+7
2017-03-13writeback: fix memory leak in wb_queue_work()Tahsin Erdogan1-14/+21
2016-12-12fs/fs-writeback.c: remove redundant if checkTahsin Erdogan1-9/+7
2016-08-09mm, writeback: flush plugged IO in wakeup_flusher_threads()Konstantin Khlebnikov1-0/+6
2016-08-04writeback: Write dirty times for WB_SYNC_ALL writebackJan Kara1-0/+1
2016-07-28mm: move most file-based accounting to the nodeMel Gorman1-2/+2
2016-07-26fs/fs-writeback.c: inode writeback list tracking tracepointsBrian Foster1-2/+7
2016-07-26fs/fs-writeback.c: add a new writeback list for syncDave Chinner1-25/+81
2016-06-30writeback: inode cgroup wb switch should not call ihold()Tahsin Erdogan1-1/+1
2016-05-20mm,writeback: don't use memory reserves for wb_start_writebackTetsuo Handa1-1/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-03-20writeback, cgroup: fix use of the wrong bdi_writeback which mismatches the inodeTejun Heo1-10/+19
2016-03-20writeback, cgroup: fix premature wb_put() in locked_inode_to_wb_and_lock_list()Tejun Heo1-3/+5
2016-03-03writeback: flush inode cgroup wb switches instead of pinning super_blockTejun Heo1-13/+41
2016-02-16writeback: keep superblock pinned during cgroup writeback association switchesTejun Heo1-4/+11
2016-01-15cgroup, memcg, writeback: drop spurious rcu locking around mem_cgroup_css_fro...Tejun Heo1-2/+0
2015-11-09fs/writeback.c: fix kernel-doc warningsRandy Dunlap1-1/+2
2015-11-05mm/filemap.c: make global sync not clear error status of individual inodesJunichi Nomura1-1/+6
2015-10-28fs/writeback, rcu: Don't use list_entry_rcu() for pointer offsetting in bdi_s...Tejun Heo1-2/+2
2015-10-12writeback: bdi_writeback iteration must not skip dying onesTejun Heo1-9/+22
2015-10-12writeback: fix bdi_writeback iteration in wakeup_dirtytime_writeback()Tejun Heo1-2/+2
2015-09-19fs-writeback: unplug before cond_resched in writeback_sb_inodesChris Mason1-1/+16
2015-09-12writeback: plug writeback in wb_writeback() and writeback_inodes_wb()Linus Torvalds1-0/+6
2015-09-11Revert "writeback: plug writeback at a high level"Linus Torvalds1-3/+4
2015-09-10Merge branch 'for-4.3/blkcg' of git://git.kernel.dk/linux-blockLinus Torvalds1-96/+43
2015-09-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-29/+43
2015-08-25writeback: sync_inodes_sb() must write out I_DIRTY_TIME inodes and always cal...Tejun Heo1-9/+13
2015-08-18writeback: update writeback tracepoints to report cgroupTejun Heo1-7/+7
2015-08-18writeback: explain why @inode is allowed to be NULL for inode_congested()Tejun Heo1-1/+4
2015-08-18writeback: remove wb_writeback_work->single_wait/doneTejun Heo1-86/+30
2015-08-18writeback: bdi_for_each_wb() iteration is memcg ID based not blkcgTejun Heo1-3/+3
2015-08-17inode: rename i_wb_list to i_io_listDave Chinner1-23/+23
2015-08-17sync: serialise per-superblock sync operationsDave Chinner1-0/+11
2015-08-17inode: convert inode_sb_list_lock to per-sbDave Chinner1-6/+6
2015-08-17writeback: plug writeback at a high levelDave Chinner1-0/+3
2015-07-23block: export bio_associate_*() and wbc_account_io()Tejun Heo1-0/+1
2015-06-17writeback: do foreign inode detection iff cgroup writeback is enabledTejun Heo1-3/+13
2015-06-02writeback: disassociate inodes from dying bdi_writebacksTejun Heo1-0/+7
2015-06-02writeback: implement foreign cgroup inode bdi_writeback switchingTejun Heo1-2/+84
2015-06-02writeback: add lockdep annotation to inode_to_wb()Tejun Heo1-2/+3
2015-06-02writeback: use unlocked_inode_to_wb transaction in inode_congested()Tejun Heo1-4/+12
2015-06-02writeback: implement unlocked_inode_to_wb transaction and use it for stat upd...Tejun Heo1-6/+111
2015-06-02writeback: implement [locked_]inode_to_wb_and_lock_list()Tejun Heo1-5/+75
2015-06-02writeback: implement foreign cgroup inode detectionTejun Heo1-2/+175
2015-06-02writeback: make writeback_control track the inode being written backTejun Heo1-2/+35
2015-06-02writeback: relocate wb[_try]_get(), wb_put(), inode_{attach|detach}_wb()Tejun Heo1-0/+31
2015-06-02writeback: move over_bground_thresh() to mm/page-writeback.cTejun Heo1-18/+2
2015-06-02writeback: move global_dirty_limit into wb_domainTejun Heo1-1/+1
2015-06-02writeback: reorganize [__]wb_update_bandwidth()Tejun Heo1-10/+0
2015-06-02writeback: clean up wb_dirty_limit()Tejun Heo1-1/+1
2015-06-02writeback: dirty inodes against their matching cgroup bdi_writeback'sTejun Heo1-12/+11
2015-06-02writeback: make writeback initiation functions handle multiple bdi_writeback'sTejun Heo1-5/+91
2015-06-02writeback: restructure try_writeback_inodes_sb[_nr]()Tejun Heo1-23/+29
2015-06-02writeback: implement wb_wait_for_single_work()Tejun Heo1-2/+45
2015-06-02writeback: implement bdi_wait_for_completion()Tejun Heo1-12/+46
2015-06-02writeback: add wb_writeback_work->auto_freeTejun Heo1-7/+6
2015-06-02writeback: make wakeup_dirtytime_writeback() handle multiple bdi_writeback'sTejun Heo1-3/+6
2015-06-02writeback: make wakeup_flusher_threads() handle multiple bdi_writeback'sTejun Heo1-2/+46
2015-06-02writeback: make bdi_start_background_writeback() take bdi_writeback instead o...Tejun Heo1-6/+6
2015-06-02writeback: make writeback_in_progress() take bdi_writeback instead of backing...Tejun Heo1-14/+1
2015-06-02writeback: remove bdi_start_writeback()Tejun Heo1-43/+25
2015-06-02writeback: don't issue wb_writeback_work if cleanTejun Heo1-8/+10
2015-06-02writeback: make bdi_has_dirty_io() take multiple bdi_writeback's into accountTejun Heo1-2/+3
2015-06-02writeback: implement backing_dev_info->tot_write_bandwidthTejun Heo1-1/+6
2015-06-02writeback: implement WB_has_dirty_io wb_state flagTejun Heo1-24/+86
2015-06-02writeback: implement and use inode_congested()Tejun Heo1-0/+29
2015-06-02writeback: make backing_dev_info host cgroup-specific bdi_writebacksTejun Heo1-3/+5
2015-06-02bdi: make inode_to_bdi() inlineTejun Heo1-16/+0
2015-06-02writeback: move backing_dev_info->wb_lock and ->worklist into bdi_writebackTejun Heo1-45/+41
2015-06-02writeback: move bandwidth related fields from backing_dev_info into bdi_write...Tejun Heo1-9/+8
2015-06-02writeback: move backing_dev_info->bdi_stat[] into bdi_writebackTejun Heo1-1/+1
2015-06-02writeback: move backing_dev_info->state into bdi_writebackTejun Heo1-7/+7
2015-03-17fs: add dirtytime_expire_seconds sysctlTheodore Ts'o1-0/+11
2015-03-17fs: make sure the timestamps for lazytime inodes eventually get writtenTheodore Ts'o1-10/+72
2015-02-22trylock_super(): replacement for grab_super_passive()Konstantin Khlebnikov1-3/+3
2015-02-17Merge branch 'lazytime' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-11/+51
2015-02-05vfs: add support for a lazytime mount optionTheodore Ts'o1-11/+51
2015-01-22fs: make inode_to_bdi() handle NULL inodeJens Axboe1-1/+6
2015-01-20fs: export inode_to_bdi and use it in favor of mapping->backing_dev_infoChristoph Hellwig1-1/+2
2015-01-20block_dev: get bdev inode bdi directly from the block deviceChristoph Hellwig1-3/+3
2014-11-04writeback: fix a subtle race condition in I_DIRTY clearingTejun Heo1-7/+22
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown1-1/+2
2014-04-04Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+2
2014-04-03bdi: avoid oops on device removalJan Kara1-5/+18
2014-04-03backing_dev: fix hung task on syncDerek Basehore1-4/+4
2014-02-22Revert "writeback: do not sync data dirtied after sync start"Jan Kara1-22/+11
2014-02-06GFS2: journal data writepages updateSteven Whitehouse1-0/+2
2013-12-14writeback: Fix data corruption on NFSJan Kara1-6/+9
2013-11-13Merge branch 'akpm' (patches from Andrew Morton)Linus Torvalds1-11/+22
2013-11-13writeback: do not sync data dirtied after sync startJan Kara1-11/+22
2013-10-24new helpers: lock_mount_hash/unlock_mount_hashAl Viro1-0/+1
2013-09-13Merge tag 'writeback-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+5
2013-09-11writeback: fix race that cause writeback hungJunxiao Bi1-2/+2
2013-09-11mm/writeback: make writeback_inodes_wb staticWanpeng Li1-1/+1
2013-09-11writeback: fix occasional slow sync(1)Jan Kara1-4/+2
2013-07-09mm/writeback: don't check force_wait to handle bdi->work_listWanpeng Li1-8/+2