aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/segment.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-09nilfs2: avoid having an active sc_timer before freeing sciEdward Adam Davis1-1/+6
2025-06-08treewide, timers: Rename from_timer() to timer_container_of()Ingo Molnar1-1/+1
2025-05-21nilfs2: remove wbc->for_reclaim handlingChristoph Hellwig1-16/+0
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner1-1/+1
2025-01-24nilfs2: revise the return value description style for consistency.Ryusuke Konishi1-2/+4
2025-01-24nilfs2: add missing return value kernel-doc descriptionsRyusuke Konishi1-0/+8
2025-01-24nilfs2: correct return value kernel-doc descriptions for the restRyusuke Konishi1-30/+18
2025-01-24nilfs2: protect access to buffers with no active referencesRyusuke Konishi1-1/+3
2024-09-21Merge tag 'mm-nonmm-stable-2024-09-21-07-52' of git://git.kernel.org/pub/scm/...Linus Torvalds1-106/+128
2024-09-01nilfs2: refactor nilfs_segctor_thread()Ryusuke Konishi1-45/+40
2024-09-01nilfs2: use kthread_create and kthread_stop for the log writer threadRyusuke Konishi1-51/+31
2024-09-01nilfs2: remove sc_timer_taskRyusuke Konishi1-2/+1
2024-09-01nilfs2: separate inode type information from i_state fieldRyusuke Konishi1-1/+1
2024-09-01nilfs2: do not propagate ENOENT error from sufile during GCRyusuke Konishi1-8/+56
2024-09-01nilfs2: fix state management in error path of log writing functionRyusuke Konishi1-4/+6
2024-07-04nilfs2: avoid undefined behavior in nilfs_cnt32_ge macroRyusuke Konishi1-1/+1
2024-06-24nilfs2: do not call inode_attach_wb() directlyRyusuke Konishi1-2/+2
2024-06-24nilfs2: prepare backing device folios for writing after adding checksumsRyusuke Konishi1-33/+52
2024-06-05nilfs2: fix potential kernel bug due to lack of writeback flag waitingRyusuke Konishi1-0/+3
2024-05-24nilfs2: fix potential hang in nilfs_detach_log_writer()Ryusuke Konishi1-3/+18
2024-05-24nilfs2: fix unexpected freezing of nilfs_segctor_sync()Ryusuke Konishi1-4/+13
2024-05-24nilfs2: fix use-after-free of timer for log writer threadRyusuke Konishi1-6/+19
2024-05-21Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-05-11nilfs2: remove calls to folio_set_error() and folio_clear_error()Matthew Wilcox (Oracle)1-7/+1
2024-05-03nilfs_attach_log_writer(): use ->bd_mapping->host instead of ->bd_inodeAl Viro1-1/+1
2024-02-22nilfs2: localize highmem mapping for checkpoint finalization within cpfileRyusuke Konishi1-46/+5
2024-02-22nilfs2: localize highmem mapping for checkpoint creation within cpfileRyusuke Konishi1-29/+2
2024-02-22nilfs2: convert ifile to use kmap_localRyusuke Konishi1-1/+1
2024-02-22nilfs2: move nilfs_bmap_write call out of nilfs_write_inode_commonRyusuke Konishi1-8/+39
2024-02-07nilfs2: fix potential bug in end_buffer_async_writeRyusuke Konishi1-3/+5
2023-12-29nilfs2: add missing set_freezable() for freezable kthreadKevin Hao1-0/+1
2023-12-10nilfs2: convert nilfs_segctor_prepare_write to use foliosMatthew Wilcox (Oracle)1-29/+29
2023-12-10nilfs2: convert to __nilfs_clear_folio_dirty()Matthew Wilcox (Oracle)1-1/+1
2023-12-10nilfs2: convert to nilfs_folio_buffers_clean()Matthew Wilcox (Oracle)1-2/+2
2023-12-10nilfs2: convert nilfs_segctor_complete_write to use foliosMatthew Wilcox (Oracle)1-28/+21
2023-12-10nilfs2: convert nilfs_abort_logs to use foliosMatthew Wilcox (Oracle)1-14/+14
2023-12-10nilfs2: add nilfs_end_folio_io()Matthew Wilcox (Oracle)1-14/+22
2023-10-25buffer: remove folio_create_empty_buffers()Matthew Wilcox (Oracle)1-1/+1
2023-10-25nilfs2: convert nilfs_lookup_dirty_data_buffers to use folio_create_empty_buf...Matthew Wilcox (Oracle)1-4/+3
2023-08-21nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()Ryusuke Konishi1-0/+5
2023-08-04nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iputRyusuke Konishi1-0/+2
2023-06-19nilfs2: fix buffer corruption due to concurrent device readsRyusuke Konishi1-0/+7
2023-05-06nilfs2: do not write dirty data after degenerating to read-onlyRyusuke Konishi1-1/+4
2023-04-18nilfs2: initialize unused bytes in segment summary blocksRyusuke Konishi1-0/+20
2023-04-05nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()Ryusuke Konishi1-2/+1
2023-02-02nilfs2: convert nilfs_lookup_dirty_node_buffers() to use filemap_get_folios_t...Vishal Moola (Oracle)1-8/+7
2023-02-02nilfs2: convert nilfs_lookup_dirty_data_buffers() to use filemap_get_folios_t...Vishal Moola (Oracle)1-13/+16
2023-01-18nilfs2: replace obvious uses of b_page with b_folioMatthew Wilcox (Oracle)1-1/+1
2022-12-25treewide: Convert del_timer*() to timer_shutdown*()Steven Rostedt (Google)1-1/+1
2022-11-08nilfs2: fix use-after-free bug of ns_writer on remountRyusuke Konishi1-7/+8
2022-10-12Merge tag 'mm-hotfixes-stable-2022-10-11' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-4/+3
2022-10-11nilfs2: fix leak of nilfs_root in case of writer thread creation failureRyusuke Konishi1-4/+3
2022-10-11nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failureRyusuke Konishi1-4/+10
2022-10-03nilfs2: remove the unneeded result variableye xingchen1-3/+1
2022-04-01nilfs2: fix lockdep warnings in page operations for btree nodesRyusuke Konishi1-3/+6
2021-11-09nilfs2: remove filenames from file commentsRyusuke Konishi1-1/+1
2021-05-06fs/nilfs2: fix misspellings using codespell toolLiu xuzhi1-2/+2
2020-12-15fs/nilfs2: remove some unused macros to tame gccAlex Shi1-5/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-7/+12
2020-08-12nilfs2: use a more common logging styleJoe Perches1-19/+19
2020-06-10nilfs2: fix null pointer dereference at nilfs_segctor_do_construct()Ryusuke Konishi1-0/+2
2018-09-04nilfs2: convert to SPDX license tagsRyusuke Konishi1-10/+1
2018-02-06nilfs2: use time64_t internallyArnd Bergmann1-1/+1
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-1/+1
2017-11-17nilfs2: fix race condition that causes file system corruptionAndreas Rohner1-2/+4
2017-11-17fs/nilfs2: convert timers to use timer_setup()Kees Cook1-6/+5
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-2/+2
2017-11-15mm: remove nr_pages argument from pagevec_lookup_{,range}_tag()Jan Kara1-3/+3
2017-11-15nilfs2: use pagevec_lookup_range_tag()Jan Kara1-6/+2
2017-06-20sched/wait: Disambiguate wq_entry->task_list and wq_head->task_list namingIngo Molnar1-2/+1
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-1/+1
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+2
2017-02-27fs: add i_blocksize()Fabian Frederick1-1/+1
2016-08-02nilfs2: use BIT() macroRyusuke Konishi1-7/+7
2016-08-02nilfs2: do not use yield()Ryusuke Konishi1-1/+1
2016-08-02nilfs2: replace nilfs_warning() with nilfs_msg()Ryusuke Konishi1-10/+10
2016-08-02nilfs2: reduce bare use of printk() with nilfs_msg()Ryusuke Konishi1-13/+12
2016-05-23nilfs2: fix block commentsRyusuke Konishi1-19/+37
2016-05-23nilfs2: remove unnecessary else after return or breakRyusuke Konishi1-14/+12
2016-05-23nilfs2: avoid bare use of 'unsigned'Ryusuke Konishi1-9/+9
2016-05-23nilfs2: do not emit extra newline on nilfs_warning() and nilfs_error()Ryusuke Konishi1-4/+4
2016-05-23nilfs2: add missing line spacingRyusuke Konishi1-0/+1
2016-05-23nilfs2: clean up old e-mail addressesRyusuke Konishi1-1/+1
2016-05-23nilfs2: remove FSF mailing address from GPL noticesRyusuke Konishi1-4/+0
2016-05-23nilfs2: constify nilfs_sc_operations structuresJulia Lawall1-5/+5
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2015-11-06nilfs2: fix gcc unused-but-set-variable warningsRyusuke Konishi1-2/+1
2015-11-06nilfs2: add a tracepoint for transaction eventsHitoshi Mitake1-1/+32
2015-11-06nilfs2: add a tracepoint for tracking stage transition of segment constructionHitoshi Mitake1-20/+51
2015-04-17nilfs2: use set_mask_bits() for operations on buffer state bitmapRyusuke Konishi1-6/+8
2015-04-17nilfs2: do not use async write flag for segment summary buffersRyusuke Konishi1-3/+0
2015-03-12nilfs2: fix deadlock of segment constructor during recoveryRyusuke Konishi1-3/+4
2015-02-05nilfs2: fix deadlock of segment constructor over I_SYNC flagRyusuke Konishi1-5/+39
2014-10-14nilfs2: improve the performance of fdatasync()Andreas Rohner1-2/+2
2014-10-14nilfs2: add missing blkdev_issue_flush() to nilfs_sync_fs()Andreas Rohner1-0/+3
2014-01-15nilfs2: fix segctor bug that causes file system corruptionAndreas Rohner1-4/+6
2013-09-30nilfs2: fix issue with race condition of competition between segments for dir...Vyacheslav Dubeyko1-2/+9
2013-07-03] nilfs2: use atomic64_t type for inodes_count and blocks_count fields in nil...Vyacheslav Dubeyko1-2/+2
2012-07-31nilfs2: Convert to new freezing mechanismJan Kara1-1/+4
2012-06-20nilfs2: ensure proper cache clearing for gc-inodesRyusuke Konishi1-0/+2
2011-11-21freezer: unexport refrigerator() and update try_to_freeze() slightlyTejun Heo1-1/+1
2011-06-11nilfs2: fix problem in setting checkpoint intervalRyusuke Konishi1-1/+1
2011-05-10nilfs2: use mark_buffer_dirty to mark btnode or meta data dirtyRyusuke Konishi1-2/+2
2011-05-10nilfs2: always set back pointer to host inode in mapping->hostRyusuke Konishi1-11/+5
2011-05-10nilfs2: use list_first_entryRyusuke Konishi1-2/+2
2011-05-10nilfs2: zero fill unused portion of super root blockRyusuke Konishi1-2/+5
2011-05-10nilfs2: super root size should change depending on inode sizeRyusuke Konishi1-1/+1
2011-05-10nilfs2: get rid of private page allocatorRyusuke Konishi1-136/+17
2011-05-10nilfs2: merge list_del()/list_add_tail() to list_move_tail()Nicolas Kaiser1-4/+2
2011-03-09nilfs2: get rid of nilfs_sb_info structureRyusuke Konishi1-23/+24
2011-03-09nilfs2: use sb instance instead of nilfs_sb_info structRyusuke Konishi1-49/+41
2011-03-09nilfs2: get rid of sc_sbi back pointerRyusuke Konishi1-17/+12
2011-03-09nilfs2: move log writer onto nilfs objectRyusuke Konishi1-29/+29
2011-03-09nilfs2: move s_inode_lock and s_dirty_files into nilfs objectRyusuke Konishi1-40/+40
2011-03-09nilfs2: move parameters on nilfs_sb_info into nilfs objectRyusuke Konishi1-4/+5
2011-03-09nilfs2: move mount options to nilfs objectRyusuke Konishi1-4/+5
2011-03-02nilfs2: fix regression that i-flag is not set on changeless checkpointsRyusuke Konishi1-1/+2
2011-01-10nilfs2: unfold nilfs_dat_inode functionRyusuke Konishi1-6/+5
2011-01-10nilfs2: mark buffer heads as delayed until the data is written to diskRyusuke Konishi1-0/+2
2011-01-10nilfs2: call nilfs_error inside bmap routinesRyusuke Konishi1-25/+5
2010-10-26mm: add account_page_writeback()Michael Rubin1-1/+1
2010-10-23nilfs2: eliminate sparse warning - "context imbalance"Jiro SEKIBA1-0/+2
2010-10-23nilfs2: add bdev freeze/thaw supportRyusuke Konishi1-0/+2
2010-10-23nilfs2: get rid of back pointer to writable sb instanceRyusuke Konishi1-4/+0
2010-10-23nilfs2: get rid of GCDAT inodeRyusuke Konishi1-7/+7
2010-10-23nilfs2: add routines to redirect access to buffers of DAT fileRyusuke Konishi1-0/+1
2010-10-23nilfs2: move inode count and block count into root objectRyusuke Konishi1-2/+2
2010-10-23nilfs2: use root object to get ifileRyusuke Konishi1-17/+26
2010-10-23nilfs2: remove own inode hash used for GCRyusuke Konishi1-2/+1
2010-10-23nilfs2: keep zero value in i_cno except for gc-inodesRyusuke Konishi1-15/+14
2010-07-23nilfs2: do not update log cursor for small changeRyusuke Konishi1-1/+0
2010-07-23nilfs2: sync super blocks in turnsJiro SEKIBA1-4/+6
2010-07-23nilfs2: introduce nilfs_prepare_superJiro SEKIBA1-2/+6
2010-07-23nilfs2: get rid of macros for segment summary informationRyusuke Konishi1-4/+4
2010-05-10nilfs2: make nilfs_sc_*_ops staticRyusuke Konishi1-3/+3
2010-05-10nilfs2: change sc_timer from a pointer to an embedded one in struct nilfs_sc_...Li Hong1-18/+13
2010-05-10nilfs2: remove nilfs_segctor_init() in segment.cLi Hong1-8/+1
2010-05-10nilfs2: insert checkpoint number in segment summary headerRyusuke Konishi1-1/+2
2010-05-10nilfs2: cleanup multi kmem_cache_{create,destroy} codeLi Hong1-36/+0
2010-05-10nilfs2: move out checksum routines to segment buffer codeRyusuke Konishi1-30/+3
2010-05-10nilfs2: move pointer to super root block into logsRyusuke Konishi1-24/+21
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-24nilfs2: fix hang-up of cleaner after log writer returned with errorRyusuke Konishi1-2/+1
2010-03-22nilfs2: fix duplicate call to nilfs_segctor_cancel_freevRyusuke Konishi1-6/+6
2010-03-14nilfs2: fix various typos in commentsRyusuke Konishi1-2/+2
2010-03-14nilfs2: fix function name typos in docbook commentsRyusuke Konishi1-2/+2
2010-02-13nilfs2: move iterator to write log into segment bufferRyusuke Konishi1-7/+2
2010-02-13nilfs2: get rid of s_dirt flag useRyusuke Konishi1-6/+5
2010-02-13nilfs2: get rid of nilfs_segctor_req structRyusuke Konishi1-41/+38
2010-02-13nilfs2: fix potential hang in nilfs_error on errors=remount-roRyusuke Konishi1-2/+9
2010-02-13nilfs2: issue discard request after cleaning segmentsJiro SEKIBA1-0/+10
2010-01-31nilfs2: fix potential leak of dirty data on umountRyusuke Konishi1-1/+1
2009-11-30nilfs2: separate wait function from nilfs_segctor_writeRyusuke Konishi1-95/+145
2009-11-30nilfs2: add iterator for segment buffersRyusuke Konishi1-39/+12
2009-11-30nilfs2: hide nilfs_write_info struct in segment buffer codeRyusuke Konishi1-9/+3
2009-11-30nilfs2: relocate io status variables to segment bufferRyusuke Konishi1-11/+8
2009-11-29nilfs2: use list_splice_tail or list_splice_tail_initRyusuke Konishi1-2/+2
2009-11-20nilfs2: move routine to set segment usage into sufileRyusuke Konishi1-22/+10
2009-11-20nilfs2: move routine marking segment usage dirty into sufileRyusuke Konishi1-17/+2
2009-11-20nilfs2: eliminate inlines to directly read/write inode of metadata filesRyusuke Konishi1-6/+6
2009-11-03nilfs2: fix irregular checkpoint creation due to data flushRyusuke Konishi1-6/+11
2009-09-14nilfs2: stop using periodic write_super callbackJiro SEKIBA1-1/+6
2009-08-01nilfs2: fix oops due to inconsistent state in page with discrete b-tree nodesRyusuke Konishi1-1/+15
2009-07-05nilfs2: fix hang problem of log writer which occurs after write failuresRyusuke Konishi1-20/+6
2009-07-05nilfs2: remove unlikely directive causing mis-conversion of error codeRyusuke Konishi1-2/+2
2009-06-10nilfs2: eliminate removal list of segmentsRyusuke Konishi1-95/+35
2009-05-11nilfs2: fix lock order reversal in nilfs_clean_segments ioctlRyusuke Konishi1-2/+3
2009-04-07nilfs2: introduce secondary super blockRyusuke Konishi1-5/+3
2009-04-07nilfs2: simplify handling of active state of segmentsRyusuke Konishi1-162/+11
2009-04-07nilfs2: mark minor flag for checkpoint created by internal operationRyusuke Konishi1-0/+9
2009-04-07nilfs2: clean up sketch fileRyusuke Konishi1-48/+1
2009-04-07nilfs2: replace BUG_ON and BUG calls triggerable from ioctlRyusuke Konishi1-55/+23
2009-04-07nilfs2: extend nilfs_sustat ioctl structRyusuke Konishi1-30/+9
2009-04-07nilfs2: remove timedwait ioctl commandRyusuke Konishi1-4/+1
2009-04-07nilfs2: avoid double error caused by nilfs_transaction_endRyusuke Konishi1-15/+28
2009-04-07nilfs2: fix missed-sync issue for do_sync_mapping_range()Ryusuke Konishi1-48/+72
2009-04-07nilfs2: segment constructorRyusuke Konishi1-0/+3187