aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-24xfs: return the allocated transaction from xfs_trans_alloc_emptyChristoph Hellwig1-10/+3
2025-06-16xfs: actually use the xfs_growfs_check_rtgeom tracepointDarrick J. Wong1-0/+2
2025-03-18xfs: remove the flags argument to xfs_buf_get_uncachedChristoph Hellwig1-1/+1
2025-03-18xfs: remove the flags argument to xfs_buf_read_uncachedChristoph Hellwig1-2/+2
2025-03-18xfs: remove unnecessary NULL check before kvfree()Chen Ni1-2/+1
2025-03-03xfs: support growfs on zoned file systemsChristoph Hellwig1-20/+101
2025-03-03xfs: add the zoned space allocatorChristoph Hellwig1-1/+5
2025-03-03xfs: allow internal RT devices for zoned modeChristoph Hellwig1-1/+2
2025-03-03xfs: define the zoned on-disk formatChristoph Hellwig1-0/+2
2025-03-03xfs: factor out a xfs_rt_check_size helperChristoph Hellwig1-31/+31
2025-03-03xfs: make metabtree reservations globalChristoph Hellwig1-42/+1
2025-03-03xfs: generalize the freespace and reserved blocks handlingChristoph Hellwig1-1/+1
2025-02-25xfs: remove most in-flight buffer accountingChristoph Hellwig1-1/+1
2024-12-23xfs: enable realtime reflinkDarrick J. Wong1-2/+5
2024-12-23xfs: fix CoW forks for realtime filesDarrick J. Wong1-2/+2
2024-12-23xfs: check that the rtrefcount maxlevels doesn't increase when growing fsDarrick J. Wong1-0/+2
2024-12-23xfs: enable extent size hints for CoW operationsDarrick J. Wong1-1/+4
2024-12-23xfs: add metadata reservations for realtime refcount btreeDarrick J. Wong1-0/+6
2024-12-23xfs: enable realtime rmap btreeDarrick J. Wong1-4/+8
2024-12-23xfs: check that the rtrmapbt maxlevels doesn't increase when growing fsDarrick J. Wong1-7/+18
2024-12-23xfs: create routine to allocate and initialize a realtime rmap btree inodeDarrick J. Wong1-2/+10
2024-12-23xfs: add metadata reservations for realtime rmap btreesDarrick J. Wong1-1/+22
2024-12-23xfs: add some rtgroup inode helpersDarrick J. Wong1-5/+5
2024-12-23xfs: allow inode-based btrees to reserve space in the data deviceDarrick J. Wong1-0/+21
2024-12-12xfs: fix null bno_hint handling in xfs_rtallocate_rtgDarrick J. Wong1-1/+1
2024-11-05xfs: enable realtime quota againDarrick J. Wong1-1/+3
2024-11-05xfs: implement busy extent tracking for rtgroupsDarrick J. Wong1-5/+122
2024-11-05xfs: move the min and max group block numbers to xfs_groupDarrick J. Wong1-4/+4
2024-11-05xfs: make xfs_rtblock_t a segmented address like xfs_fsblock_tDarrick J. Wong1-3/+1
2024-11-05xfs: make the RT allocator rtgroup awareChristoph Hellwig1-9/+89
2024-11-05xfs: grow the realtime section when realtime groups are enabledDarrick J. Wong1-35/+231
2024-11-05xfs: add block headers to realtime bitmap and summary blocksDarrick J. Wong1-1/+1
2024-11-05xfs: check the realtime superblock at mount timeDarrick J. Wong1-0/+50
2024-11-05xfs: define the format of rt groupsDarrick J. Wong1-3/+27
2024-11-05xfs: make RT extent numbers relative to the rtgroupChristoph Hellwig1-2/+2
2024-11-05xfs: refactor xfs_rtsummary_blockcountChristoph Hellwig1-9/+4
2024-11-05xfs: refactor xfs_rtbitmap_blockcountChristoph Hellwig1-2/+1
2024-11-05xfs: factor out a xfs_growfs_check_rtgeom helperChristoph Hellwig1-14/+29
2024-11-05xfs: use xfs_growfs_rt_alloc_fake_mount in xfs_growfs_rt_alloc_blocksChristoph Hellwig1-4/+8
2024-11-05xfs: factor out a xfs_growfs_rt_alloc_fake_mount helperDarrick J. Wong1-15/+35
2024-11-05xfs: remove XFS_ILOCK_RT*Darrick J. Wong1-5/+4
2024-11-05xfs: support creating per-RTG files in growfsChristoph Hellwig1-0/+30
2024-11-05xfs: move RT bitmap and summary information to the rtgroupChristoph Hellwig1-168/+146
2024-11-05xfs: factor out a xfs_growfs_rt_alloc_blocks helperChristoph Hellwig1-17/+39
2024-11-05xfs: support caching rtgroup metadata inodesDarrick J. Wong1-3/+66
2024-11-05xfs: create incore realtime group structuresDarrick J. Wong1-0/+5
2024-11-05xfs: iget for metadata inodesDarrick J. Wong1-16/+22
2024-09-01xfs: replace m_rsumsize with m_rsumblocksChristoph Hellwig1-8/+5
2024-09-01xfs: make the rtalloc start hint a xfs_rtblock_tChristoph Hellwig1-7/+11
2024-09-01xfs: factor out a xfs_rtallocate_align helperChristoph Hellwig1-34/+59
2024-09-01xfs: rework the rtalloc fallback handlingChristoph Hellwig1-35/+34
2024-09-01xfs: factor out a xfs_rtallocate helperChristoph Hellwig1-31/+50
2024-09-01xfs: fix broken variable-sized allocation detection in xfs_rtallocate_extent_...Darrick J. Wong1-6/+9
2024-09-01xfs: reduce excessive clamping of maxlen in xfs_rtallocate_extent_nearDarrick J. Wong1-11/+12
2024-09-01xfs: clean up xfs_rtallocate_extent_exact a bitDarrick J. Wong1-20/+21
2024-09-01xfs: refactor aligning bestlen to prodDarrick J. Wong1-11/+15
2024-09-01xfs: don't scan off the end of the rt volume in xfs_rtallocate_extent_blockDarrick J. Wong1-9/+7
2024-09-01xfs: don't return too-short extents from xfs_rtallocate_extent_blockDarrick J. Wong1-10/+11
2024-09-01xfs: ensure rtx mask/shift are correct after growfsChristoph Hellwig1-2/+3
2024-09-01xfs: use the recalculated transaction reservation in xfs_growfs_rt_bmblockChristoph Hellwig1-3/+5
2024-09-01xfs: push transaction join out of xfs_rtbitmap_lock and xfs_rtgroup_lockChristoph Hellwig1-2/+4
2024-09-01xfs: factor out rtbitmap/summary initialization helpersChristoph Hellwig1-117/+4
2024-09-01xfs: factor out a xfs_last_rt_bmblock helperChristoph Hellwig1-10/+19
2024-09-01xfs: factor out a xfs_growfs_rt_bmblock helperChristoph Hellwig1-159/+158
2024-09-01xfs: push the calls to xfs_rtallocate_range out to xfs_bmap_rtallocChristoph Hellwig1-20/+18
2024-09-01xfs: cleanup the calling convention for xfs_rtpick_extentChristoph Hellwig1-8/+4
2024-09-01xfs: remove the limit argument to xfs_rtfind_backChristoph Hellwig1-1/+1
2024-09-01xfs: make the RT rsum_cache mandatoryChristoph Hellwig1-11/+15
2024-09-01xfs: remove xfs_validate_rtextentsChristoph Hellwig1-1/+1
2024-08-27xfs: reset rootdir extent size hint after growfsrtDarrick J. Wong1-0/+40
2024-08-27xfs: take m_growlock when running growfsrtDarrick J. Wong1-13/+25
2024-07-09xfs: fix rtalloc rotoring when delalloc is in useChristoph Hellwig1-1/+2
2024-05-03xfs: simplify iext overflow checking and upgradeChristoph Hellwig1-4/+1
2024-04-30xfs: fix error returns from xfs_bmapi_writeChristoph Hellwig1-2/+0
2024-04-22xfs: reinstate delalloc for RT inodes (if sb_rextsize == 1)Christoph Hellwig1-0/+2
2024-04-22xfs: refactor realtime inode lockingChristoph Hellwig1-14/+6
2024-02-22xfs: report realtime metadata corruption errors to the health systemDarrick J. Wong1-0/+6
2024-02-19xfs: Replace xfs_isilocked with xfs_assert_ilockedMatthew Wilcox (Oracle)1-1/+1
2024-02-13xfs: convert remaining kmem_free() to kfree()Dave Chinner1-1/+1
2024-02-13xfs: convert kmem_free() for kvmalloc users to kvfree()Dave Chinner1-3/+3
2024-02-13xfs: convert kmem_alloc() to kmalloc()Dave Chinner1-1/+1
2023-12-22xfs: fold xfs_rtallocate_extent into xfs_bmap_rtallocChristoph Hellwig1-49/+18
2023-12-22xfs: simplify and optimize the RT allocation fallback cascadeChristoph Hellwig1-23/+35
2023-12-22xfs: reorder the minlen and prod calculations in xfs_bmap_rtallocChristoph Hellwig1-9/+11
2023-12-22xfs: remove XFS_RTMIN/XFS_RTMAXChristoph Hellwig1-3/+4
2023-12-22xfs: remove rt-wrappers from xfs_format.hChristoph Hellwig1-3/+3
2023-12-22xfs: factor out a xfs_rtalloc_sumlevel helperChristoph Hellwig1-83/+70
2023-12-22xfs: tidy up xfs_rtallocate_extent_exactChristoph Hellwig1-21/+13
2023-12-22xfs: merge the calls to xfs_rtallocate_range in xfs_rtallocate_blockChristoph Hellwig1-8/+5
2023-12-22xfs: reflow the tail end of xfs_rtallocate_extent_blockChristoph Hellwig1-21/+23
2023-12-22xfs: invert a check in xfs_rtallocate_extent_blockChristoph Hellwig1-5/+4
2023-12-22xfs: move xfs_rtget_summary to xfs_rtbitmap.cChristoph Hellwig1-16/+0
2023-12-22xfs: cleanup picking the start extent hint in xfs_bmap_rtallocChristoph Hellwig1-20/+15
2023-12-22xfs: reflow the tail end of xfs_bmap_rtallocChristoph Hellwig1-30/+30
2023-12-22xfs: return -ENOSPC from xfs_rtallocate_*Christoph Hellwig1-140/+71
2023-12-22xfs: move xfs_bmap_rtalloc to xfs_rtalloc.cChristoph Hellwig1-2/+133
2023-12-22xfs: consider minlen sized extents in xfs_rtallocate_extent_blockChristoph Hellwig1-1/+1
2023-12-13xfs: recompute growfsrtfree transaction reservation while growing rt volumeDarrick J. Wong1-0/+5
2023-12-06xfs: don't allow overly small or large realtime volumesDarrick J. Wong1-0/+2
2023-12-06xfs: make rextslog computation consistent with mkfsDarrick J. Wong1-2/+2
2023-11-08Merge tag 'xfs-6.7-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-322/+316
2023-10-19xfs: don't look for end of extent further than necessary in xfs_rtallocate_ex...Omar Sandoval1-5/+22
2023-10-19xfs: don't try redundant allocations in xfs_rtallocate_extent_near()Omar Sandoval1-47/+7
2023-10-19xfs: limit maxlen based on available space in xfs_rtallocate_extent_near()Omar Sandoval1-3/+6
2023-10-19xfs: return maximum free size from xfs_rtany_summary()Omar Sandoval1-9/+9
2023-10-19xfs: invert the realtime summary cacheOmar Sandoval1-12/+19
2023-10-19xfs: cache last bitmap block in realtime allocatorOmar Sandoval1-66/+45
2023-10-18xfs: consolidate realtime allocation argumentsDave Chinner1-162/+171
2023-10-18xfs: create helpers for rtsummary block/wordcount computationsDarrick J. Wong1-10/+7
2023-10-18xfs: create helpers for rtbitmap block/wordcount computationsDarrick J. Wong1-1/+1
2023-10-18xfs: convert to new timestamp accessorsJeff Layton1-14/+16
2023-10-17xfs: convert the rtbitmap block and bit macros to static inline functionsDarrick J. Wong1-10/+10
2023-10-17xfs: use shifting and masking when converting rt extents, if possibleDarrick J. Wong1-0/+1
2023-10-17xfs: convert do_div calls to xfs_rtb_to_rtx helper callsDarrick J. Wong1-2/+1
2023-10-17xfs: convert rt extent numbers to xfs_rtxnum_tDarrick J. Wong1-68/+68
2023-10-17xfs: convert rt bitmap/summary block numbers to xfs_fileoff_tDarrick J. Wong1-17/+17
2023-10-17xfs: convert xfs_extlen_t to xfs_rtxlen_t in the rt allocatorDarrick J. Wong1-29/+29
2023-10-17xfs: move the xfs_rtbitmap.c declarations to xfs_rtbitmap.hDarrick J. Wong1-0/+1
2023-10-17xfs: make sure maxlen is still congruent with prod when rounding downDarrick J. Wong1-5/+26
2023-10-17xfs: prevent rt growfs when quota is enabledDarrick J. Wong1-1/+1
2022-11-16xfs: make rtbitmap ILOCKing consistent when scanning the rt bitmap fileDarrick J. Wong1-2/+2
2022-11-16xfs: load rtbitmap and rtsummary extent mapping btrees at mount timeDarrick J. Wong1-4/+52
2022-04-21Merge tag 'large-extent-counters-v9' of https://github.com/chandanr/linux int...Dave Chinner1-0/+3
2022-04-13xfs: Conditionally upgrade existing inodes to use large extent countersChandan Babu R1-0/+3
2022-04-12xfs: use a separate frextents counter for rt extent reservationsDarrick J. Wong1-0/+1
2022-04-12xfs: recalculate free rt extents after log recoveryDarrick J. Wong1-0/+37
2021-08-19xfs: replace xfs_sb_version checks with feature flag checksDave Chinner1-2/+1
2021-08-19xfs: reflect sb features in xfs_mountDave Chinner1-0/+3
2021-07-15xfs: fix an integer overflow error in xfs_growfs_rtDarrick J. Wong1-5/+5
2021-07-15xfs: improve FSGROWFSRT precondition checkingDarrick J. Wong1-7/+32
2021-04-07xfs: move the di_flags field to struct xfs_inodeChristoph Hellwig1-2/+2
2021-04-07xfs: move the di_size field to struct xfs_inodeChristoph Hellwig1-6/+6
2021-01-22xfs: Check for extent overflow when trivally adding a new extentChandan Babu R1-0/+5
2020-12-16xfs: remove xfs_buf_t typedefDave Chinner1-10/+10
2020-10-13xfs: annotate grabbing the realtime bitmap/summary locks in growfsDarrick J. Wong1-2/+2
2020-10-13xfs: make xfs_growfs_rt update secondary superblocksDarrick J. Wong1-1/+7
2020-10-13xfs: fix realtime bitmap/summary file truncation when growing rt volumeDarrick J. Wong1-2/+8
2020-09-23xfs: Set xfs_buf's b_ops member when zeroing bitmap/summary filesChandan Babu R1-0/+1
2020-09-21xfs: Set xfs_buf type flag when growing summary/bitmap filesChandan Babu R1-0/+8
2020-09-15xfs: make sure the rt allocator doesn't run off the endDarrick J. Wong1-0/+11
2020-09-15xfs: Remove kmem_zalloc_large()Carlos Maiolino1-1/+1
2020-01-26xfs: make xfs_trans_get_buf return an error codeDarrick J. Wong1-5/+3
2019-10-23xfs: don't set bmapi total block req where minleft isBrian Foster1-2/+1
2019-08-26fs: xfs: Remove KM_NOSLEEP and KM_SLEEP.Tetsuo Handa1-2/+2
2019-06-28xfs: remove unused header filesEric Sandeen1-6/+0
2018-12-21xfs: reallocate realtime summary cache on growfsOmar Sandoval1-8/+36
2018-12-13xfs: require both realtime inodes to mountDarrick J. Wong1-3/+1
2018-12-12xfs: cache minimum realtime summary levelOmar Sandoval1-4/+21
2018-07-26xfs: clean up IRELE/iput callsitesDarrick J. Wong1-3/+3
2018-07-26xfs: remove all boilerplate defer init/finish codeBrian Foster1-8/+1
2018-07-11xfs: remove xfs_defer_init() firstblock paramBrian Foster1-1/+1
2018-07-11xfs: remove xfs_bmapi_write() firstblock paramBrian Foster1-2/+2
2018-07-11xfs: use ->t_firstblock for all xfs_bmapi_write() callersBrian Foster1-3/+2
2018-07-11xfs: refactor dfops init to attach to transactionBrian Foster1-2/+1
2018-07-11xfs: remove xfs_bmapi_write() dfops paramBrian Foster1-1/+1
2018-07-11xfs: use ->t_dfops for all xfs_bmapi_write() callersBrian Foster1-3/+4
2018-06-08xfs: replace do_mod with native operationsDave Chinner1-3/+7
2018-06-06xfs: convert to SPDX license tagsDave Chinner1-13/+1
2017-09-01xfs: remove the ip argument to xfs_defer_finishChristoph Hellwig1-1/+1
2017-06-19xfs: remove double-underscore integer typesDarrick J. Wong1-4/+4
2017-02-17xfs: simplify xfs_rtallocate_extentChristoph Hellwig1-16/+8
2016-08-03xfs: rename flist/free_list to dfopsDarrick J. Wong1-5/+5
2016-08-03xfs: change xfs_bmap_{finish,cancel,init,free} -> xfs_defer_*Darrick J. Wong1-4/+4
2016-08-03xfs: rework xfs_bmap_free callers to use xfs_defer_opsDarrick J. Wong1-0/+1
2016-04-06xfs: better xfs_trans_alloc interfaceChristoph Hellwig1-12/+9
2016-02-09xfs: remove timestamps from incore inodeDave Chinner1-1/+1
2016-01-11xfs: eliminate committed arg from xfs_bmap_finishEric Sandeen1-2/+1
2015-08-19xfs: add missing bmap cancel calls in error pathsBrian Foster1-28/+29
2015-06-04xfs: saner xfs_trans_commit interfaceChristoph Hellwig1-3/+3
2015-06-04xfs: remove the flags argument to xfs_trans_cancelChristoph Hellwig1-8/+2
2014-11-28xfs: move most of xfs_sb.h to xfs_format.hChristoph Hellwig1-1/+0
2014-11-28xfs: merge xfs_ag.h into xfs_format.hChristoph Hellwig1-1/+0
2014-11-28xfs: merge xfs_dinode.h into xfs_format.hChristoph Hellwig1-1/+0
2014-10-02Merge branch 'xfs-buf-iosubmit' into for-nextDave Chinner1-18/+12
2014-10-02xfs: check xfs_buf_read_uncached returns correctlyDave Chinner1-18/+12
2014-09-23xfs: xfs_rtget_summary can be staticFengguang Wu1-1/+1
2014-09-09xfs: combine xfs_rtmodify_summary and xfs_rtget_summaryEric Sandeen1-53/+2
2014-07-30xfs: require 64-bit sector_tChristoph Hellwig1-2/+2
2014-06-25xfs: global error sign conversionDave Chinner1-10/+10
2014-06-22xfs: Nuke XFS_ERROR macroEric Sandeen1-7/+7
2014-02-07xfs: use tr_growrtalloc for growing rt filesBrian Foster1-1/+1
2013-10-23xfs: split xfs_rtalloc.c for userspace sanityDave Chinner1-1247/+290
2013-10-23xfs: decouple inode and bmap btree header filesDave Chinner1-6/+3
2013-10-23xfs: decouple log and transaction headersDave Chinner1-3/+4
2013-10-23xfs: create a shared header file for format-related informationDave Chinner1-0/+1
2013-08-12xfs: refactor xfs_trans_reserve() interfaceJie Liu1-8/+9
2013-08-12xfs: remove __KERNEL__ from debug codeDave Chinner1-1/+1
2013-08-12xfs: consolidate xfs_utils.cDave Chinner1-1/+0
2013-08-12xfs: fix issues that cause userspace warningsDave Chinner1-2/+2
2013-08-12xfs: create xfs_bmap_util.[ch]Dave Chinner1-0/+1
2013-08-12xfs: reshuffle dir2 definitions around for userspaceDave Chinner1-1/+0
2013-08-12xfs: introduce xfs_rtalloc_defs.hDave Chinner1-1/+1
2012-11-15xfs: uncached buffer reads need to return an errorDave Chinner1-1/+8
2012-11-15xfs: make buffer read verication an IO completion functionDave Chinner1-3/+3
2012-10-17xfs: remove xfs_iget.cDave Chinner1-0/+1
2012-08-23xfs: fix uninitialised variable in xfs_rtbuf_get()Dave Chinner1-1/+1
2012-05-14xfs: move xfs_get_extsz_hint() and kill xfs_rw.hDave Chinner1-1/+0
2012-05-14xfs: move xfsagino_t to xfs_types.hDave Chinner1-1/+0
2012-05-14xfs: clean up buffer get/read call APIDave Chinner1-4/+4
2012-03-22xfs: fix deadlock in xfs_rtfree_extentKamal Dasu1-5/+4