aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/rgrp.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-18gfs2: rgrp: fix kernel-doc warningsRandy Dunlap1-5/+5
2023-12-18gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dumpOsama Muhammad1-1/+1
2023-11-06gfs2: Get rid of gfs2_alloc_blocks generation parameterAndreas Gruenbacher1-5/+7
2023-06-06gfs2: Update rl_unlinked before releasing rgrp lockBob Peterson1-1/+1
2023-01-31gfs2: Split the two kinds of glock "delete" workAndreas Gruenbacher1-1/+1
2022-08-05Merge part of branch 'for-next.instantiate' into for-nextAndreas Gruenbacher1-2/+1
2022-06-29gfs2: Make go_instantiate take a glockAndreas Gruenbacher1-2/+1
2022-06-28gfs2: Minor gfs2_glock_nq_m cleanupAndreas Gruenbacher1-3/+6
2022-05-24Merge tag 'gfs2-v5.18-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2022-05-24gfs2: Return more useful errors from gfs2_rgrp_send_discards()Andrew Price1-2/+2
2022-04-17block: add a bdev_discard_granularity helperChristoph Hellwig1-4/+3
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-1/+1
2022-03-31gfs2: Make sure FITRIM minlen is rounded up to fs block sizeAndrew Price1-1/+2
2022-02-15gfs2: gfs2_setattr_size error path fixAndreas Gruenbacher1-3/+4
2022-02-15gfs2: assign rgrp glock before compute_bitstructsBob Peterson1-4/+5
2021-10-25gfs2: remove RDF_UPTODATE flagBob Peterson1-22/+14
2021-10-25gfs2: fix GL_SKIP node_scope problemsBob Peterson1-10/+11
2021-10-25gfs2: change go_lock to go_instantiateBob Peterson1-1/+1
2021-10-25gfs2: Switch some BUG_ON to GLOCK_BUG_ON for debugBob Peterson1-8/+8
2021-10-25gfs2: move GL_SKIP check from glops to do_promoteBob Peterson1-2/+0
2021-10-25gfs2: remove redundant check in gfs2_rgrp_go_lockBob Peterson1-2/+1
2021-04-09gfs2: Fix a number of kernel-doc warningsLee Jones1-2/+4
2021-04-03gfs2: Silence possible null pointer dereference warningAndreas Gruenbacher1-1/+1
2021-02-17gfs2: Use resource group glock sharingBob Peterson1-5/+5
2021-02-17gfs2: Add local resource group lockingAndreas Gruenbacher1-6/+48
2021-02-17gfs2: Add per-reservation reserved block accountingAndreas Gruenbacher1-20/+60
2021-02-17gfs2: Rename rs_{free -> requested} and rd_{reserved -> requested}Andreas Gruenbacher1-21/+21
2021-02-17gfs2: Don't search for unreserved space twiceAndreas Gruenbacher1-4/+5
2021-02-17gfs2: Only pass reservation down to gfs2_rbm_findAndreas Gruenbacher1-13/+13
2021-02-17gfs2: Also reflect single-block allocations in rgd->rd_extfail_ptAndreas Gruenbacher1-8/+10
2021-01-18gfs2: Set GBF_FULL flags when reading resource groupAndreas Gruenbacher1-2/+19
2021-01-18gfs2: Don't clear GBF_FULL flags in rs_deltreeAndreas Gruenbacher1-24/+1
2021-01-18Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks reserved"Andreas Gruenbacher1-2/+1
2021-01-18gfs2: Minor gfs2_inplace_reserve cleanupAndreas Gruenbacher1-6/+8
2021-01-18gfs2: Get rid of unnecessary variable in gfs2_alloc_blocksAndreas Gruenbacher1-6/+1
2021-01-18gfs2: Only use struct gfs2_rbm for bitmap manipulationsAndreas Gruenbacher1-63/+91
2021-01-18gfs2: Turn gfs2_rbm_incr into gfs2_rbm_addAndreas Gruenbacher1-22/+33
2020-11-25gfs2: check for empty rgrp tree in gfs2_ri_updateBob Peterson1-0/+4
2020-11-12gfs2: fix possible reference leak in gfs2_check_blk_typeZhang Qilong1-5/+5
2020-10-29gfs2: check for live vs. read-only file system in gfs2_fitrimBob Peterson1-0/+3
2020-10-29gfs2: Free rd_bits later in gfs2_clear_rgrpd to fix use-after-freeBob Peterson1-1/+1
2020-10-20gfs2: Eliminate gl_vmBob Peterson1-4/+0
2020-10-15gfs2: Wipe jdata and ail1 in gfs2_journal_wipe, formerly gfs2_meta_wipeBob Peterson1-3/+3
2020-10-14gfs2: Fix NULL pointer dereference in gfs2_rgrp_dumpAndrew Price1-6/+3
2020-06-05gfs2: Turn gl_delete into a delayed workAndreas Gruenbacher1-1/+1
2020-03-27gfs2: don't lock sd_log_flush_lock in try_rgrp_unlinkBob Peterson1-2/+0
2020-03-27gfs2: Split gfs2_rsqa_delete into gfs2_rs_delete and gfs2_qa_putAndreas Gruenbacher1-3/+2
2020-03-27gfs2: Change inode qa_data to allow multiple usersBob Peterson1-1/+1
2020-03-27gfs2: eliminate gfs2_rsqa_alloc in favor of gfs2_qa_allocBob Peterson1-10/+0
2020-02-10gfs2: Rework how rgrp buffer_heads are managedBob Peterson1-18/+5
2020-02-10gfs2: Report errors before withdrawAndreas Gruenbacher1-25/+23
2020-01-21gfs2: remove unused LBIT macrosAlex Shi1-10/+0
2019-09-03gfs2: Fix possible fs name overflowsBob Peterson1-1/+1
2019-06-27gfs2: replace more printk with calls to fs_info and friendsBob Peterson1-13/+14
2019-06-27gfs2: dump fsid when dumping glock problemsBob Peterson1-7/+14
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 398Thomas Gleixner1-4/+1
2019-05-07gfs2: Rename gfs2_trans_{add_unrevoke => remove_revoke}Andreas Gruenbacher1-1/+1
2019-05-07gfs2: Fix loop in gfs2_rbm_find (v2)Andreas Gruenbacher1-29/+25
2019-01-31gfs2: Revert "Fix loop in gfs2_rbm_find"Andreas Gruenbacher1-1/+1
2018-12-12gfs2: Dump nrpages for inodes and their glocksBob Peterson1-1/+1
2018-12-12gfs2: Fix loop in gfs2_rbm_findAndreas Gruenbacher1-1/+1
2018-11-09gfs2: Put bitmap buffers in put_superAndreas Gruenbacher1-1/+2
2018-10-12gfs2: Pass resource group to rgblk_freeAndreas Gruenbacher1-28/+16
2018-10-12gfs2: Remove unnecessary gfs2_rlist_alloc parameterBob Peterson1-3/+2
2018-10-12gfs2: Fix marking bitmaps non-fullAndreas Gruenbacher1-2/+11
2018-10-12gfs2: Fix some minor typosAndreas Gruenbacher1-2/+2
2018-10-12gfs2: Rename bitmap.bi_{len => bytes}Andreas Gruenbacher1-16/+16
2018-10-12gfs2: Remove unused RGRP_RSRV_MINBYTES definitionAndreas Gruenbacher1-1/+1
2018-10-12gfs2: Move rs_{sizehint, rgd_gh} fields into the inodeAndreas Gruenbacher1-9/+7
2018-10-12gfs2: Clean up out-of-bounds check in gfs2_rbm_from_blockAndreas Gruenbacher1-7/+2
2018-10-12gfs2: Always check the result of gfs2_rbm_from_blockAndreas Gruenbacher1-3/+8
2018-10-05gfs2: Use fs_* functions instead of pr_* function where we canBob Peterson1-11/+17
2018-08-28gfs2: Don't set GFS2_RDF_UPTODATE when the lvb is updatedBob Peterson1-1/+1
2018-08-28gfs2: improve debug information when lvb mismatches are foundBob Peterson1-5/+36
2018-08-08gfs2: eliminate update_rgrp_lvb_unlinkedBob Peterson1-9/+2
2018-08-07gfs2: Fix gfs2_testbit to use clone bitmapsBob Peterson1-25/+19
2018-07-26gfs2: cleanup: call gfs2_rgrp_ondisk2lvb from gfs2_rgrp_outBob Peterson1-17/+13
2018-07-25GFS2: rgrp free blocks used incorrectlyBob Peterson1-5/+34
2018-07-24Merge branch 'iomap-write' into linux-gfs2/for-nextAndreas Gruenbacher1-2/+3
2018-07-24gfs2: Don't reject a supposedly full bitmap if we have blocks reservedBob Peterson1-1/+2
2018-07-05gfs2: Eliminate redundant ip->i_rgdAndreas Gruenbacher1-7/+6
2018-07-04gfs2: Stop messing with ip->i_rgd in the rlist codeAndreas Gruenbacher1-6/+22
2018-06-21gfs2: eliminate rs_inum and reduce the size of gfs2 inodesBob Peterson1-2/+3
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-2/+3
2018-06-04GFS2: gfs2_free_extlen can return an extent that is too longBob Peterson1-1/+1
2018-01-30gfs2: Add a few missing newlines in messagesAndreas Gruenbacher1-1/+1
2018-01-23GFS2: Log the reason for log flushes in every log headerBob Peterson1-1/+2
2018-01-23GFS2: Introduce new gfs2_log_header_v2Bob Peterson1-1/+1
2018-01-18Merge branch 'punch-hole' of git://git.kernel.org/pub/scm/linux/kernel/git/gf...Bob Peterson1-0/+7
2018-01-17gfs2: Add gfs2_blk2rgrpd comment and fix incorrect useSteven Whitehouse1-0/+7
2017-12-12gfs2: Add a crc field to resource group headersAndrew Price1-0/+5
2017-12-12gfs2: Add rindex fields to rgrp headersAndrew Price1-0/+5
2017-12-12gfs2: Add a next-resource-group pointer to resource groupsAndrew Price1-1/+5
2017-11-27GFS2: Combine gfs2_free_di with gfs2_free_uninit_diBob Peterson1-8/+2
2017-08-30GFS2: Fix gl_object warningsAndreas Gruenbacher1-1/+1
2017-08-09GFS2: Don't bother trying to add rgrps to the lru listBob Peterson1-1/+0
2017-07-05gfs2: Protect gl->gl_object by spin lockAndreas Gruenbacher1-4/+2
2017-04-19GFS2: Non-recursive deleteBob Peterson1-7/+0
2016-07-12GFS2: Check rs_free with rd_rsspin protectionBob Peterson1-3/+2
2016-06-27gfs2: Lock holder cleanupAndreas Gruenbacher1-2/+2
2016-06-10GFS2: don't set rgrp gl_object until it's inserted into rgrp treeBob Peterson1-4/+8
2016-05-20Merge tag 'gfs2-4.7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-10/+6
2016-05-02GFS2: Remove allocation parms from gfs2_rbm_findBob Peterson1-10/+6
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-3/+2
2015-12-18GFS2: Always use iopen glock for gl_deletesBob Peterson1-1/+1
2015-12-14GFS2: Make rgrp reservations part of the gfs2_inode structureBob Peterson1-38/+14
2015-11-24GFS2: Extract quota data from reservations structure (revert 5407e24)Bob Peterson1-4/+13
2015-11-16gfs2: Extended attribute readaheadAndreas Gruenbacher1-1/+1
2015-11-09GFS2: Fix rgrp end rounding problem for bsize < page sizeBob Peterson1-2/+3
2015-10-29gfs2: Remove gl_spin defineAndreas Gruenbacher1-2/+2
2015-09-03gfs2: Make statistics unsigned, suitable for use with do_div()Ben Hutchings1-4/+4
2015-09-03GFS2: Move glock superblock pointer to field gl_nameBob Peterson1-1/+1
2015-06-19GFS2: Don't brelse rgrp buffer_heads every allocationBob Peterson1-4/+19
2015-05-18gfs2: fix shadow warning in gfs2_rbm_find()Fabian Frederick1-3/+1
2015-05-05gfs2: handle NULL rgd in set_rgrp_preferencesAbhi Das1-2/+2
2015-04-24GFS2: Average in only non-zero round-trip times for congestion statsBob Peterson1-3/+7
2015-04-24GFS2: Use average srttb value in congestion calculationsBob Peterson1-4/+9
2015-03-18gfs2: allow quota_check and inplace_reserve to return available blocksAbhi Das1-5/+15
2014-11-03GFS2: If we use up our block reservation, request more next timeBob Peterson1-0/+3
2014-11-03GFS2: Set of distributed preferences for rgrpsBob Peterson1-5/+61
2014-10-03GFS2: Use gfs2_rbm_incr in rgblk_freeBob Peterson1-9/+13
2014-09-19GFS2: fix bad inode i_goal values during block allocationAbhi Das1-0/+8
2014-07-18GFS2: fs/gfs2/rgrp.c: kernel-doc warning fixesFabian Frederick1-2/+2
2014-05-14GFS2: remove transaction glockBenjamin Marzinski1-1/+1
2014-03-07GFS2: Use pr_<level> more consistentlyJoe Perches1-11/+13
2014-03-06GFS2: global conversion to pr_foo()Fabian Frederick1-9/+9
2014-02-10GFS2: Mark functions as static in gfs2/rgrp.cRashika Kheria1-2/+2
2014-02-04GFS2: Allocate block for xattr at inode alloc time, if requiredSteven Whitehouse1-1/+1
2014-01-16GFS2: Small cleanupBob Peterson1-1/+1
2014-01-16GFS2: Don't use ENOBUFS when ENOMEM is the correct error codeSteven Whitehouse1-3/+2
2014-01-03GFS2: Use range based functions for rgrp sync/invalidationSteven Whitehouse1-0/+3
2014-01-03GFS2: Remove test which is always trueSteven Whitehouse1-1/+1
2014-01-03GFS2: Implement a "rgrp has no extents longer than X" schemeBob Peterson1-6/+26
2014-01-03GFS2: Drop inadequate rgrps from the reservation treeBob Peterson1-3/+4
2014-01-03GFS2: If requested is too large, use the largest extent in the rgrpBob Peterson1-15/+49
2013-11-15gfs2: endianness misannotationsAl Viro1-2/+2
2013-10-02GFS2: Speed up starting point selection for block allocationSteven Whitehouse1-10/+31
2013-10-02GFS2: Add allocation parameters structureSteven Whitehouse1-9/+9
2013-09-27GFS2: Clean up reservation removalSteven Whitehouse1-4/+3
2013-09-18GFS2: new function gfs2_rbm_incrBob Peterson1-3/+27
2013-09-18GFS2: Introduce rbm field biiBob Peterson1-51/+56
2013-09-17GFS2: Do not reset flags on active reservationsBob Peterson1-1/+0
2013-09-17GFS2: introduce bi_blocks for optimizationBob Peterson1-1/+5
2013-09-17GFS2: optimize rbm_from_block wrt bi_startBob Peterson1-1/+1
2013-06-19GFS2: Fix fstrim boundary conditionsAbhijith Das1-6/+8
2013-06-03GFS2: Increase i_writecount during gfs2_setattr_sizeBob Peterson1-1/+3
2013-05-24GFS2: Use single-block reservations for directoriesBob Peterson1-2/+7
2013-04-08GFS2: Remove vestigial parameter ip from function rs_deltreeBob Peterson1-8/+8
2013-04-08GFS2: Clean up inode creation pathSteven Whitehouse1-7/+1
2013-04-05GFS2: Issue discards in 512b sectorsBob Peterson1-17/+13
2013-04-04GFS2: return error if malloc failed in gfs2_rs_alloc()Wei Yongjun1-1/+1
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-02-22new helper: file_inode(file)Al Viro1-1/+1
2013-01-29GFS2: Split gfs2_trans_add_bh() into twoSteven Whitehouse1-9/+9
2013-01-02GFS2: Reset rd_last_alloc when it reaches the end of the rgrpBob Peterson1-0/+3
2013-01-02GFS2: Stop looking for free blocks at end of rgrpBob Peterson1-3/+7
2013-01-02GFS2: Fix race in gfs2_rs_allocAbhijith Das1-12/+10
2012-11-15GFS2: remove redundant lvb pointerDavid Teigland1-1/+1
2012-11-13GFS2: Fix one RG corner caseSteven Whitehouse1-1/+2
2012-11-07GFS2: Add Orlov allocatorSteven Whitehouse1-1/+18
2012-11-07GFS2: Add test for resource group congestion statusSteven Whitehouse1-4/+90
2012-11-07GFS2: Speed up gfs2_rbm_from_blockBob Peterson1-9/+12
2012-11-07GFS2: Fix FITRIM argument handlingLukas Czerner1-3/+17
2012-11-07GFS2: Require user to provide argument for FITRIMLukas Czerner1-6/+2
2012-11-07GFS2: Fix possible null pointer deref in gfs2_rs_allocAndrew Price1-3/+2
2012-09-24GFS2: Fix infinite loop in rbm_findBob Peterson1-0/+1
2012-09-24GFS2: Consolidate free block searching functionsSteven Whitehouse1-175/+192
2012-09-24GFS2: Stop block extents at the end of bitmapsBob Peterson1-2/+1
2012-09-24GFS2: Fix unclaimed_blocks() wrapping bug and clean upSteven Whitehouse1-105/+88
2012-09-24GFS2: Improve block reservation tracingSteven Whitehouse1-12/+10
2012-09-24GFS2: Fall back to ignoring reservations, if there are no other blocks leftSteven Whitehouse1-0/+5
2012-09-24GFS2: Use rbm for gfs2_setbit()Steven Whitehouse1-26/+20
2012-09-24GFS2: Use rbm for gfs2_testbit()Steven Whitehouse1-44/+28
2012-09-24GFS2: Eliminate unnecessary check for state > 3 in bitfitBob Peterson1-2/+0
2012-09-24GFS2: rbm code cleanupBob Peterson1-5/+11
2012-09-24GFS2: Fix case where reservation finished at end of rgrpSteven Whitehouse1-0/+7
2012-09-24GFS2: Use RB_CLEAR_NODE() rather than rb_init_node()Michel Lespinasse1-2/+2
2012-09-24GFS2: Update rgblk_free() to use rbmSteven Whitehouse1-30/+14
2012-09-24GFS2: Update gfs2_get_block_type() to use rbmSteven Whitehouse1-19/+6
2012-09-24GFS2: Replace rgblk_search with gfs2_rbm_findSteven Whitehouse1-210/+250
2012-09-24GFS2: Add structure to contain rgrp, bitmap, offset tupleSteven Whitehouse1-94/+81
2012-09-24GFS2: Remove rs_requested field from reservationsSteven Whitehouse1-27/+8
2012-09-13GFS2: Take account of blockages when using reserved blocksSteven Whitehouse1-38/+28
2012-07-19GFS2: Reduce file fragmentationBob Peterson1-55/+523
2012-07-18GFS2: kernel panic with small gfs2 filesystems - 1 RGAbhijith Das1-0/+1
2012-06-14GFS2: Combine functions get_local_rgrp and gfs2_inplace_reserveBob Peterson1-53/+29
2012-06-08GFS2: Use lvbs for storing rgrp information with mount optionBenjamin Marzinski1-9/+138
2012-06-06GFS2: Fold quota data into the reservations structBob Peterson1-19/+0
2012-06-06GFS2: Extend the life of the reservationsBob Peterson1-31/+37
2012-05-11GFS2: Add rgrp information to block_alloc trace pointBob Peterson1-4/+4
2012-04-27GFS2: Eliminate needless parameter from function gfs2_setbitBob Peterson1-12/+9
2012-04-24GFS2: Remove unused argument from gfs2_internal_readAndrew Price1-12/+5
2012-04-24GFS2: Change variable blk to biblkBob Peterson1-5/+5
2012-04-24GFS2: Fix function parameter comments in rgrp.cBob Peterson1-12/+16
2012-04-24GFS2: Eliminate offset parameter to gfs2_setbitBob Peterson1-11/+12
2012-04-24GFS2: Use slab for block reservation memoryBob Peterson1-8/+11
2012-04-05GFS2: Make sure rindex is uptodate before starting transactionsBob Peterson1-3/+4
2012-03-26GFS2: put glock reference in error patch of read_rindex_entryBob Peterson1-0/+1
2012-03-05GFS2: make sure rgrps are up to date in func gfs2_blk2rgrpdBob Peterson1-10/+4
2012-03-05GFS2: Eliminate sd_rindex_mutexBob Peterson1-12/+10