aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-29fs: convert block_write_full_page to block_write_full_folioMatthew Wilcox (Oracle)1-1/+1
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+9
2023-11-01ocfs2: replace BUG_ON() at ocfs2_num_free_extents() with ocfs2_error()Jia Rui1-1/+8
2023-10-18ocfs2: convert to new timestamp accessorsJeff Layton1-3/+3
2023-10-04ocfs2: correct range->len in ocfs2_trim_fs()Yuanheng Zhang1-1/+1
2023-07-24ocfs2: convert to ctime accessor functionsJeff Layton1-3/+3
2022-05-09ocfs2: Convert ocfs2 to read_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-22fs/ocfs2: fix comments mentioning i_mutexhongnanli1-1/+1
2022-01-15ocfs2: remove redundant assignment to pointer root_bhColin Ian King1-1/+1
2021-11-06ocfs2: do not zero pages beyond i_sizeJan Kara1-7/+12
2021-11-06ocfs2: fix handle refcount leak in two exception handling pathsChenyuan Mi1-0/+2
2021-10-18ocfs2: fix data corruption after conversion from inline formatJan Kara1-34/+12
2021-06-22ext4: add discard/zeroout flags to journal flushLeah Rumancik1-1/+1
2021-05-07treewide: remove editor modelines and cruftMasahiro Yamada1-3/+1
2020-10-13ocfs2: fix potential soft lockup during fstrimGang He1-1/+3
2020-10-13ocfs2: delete repeated words in commentsRandy Dunlap1-1/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-2/+2
2020-04-10ocfs2: no need try to truncate file beyond i_sizeChangwei Ge1-0/+4
2020-04-02ocfs2: correct annotation from "l_next_rec" to "l_next_free_rec"wangyan1-1/+1
2020-04-02ocfs2: there is no need to log twice in several functionswangyan1-1/+0
2019-11-05ocfs2: Use accessor function for h_buffer_creditsJan Kara1-16/+16
2019-09-24ocfs2: checkpoint appending truncate log transaction before flushingChangwei Ge1-0/+15
2019-09-24ocfs2: use jbd2_inode dirty range scopingJoseph Qi1-1/+4
2019-07-12ocfs2: use kmemdup rather than duplicating its implementationFuqian Huang1-5/+5
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145Thomas Gleixner1-15/+1
2019-03-05ocfs2: fix the application IO timeout when fstrim is runningGang He1-63/+96
2018-10-26ocfs2: remove unused pointer 'eb'Colin Ian King1-4/+0
2018-08-17ocfs2: clean up some unnecessary codewangyan1-13/+4
2018-08-17ocfs2: return -EROFS when filesystem becomes read-onlyJun Piao1-24/+19
2018-04-05ocfs2: use 'oi' instead of 'OCFS2_I()'piaojun1-1/+1
2018-01-31ocfs2: add trimfs lock to avoid duplicated trims in clusterGang He1-0/+44
2018-01-31ocfs2: try to reuse extent block in dealloc without meta_allocChangwei Ge1-10/+196
2018-01-31ocfs2: clean up dead code in alloc.cChangwei Ge1-9/+2
2017-11-15ocfs2: cleanup unused func declaration and assignmentpiaojun1-2/+0
2017-11-03ocfs2: fstrim: Fix start offset of first cluster group during fstrimAshish Samant1-6/+18
2017-09-06ocfs2: clean up some dead codeJun Piao1-14/+8
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2016-12-10ocfs2: add newlines to some error messagesDarrick J. Wong1-2/+2
2016-12-10ocfs2: convert inode refcount test to a helperDarrick J. Wong1-2/+1
2016-10-10Merge remote-tracking branch 'ovl/rename2' into for-linusAl Viro1-37/+19
2016-09-27fs: Replace CURRENT_TIME with current_time() for inode timestampsDeepa Dinamani1-1/+1
2016-09-19ocfs2: fix trans extend while free cached blocksJunxiao Bi1-18/+9
2016-09-19ocfs2: fix trans extend while flush truncate logJunxiao Bi1-19/+10
2016-08-02ocfs2: retry on ENOSPC if sufficient space in truncate logEric Ren1-0/+37
2016-05-19ocfs2: clean up an unused variable 'wants_rotate' in ocfs2_truncate_recpiaojun1-2/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-14/+14
2016-03-25ocfs2: extend enough credits for freeing one truncate record while replaying ...Xue jiufei1-11/+8
2016-03-25ocfs2: extend transaction for ocfs2_remove_rightmost_path() and ocfs2_update_...Xue jiufei1-28/+54
2016-03-25ocfs2: fix occurring deadlock by changing ocfs2_wq from global to localjiangyiwen1-2/+2
2016-01-22wrappers for ->i_mutex accessAl Viro1-16/+16
2016-01-14ocfs2: clean up redundant NULL check before iputJoseph Qi1-2/+1
2016-01-14ocfs2: constify ocfs2_extent_tree_operations structuresJulia Lawall1-6/+6
2015-09-04ocfs2: clean up redundant NULL checks before kfreeJoseph Qi1-1/+1
2015-09-04ocfs2: neaten do_error, ocfs2_error and ocfs2_abortJoe Perches1-54/+32
2015-09-04ocfs2: do not set fs read-only if rec[0] is empty while committing truncateXue jiufei1-6/+38
2015-09-04ocfs2: acknowledge return value of ocfs2_error()Goldwyn Rodrigues1-8/+8
2015-06-24ocfs2: remove BUG_ON(!empty_extent) in __ocfs2_rotate_tree_left()Xue jiufei1-1/+2
2015-06-24ocfs2: return error when ocfs2_figure_merge_contig_type() failsXue jiufei1-10/+24
2015-04-14ocfs2: one function call less in ocfs2_merge_rec_right() after error detectionMarkus Elfring1-1/+1
2015-04-14ocfs2: one function call less in ocfs2_merge_rec_left() after error detectionMarkus Elfring1-1/+1
2015-04-14ocfs2: less function calls in ocfs2_figure_merge_contig_type() after error de...Markus Elfring1-11/+13
2015-04-14ocfs2: less function calls in ocfs2_convert_inline_data_to_extents() after er...Markus Elfring1-2/+3
2015-04-14ocfs2: delete unnecessary checks before three function callsMarkus Elfring1-12/+5
2015-02-10ocfs2: fix journal commit deadlock in ocfs2_convert_inline_data_to_extentsalex chen1-9/+9
2014-12-18ocfs2: reflink: fix slow unlink for refcounted fileJunxiao Bi1-7/+21
2014-08-06ocfs2: correctly check the return value of ocfs2_search_extent_listYingtai Xie1-3/+12
2014-06-04ocfs2: fix umount hang while shutting down truncate logXue jiufei1-1/+5
2014-04-03ocfs2: call ocfs2_update_inode_fsync_trans when updating any inodeDarrick J. Wong1-0/+2
2014-04-03ocfs2: improve fsync efficiency and fix deadlock between aio_write and sync_fileDarrick J. Wong1-0/+1
2014-02-10ocfs2: fix issue that ocfs2_setattr() does not deal with new_i_size==i_sizeYounger Liu1-1/+1
2014-02-06ocfs2: free allocated clusters if error occurs after ocfs2_claim_clustersZongxun Wang1-3/+35
2014-01-21ocfs2: return EINVAL if the given range to discard is less than block sizeJie Liu1-7/+3
2013-11-13ocfs2: return ENOMEM when sb_getblk() failsRui Xiang1-1/+1
2013-07-03ocfs2: fix mutex_unlock and possible memory leak in ocfs2_remove_btree_rangeJoseph Qi1-4/+4
2013-02-21ocfs2: remove kfree() redundant null checksTim Gardner1-2/+1
2012-04-13ocfs2: ->l_next_free_req breakage on big-endianAl Viro1-1/+1
2011-11-17ocfs2: Commit transactions in error cases -v2Wengang Wang1-1/+1
2011-05-23ocfs2: Add trace event for trim.Tao Ma1-0/+7
2011-05-23ocfs2: Add ocfs2_trim_fs for SSD trim support.Tao Ma1-0/+159
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-02-22ocfs2: Remove DISK_ALLOC from masklog.Tao Ma1-1/+0
2011-02-22ocfs2: Remove mlog(0) from fs/ocfs2/alloc.cTao Ma1-77/+88
2011-03-07ocfs2: Remove EXIT from masklog.Tao Ma1-21/+5
2011-02-21ocfs2: Remove ENTRY from masklog.Tao Ma1-26/+2
2011-01-07ocfs2: Remove unused truncate function from alloc.cTao Ma1-74/+0
2010-12-16ocfs2: Try to free truncate log when meeting ENOSPC in write.Tao Ma1-0/+3
2010-09-08ocfs2: Fix deadlock when allocating pageJan Kara1-1/+1
2010-05-18Merge branch 'discontig-bg' of git://oss.oracle.com/git/tma/linux-2.6 into oc...Joel Becker1-11/+18
2010-05-18Ocfs2: Make ocfs2_find_cpos_for_left_leaf() public.Tristan Ye1-2/+2
2010-05-18Ocfs2: Optimize ocfs2 truncate to use ocfs2_remove_btree_range() instead.Tristan Ye1-528/+157
2010-05-05ocfs2: Make ocfs2_extend_trans() really extend.Tao Ma1-21/+9
2010-05-05ocfs2: use allocation reservations during file writeMark Fasheh1-0/+2
2010-05-05ocfs2: Make ocfs2_journal_dirty() void.Joel Becker1-130/+34
2010-03-22ocfs2: Free block to the right block group.Tao Ma1-6/+12
2010-03-26ocfs2: Set suballoc_loc on allocated metadata.Joel Becker1-1/+3
2010-05-06ocfs2: ocfs2_claim_*() don't need an ocfs2_super argument.Joel Becker1-4/+3
2010-03-05Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jac...Linus Torvalds1-7/+6
2010-03-05dquot: cleanup space allocation / freeing routinesChristoph Hellwig1-7/+6
2010-02-26ocfs2: add extent block stealing for ocfs2 v5Tiger Yang1-2/+3
2009-12-23Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+5
2009-12-16ocfs: stop using do_sync_mapping_rangeChristoph Hellwig1-2/+2
2009-12-04tree-wide: fix assorted typos all over the placeAndré Goddard Rosa1-1/+1
2009-12-02ocfs2: Find proper end cpos for a leaf refcount block.Tao Ma1-5/+5
2009-09-22ocfs2: Make transaction extend more efficient.Tao Ma1-2/+10
2009-09-22ocfs2: CoW refcount tree improvement.Tao Ma1-1/+1
2009-09-22ocfs2: Add CoW support.Tao Ma1-9/+16
2009-09-22ocfs2: Decrement refcount when truncating refcounted extents.Tao Ma1-7/+69
2009-09-22ocfs2: Add functions for extents refcounted.Tao Ma1-6/+6
2009-09-22ocfs2: Add support of decrementing refcount for delete.Tao Ma1-3/+3
2009-09-22ocfs2: move tree path functions to alloc.h.Tao Ma1-53/+23
2009-09-22ocfs2: Add refcount b-tree as a new extent tree.Tao Ma1-0/+54
2009-09-22ocfs2: Abstract extent split process.Tao Ma1-50/+100
2009-09-22ocfs2: Wrap ocfs2_extent_contig in ocfs2_extent_tree.Tao Ma1-16/+41
2009-09-04ocfs2: Pass ocfs2_caching_info into ocfs_init_*_extent_tree().Joel Becker1-11/+11
2009-09-04ocfs2: __ocfs2_mark_extent_written() doesn't need struct inode.Joel Becker1-4/+3
2009-09-04ocfs2: Teach ocfs2_replace_extent_rec() to use an extent_tree.Joel Becker1-5/+4
2009-09-04ocfs2: ocfs2_split_and_insert() no longer needs struct inode.Joel Becker1-6/+5
2009-09-04ocfs2: ocfs2_remove_extent() no longer needs struct inode.Joel Becker1-19/+21
2009-09-04ocfs2: ocfs2_add_clusters_in_btree() no longer needs struct inode.Joel Becker1-6/+7
2009-09-04ocfs2: ocfs2_insert_extent() no longer needs struct inode.Joel Becker1-11/+8
2009-09-04ocfs2: Make extent map insertion an extent_tree_operation.Joel Becker1-2/+27
2009-09-04ocfs2: ocfs2_figure_insert_type() no longer needs struct inode.Joel Becker1-3/+2
2009-09-04ocfs2: Remove inode from ocfs2_figure_extent_contig().Joel Becker1-7/+6
2009-09-04ocfs2: Swap inode for extent_tree in ocfs2_figure_merge_contig_type().Joel Becker1-13/+13
2009-09-04ocfs2: ocfs2_extent_contig() only requires the superblock.Joel Becker1-6/+6
2009-09-04ocfs2: ocfs2_do_insert_extent() and ocfs2_insert_path() no longer need an inode.Joel Becker1-8/+6
2009-09-04ocfs2: Give ocfs2_split_record() an extent_tree instead of an inode.Joel Becker1-3/+4
2009-09-04ocfs2: ocfs2_insert_at_leaf() doesn't need struct inode.Joel Becker1-9/+10
2009-09-04ocfs2: Make truncating the extent map an extent_tree_operation.Joel Becker1-6/+31
2009-09-04ocfs2: ocfs2_truncate_rec() doesn't need struct inode.Joel Becker1-13/+13
2009-09-04ocfs2: ocfs2_grow_branch() and ocfs2_append_rec_to_path() lose struct inode.Joel Becker1-44/+36
2009-09-04ocfs2: ocfs2_try_to_merge_extent() doesn't need struct inode.Joel Becker1-7/+5
2009-09-04ocfs2: ocfs2_merge_rec_left/right() no longer need struct inode.Joel Becker1-30/+24
2009-09-04ocfs2: ocfs2_rotate_tree_left() no longer needs struct inode.Joel Becker1-30/+26
2009-09-04ocfs2: __ocfs2_rotate_tree_left() doesn't need struct inode.Joel Becker1-12/+12
2009-09-04ocfs2: ocfs2_rotate_subtree_left() doesn't need struct inode.Joel Becker1-9/+9
2009-09-04ocfs2: ocfs2_update_edge_lengths() doesn't need struct inode.Joel Becker1-4/+5
2009-09-04ocfs2: ocfs2_rotate_tree_right() doesn't need struct inode.Joel Becker1-2/+2
2009-09-04ocfs2: Drop struct inode from ocfs2_extent_tree_operations.Joel Becker1-55/+38
2009-09-04ocfs2: Pass ocfs2_extent_tree to ocfs2_get_subtree_root()Joel Becker1-25/+27
2009-09-04ocfs2: Get inode out of ocfs2_rotate_subtree_root_right().Joel Becker1-18/+19
2009-09-04ocfs2: ocfs2_complete_edge_insert() doesn't need struct inode at all.Joel Becker1-10/+10
2009-09-04ocfs2: Pass ocfs2_extent_tree to ocfs2_unlink_path()Joel Becker1-9/+11
2009-09-04ocfs2: ocfs2_create_new_meta_bhs() doesn't need struct inode.Joel Becker1-8/+9
2009-09-04ocfs2: ocfs2_find_path() only needs the caching infoJoel Becker1-38/+41
2009-09-04ocfs2: Pass ocfs2_caching_info to ocfs2_read_extent_block().Joel Becker1-18/+20
2009-09-04ocfs2: Store the ocfs2_caching_info on ocfs2_extent_tree.Joel Becker1-13/+13
2009-09-04ocfs2: Pass struct ocfs2_caching_info to the journal functions.Joel Becker1-51/+52
2009-09-04ocfs2: Take the inode out of the metadata read/write paths.Joel Becker1-6/+7
2009-08-17ocfs2: release the buffer head in ocfs2_do_truncate.Tao Ma1-1/+1
2009-07-23ocfs2: Use ocfs2_rec_clusters in ocfs2_adjust_adjacent_records.Tao Ma1-1/+2
2009-07-21ocfs2: Add extra credits and access the modified bh in update_edge_lengths.Tao Ma1-5/+39
2009-06-15ocfs2: Adjust rightmost path in ocfs2_add_branch.Tao Ma1-4/+76
2009-04-03ocfs2: Add a name indexed b-tree to directory inodesMark Fasheh1-0/+57
2009-03-12ocfs2: Fix a bug found by sparse check.Tao Ma1-1/+2
2009-02-26ocfs2: Access and dirty the buffer_head in mark_written.Tao Ma1-1/+26
2009-02-02ocfs2: add quota call to ocfs2_remove_btree_range()Mark Fasheh1-0/+3
2009-01-08remove lots of double-semicolonsFernando Carrijo1-1/+1
2009-01-05ocfs2: Access the right buffer_head in ocfs2_merge_rec_left.Tao Ma1-2/+2
2009-01-05ocfs2: Create ocfs2_xattr_value_buf.Joel Becker1-14/+11
2009-01-05ocfs2: Use metadata-specific ocfs2_journal_access_*() functions.Joel Becker1-96/+137
2009-01-05ocfs2: Wrap up the common use cases of ocfs2_new_path().Joel Becker1-24/+24
2009-01-05ocfs2: block read meta ecc.Joel Becker1-0/+17
2009-01-05ocfs2: Add quota calls for allocation and freeing of inodes and spaceJan Kara1-2/+18
2009-01-05ocfs2: Remove JBD compatibility layerMark Fasheh1-5/+0
2009-01-05ocfs2: Validate metadata only when it's read from disk.Joel Becker1-11/+6
2009-01-05ocfs2: Wrap extent block reads in a dedicated function.Joel Becker1-53/+98
2009-01-05ocfs2: Morph the haphazard OCFS2_IS_VALID_DINODE() checks.Joel Becker1-29/+21
2009-01-05ocfs2: Wrap inode block reads in a dedicated function.Joel Becker1-1/+1
2009-01-05ocfs2: turn __ocfs2_remove_inode_range() into ocfs2_remove_btree_range()Mark Fasheh1-0/+72
2009-01-05ocfs2: Add clusters free in dealloc_ctxt.Tao Ma1-7/+99
2008-10-14ocfs2: Simplify ocfs2_read_block()Joel Becker1-15/+10
2008-10-14ocfs2: Require an inode for ocfs2_read_block(s)().Joel Becker1-16/+14
2008-10-13ocfs2: Don't check for NULL before brelse()Mark Fasheh1-22/+11
2008-10-13ocfs2: Switch over to JBD2.Joel Becker1-17/+11
2008-10-13ocfs2: Change ocfs2_get_*_extent_tree() to ocfs2_init_*_extent_tree()Joel Becker1-28/+21
2008-10-13ocfs2: Comment struct ocfs2_extent_tree_operations.Joel Becker1-2/+43
2008-10-13ocfs2: Make ocfs2_extent_tree the first-class representation of a tree.Joel Becker1-210/+90
2008-10-13ocfs2: Add an insertion check to ocfs2_extent_tree_operations.Joel Becker1-25/+44
2008-10-13ocfs2: Create specific get_extent_tree functions.Joel Becker1-21/+55
2008-10-13ocfs2: Determine an extent tree's max_leaf_clusters in an et_op.Joel Becker1-3/+15
2008-10-13ocfs2: Use struct ocfs2_extent_tree in ocfs2_num_free_extents().Joel Becker1-25/+5
2008-10-13ocfs2: Provide the get_root_el() method to ocfs2_extent_tree_operations.Joel Becker1-8/+30
2008-10-13ocfs2: Make 'private' into 'object' on ocfs2_extent_tree.Joel Becker1-33/+29
2008-10-13ocfs2: Make ocfs2_extent_tree get/put instead of alloc.Joel Becker1-81/+36
2008-10-13ocfs2: Prefix the ocfs2_extent_tree structure.Joel Becker1-57/+61
2008-10-13ocfs2: Prefix the extent tree operations structure.Joel Becker1-39/+46
2008-10-13ocfs2: Optionally limit extent size in ocfs2_insert_extent()Tao Ma1-9/+30
2008-10-13ocfs2: Add xattr index tree operationsTao Ma1-0/+89
2008-10-13ocfs2: reserve inline space for extended attributeTiger Yang1-6/+16
2008-10-13ocfs2: Add extent tree operation for xattr value btreesTao Ma1-35/+149
2008-10-13ocfs2: Make high level btree extend code genericTao Ma1-0/+110
2008-10-13ocfs2: Abstract ocfs2_extent_tree in b-tree operations.Tao Ma1-181/+327
2008-10-13ocfs2: Use ocfs2_extent_list instead of ocfs2_dinode.Tao Ma1-1/+2
2008-10-13ocfs2: Modify ocfs2_num_free_extents for future xattr usage.Tao Ma1-1/+2
2008-10-03ocfs2: fiemap supportMark Fasheh1-9/+0
2008-05-21ocfs2 endianness fixesAl Viro1-2/+2
2008-04-18ocfs2: Use BUG_ONJulia Lawall1-2/+1
2008-04-18ocfs2: Add inode stealing for ocfs2_reserve_new_inodeTao Ma1-0/+2
2008-04-18ocfs2: Enable cross extent block merge.Tao Ma1-8/+86