aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
AgeCommit message (Expand)AuthorFilesLines
2012-10-09Btrfs: don't commit instead of overcommittingJosef Bacik1-28/+6
2012-10-09Btrfs: cache extent state when writing out dirty metadata pagesJosef Bacik1-2/+3
2012-10-09Btrfs: run delayed refs first when out of spaceJosef Bacik1-10/+10
2012-10-08btrfs: move transaction aborts to the point of failureDavid Sterba1-21/+35
2012-10-04Btrfs: kill obsolete arguments in btrfs_wait_ordered_extentsLiu Bo1-2/+2
2012-10-04Btrfs: cleanup for duplicated code in find_free_extentLiu Bo1-4/+0
2012-10-01Btrfs: remove bytes argument from do_chunk_allocJosef Bacik1-15/+10
2012-10-01Btrfs: delay block group item insertionJosef Bacik1-67/+63
2012-10-01Btrfs: fix our overcommit mathJosef Bacik1-29/+42
2012-10-01Btrfs: wait on async pages when shrinking delallocJosef Bacik1-0/+7
2012-10-01Btrfs: fix wrong size for the reservation of the, snapshot creationMiao Xie1-3/+3
2012-10-01Btrfs: add a new "type" field into the block reservation structureMiao Xie1-3/+5
2012-10-01Btrfs: add hole punchingJosef Bacik1-0/+2
2012-10-01Btrfs: do not needlessly restart the transaction for enospcJosef Bacik1-1/+1
2012-10-01Btrfs: do not allocate chunks as agressivelyJosef Bacik1-9/+3
2012-08-28Btrfs: allow delayed refs to be mergedJosef Bacik1-0/+10
2012-08-28Btrfs: fix race in run_clustered_refsArne Jansen1-0/+17
2012-08-28Btrfs: increase the size of the free space cacheJosef Bacik1-8/+7
2012-08-28Btrfs: fix deadlock in wait_for_more_refsArne Jansen1-56/+21
2012-08-28Btrfs: unlock on error in btrfs_delalloc_reserve_metadata()Dan Carpenter1-1/+3
2012-07-25Btrfs: add a barrier before a waitqueue_active checkChris Mason1-0/+1
2012-07-25Merge branch 'qgroup' of git://git.jan-o-sch.net/btrfs-unstable into for-linusChris Mason1-9/+110
2012-07-23Btrfs: make btrfs's allocation smoothly with preallocationLiu Bo1-1/+3
2012-07-23Btrfs: kill free_space pointer from inode structureLi Zefan1-12/+8
2012-07-23Btrfs: add ro notification to dump_space_infoLiu Bo1-3/+3
2012-07-23Btrfs: fix a bug of writting free space cache during balanceLiu Bo1-3/+21
2012-07-23Btrfs: do not abort transaction in prealloc caseLiu Bo1-1/+5
2012-07-23Btrfs: kill root from btrfs_is_free_space_inodeLiu Bo1-1/+1
2012-07-23Btrfs: rework shrink_delallocJosef Bacik1-57/+24
2012-07-23Btrfs: change how we indicate we're adding csumsJosef Bacik1-1/+7
2012-07-23Btrfs: flush delayed inodes if we're short on spaceJosef Bacik1-35/+62
2012-07-12Btrfs: hooks to reserve qgroup spaceArne Jansen1-0/+12
2012-07-12Btrfs: call the qgroup accounting functionsJan Schmidt1-0/+3
2012-07-12Btrfs: qgroup implementation and prototypesArne Jansen1-0/+34
2012-07-10Btrfs: Test code to change the order of delayed-ref processingArne Jansen1-0/+49
2012-07-10Btrfs: join tree mod log code with the code holding back delayed refsJan Schmidt1-9/+12
2012-06-27Btrfs: avoid waiting for delayed refs when we must notJan Schmidt1-5/+6
2012-05-31Merge branch 'for-chris' of git://git.jan-o-sch.net/btrfs-unstable into for-l...Chris Mason1-5/+5
2012-05-30Btrfs: convert the inode bit field to use the actual bit operationsJosef Bacik1-5/+6
2012-05-26Btrfs: don't set for_cow parameter for tree block functionsJan Schmidt1-5/+5
2012-05-11Btrfs: cleanup: use consistent lock namingDan Carpenter1-1/+1
2012-05-06Btrfs: avoid sleeping in verify_parent_transid while atomicChris Mason1-1/+1
2012-04-27Btrfs: fix block_rsv and space_info lock orderingStefan Behrens1-2/+2
2012-04-18btrfs: don't return EINTRArne Jansen1-6/+3
2012-04-18Btrfs: double unlock bug in error handlingDan Carpenter1-0/+2
2012-04-12Btrfs: use commit root when loading free space cacheJosef Bacik1-3/+1
2012-04-12Btrfs: remove lock assert from get_restripe_target()Ilya Dryomov1-3/+2
2012-04-12Revert "Btrfs: increase the global block reserve estimates"Chris Mason1-1/+1
2012-03-29Btrfs: fix deadlock during allocating chunksLiu Bo1-0/+50
2012-03-29Btrfs: show useful info in space reservation tracepointLiu Bo1-19/+10
2012-03-28Merge branch 'for-chris' of git://github.com/idryomov/btrfs-unstable into for...Chris Mason1-76/+87
2012-03-28Merge branch 'error-handling' into for-linusChris Mason1-129/+254
2012-03-27Btrfs: improve the logic in btrfs_can_relocate()Ilya Dryomov1-6/+18
2012-03-27Btrfs: add __get_block_group_index() helperIlya Dryomov1-5/+12
2012-03-27Btrfs: add get_restripe_target() helperIlya Dryomov1-44/+50
2012-03-27Btrfs: move alloc_profile_is_valid() to volumes.cIlya Dryomov1-2/+0
2012-03-27Btrfs: make profile_is_valid() check more strictIlya Dryomov1-1/+1
2012-03-27Btrfs: add wrappers for working with alloc profilesIlya Dryomov1-18/+7
2012-03-27Btrfs: stop silently switching single chunks to raid0 on balanceIlya Dryomov1-3/+2
2012-03-26Btrfs: introduce free_extent_buffer_staleJosef Bacik1-4/+1
2012-03-26Btrfs: remove search_start and search_end from find_free_extent and callersJosef Bacik1-12/+4
2012-03-26Btrfs: remove the ideal caching codeJosef Bacik1-85/+8
2012-03-22btrfs: replace many BUG_ONs with proper error handlingJeff Mahoney1-93/+223
2012-03-22btrfs: btrfs_drop_snapshot should return intJeff Mahoney1-2/+2
2012-03-22btrfs: return void in functions without error conditionsJeff Mahoney1-33/+27
2012-03-22btrfs: avoid NULL deref in btrfs_reserve_extent with DEBUG_ENOSPCJeff Mahoney1-1/+2
2012-02-24Btrfs: fix compiler warnings on 32 bit systemsChris Mason1-16/+19
2012-02-23Btrfs: increase the global block reserve estimatesLiu Bo1-1/+1
2012-02-16Btrfs: fix a bug on overcommit stuffLiu Bo1-1/+4
2012-02-15Btrfs: fix trim 0 bytes after a device deleteLiu Bo1-1/+8
2012-01-26Btrfs: fix enospc error caused by wrong checks of the chunkMiao Xie1-22/+27
2012-01-16Btrfs: use larger system chunksChris Mason1-0/+3
2012-01-16Btrfs: add a delalloc mutex to inodes for delalloc reservationsJosef Bacik1-2/+3
2012-01-16Btrfs: space leak tracepointsJosef Bacik1-8/+50
2012-01-16Btrfs: add allocator tracepointsJosef Bacik1-0/+9
2012-01-16Merge branch 'for-chris' of git://git.jan-o-sch.net/btrfs-unstable into integ...Chris Mason1-47/+140
2012-01-16Merge branch 'for-chris' of git://repo.or.cz/linux-btrfs-devel into integrationChris Mason1-1/+2
2012-01-16Merge branch 'restriper' of git://github.com/idryomov/btrfs-unstable into int...Chris Mason1-25/+103
2012-01-16Btrfs: implement online profile changingIlya Dryomov1-1/+55
2012-01-16Btrfs: do not reduce profile in do_chunk_alloc()Ilya Dryomov1-1/+1
2012-01-16Btrfs: make avail_*_alloc_bits fields dynamicIlya Dryomov1-0/+20
2012-01-16Btrfs: add BTRFS_AVAIL_ALLOC_BIT_SINGLE bitIlya Dryomov1-9/+21
2012-01-16Btrfs: introduce masks for chunk type and profileIlya Dryomov1-9/+3
2012-01-16Btrfs: get rid of *_alloc_profile fieldsIlya Dryomov1-6/+4
2012-01-11Btrfs: update global block_rsv when creating a new block groupLi Zefan1-0/+1
2012-01-11Btrfs: don't pass a trans handle unnecessarily in volumes.cLi Zefan1-1/+1
2012-01-07Btrfs: don't set up allocation result twiceAlexandre Oliva1-3/+0
2012-01-06Btrfs: test free space only for unclustered allocationAlexandre Oliva1-11/+23
2012-01-06Btrfs: lower the bar for chunk allocationChris Mason1-18/+3
2012-01-06Btrfs: run chunk allocations while we do delayed refsChris Mason1-4/+10
2012-01-04Btrfs: add waitqueue instead of doing busy waiting for more delayed refsJan Schmidt1-1/+58
2012-01-04Btrfs: put back delayed refs that are too newArne Jansen1-5/+22
2011-12-22Btrfs: mark delayed refs as for cowArne Jansen1-41/+60
2011-12-16Merge branches 'for-linus' and 'for-linus-3.2' of git://git.kernel.org/pub/sc...Linus Torvalds1-14/+31
2011-12-15Btrfs: only set cache_generation if we setup the block groupJosef Bacik1-1/+1
2011-12-15Btrfs: fix how we do delalloc reservations and how we free reservations on errorJosef Bacik1-13/+30
2011-12-08Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-51/+49
2011-12-08Btrfs: try cluster but don't advance in search listAlexandre Oliva1-43/+31
2011-12-07Btrfs: try to allocate from cluster even at LOOP_NO_EMPTY_SIZEAlexandre Oliva1-8/+18
2011-12-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-11/+23
2011-11-30Btrfs: skip allocation attempt from empty clusterAlexandre Oliva1-3/+3
2011-11-30Btrfs: skip block groups without enough space for a clusterAlexandre Oliva1-1/+1
2011-11-30Btrfs: start search for new cluster at the beginningAlexandre Oliva1-4/+2
2011-11-30Btrfs: fix deadlock on metadata reservation when evicting a inodeMiao Xie1-4/+18
2011-11-22Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-40/+79
2011-11-20Btrfs: wait on caching if we're loading the free space cacheJosef Bacik1-40/+79
2011-11-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-19/+31
2011-11-10Btrfs: Abstract similar code for btrfs_block_rsv_add{, _noflush}Miao Xie1-16/+12
2011-11-08Btrfs: fix our reservations for updating an inode when completing ioJosef Bacik1-3/+19
2011-11-06Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-330/+518
2011-11-06Merge git://git.jan-o-sch.net/btrfs-unstable into integrationChris Mason1-5/+5
2011-11-06Btrfs: fix delayed insertion reservationJosef Bacik1-0/+18
2011-11-06Btrfs: be smarter about committing the transaction in reserve_metadata_bytesJosef Bacik1-19/+67
2011-11-06Btrfs: make a delayed_block_rsv for the delayed item insertionJosef Bacik1-0/+3
2011-11-06btrfs: separate superblock items out of fs_infoDavid Sterba1-8/+8
2011-11-06Btrfs: fix extent pinning bugs in the tree logChris Mason1-3/+48
2011-10-31writeback: Add a 'reason' to wb_writeback_workCurt Wohlgemuth1-1/+2
2011-10-24btrfs: ratelimit WARN_ON in use_block_rsvDavid Sterba1-1/+8
2011-10-20Btrfs: fix race between multi-task space allocation and caching spaceMiao Xie1-0/+7
2011-10-20Btrfs: pass the correct root to lookup_free_space_inode()Ilya Dryomov1-1/+1
2011-10-19Btrfs: if we have a lot of pinned space, commit the transactionJosef Bacik1-0/+15
2011-10-19Btrfs: seperate out btrfs_block_rsv_check out into 2 different functionsJosef Bacik1-14/+27
2011-10-19Btrfs: release trans metadata bytes before flushing delayed refsJosef Bacik1-4/+1
2011-10-19Btrfs: allow shrink_delalloc flush the needed reclaimed pagesJosef Bacik1-2/+3
2011-10-19Btrfs: wait for ordered extents if we're in trouble when shrinking delallocJosef Bacik1-8/+17
2011-10-19Btrfs: don't check bytes_pinned to determine if we should commit the transactionJosef Bacik1-11/+0
2011-10-19Btrfs: wait for ordered extents if we didn't reclaim enoughJosef Bacik1-1/+1
2011-10-19Btrfs: inline checksums into the disk free space cacheJosef Bacik1-6/+12
2011-10-19Btrfs: take overflow into account in reserving spaceJosef Bacik1-1/+1
2011-10-19Btrfs: introduce mount option no_space_cacheJosef Bacik1-5/+4
2011-10-19Btrfs: allow us to overcommit our enospc reservationsJosef Bacik1-14/+47
2011-10-19Btrfs: check unused against how much space we actually wantJosef Bacik1-1/+1
2011-10-19Btrfs: delay iput when deleting a block groupJosef Bacik1-1/+1
2011-10-19Btrfs: stop passing a trans handle all around the reservation codeJosef Bacik1-22/+23
2011-10-19Btrfs: don't get the block_rsv in btrfs_free_tree_blockJosef Bacik1-4/+0
2011-10-19Btrfs: use the transactions block_rsv for the csum rootJosef Bacik1-6/+9
2011-10-19Btrfs: handle enospc accounting for free space inodesJosef Bacik1-5/+13
2011-10-19Btrfs: don't increase the block_rsv's size when emergency allocating spaceJosef Bacik1-3/+0
2011-10-19Btrfs: fix space leak when we fail to make an allocationJosef Bacik1-6/+14
2011-10-19Btrfs: allow callers to specify if flushing can occur for btrfs_block_rsv_checkJosef Bacik1-2/+2
2011-10-19Btrfs: kill btrfs_truncate_reserve_metadataJosef Bacik1-31/+0
2011-10-19Btrfs: don't try to commit in btrfs_block_rsv_checkJosef Bacik1-25/+4
2011-10-19Btrfs: kill unused parts of block_rsvJosef Bacik1-17/+6
2011-10-19Btrfs: kill the durable block rsv stuffJosef Bacik1-83/+17
2011-10-19Btrfs: calculate checksum space correctlyJosef Bacik1-8/+109
2011-10-19Btrfs: use bytes_may_use for all ENOSPC reservationsJosef Bacik1-74/+89
2011-10-19Btrfs: kill reserved_bytes in inodeJosef Bacik1-2/+0
2011-09-29btrfs: btrfs_multi_bio replaced with btrfs_bioJan Schmidt1-5/+5
2011-08-21Btrfs: fix 64 bit divide problemJosef Bacik1-5/+7
2011-08-16Btrfs: forced readonly when btrfs_drop_snapshot() failsTsutomu Itoh1-8/+14
2011-08-16Btrfs: check if there is enough space for balancing smarterliubo1-6/+35
2011-08-16Btrfs: detect wether a device supports discardJosef Bacik1-2/+10
2011-08-01Btrfs: don't print the leaf if we had an errorJosef Bacik1-1/+3
2011-08-01Btrfs: fix oops while writing data to SSD partitionsliubo1-1/+3
2011-08-01Btrfs: Protect the readonly flag of block groupWuBo1-3/+7
2011-08-01Btrfs: return error to caller when btrfs_unlink() failesTsutomu Itoh1-1/+2
2011-08-01Merge branch 'alloc_path' of git://git.kernel.org/pub/scm/linux/kernel/git/mf...Chris Mason1-5/+19
2011-07-27Btrfs: make sure reserve_metadata_bytes doesn't leak out strange errorsChris Mason1-1/+6
2011-07-27Btrfs: make a lockdep class for each rootChris Mason1-1/+1
2011-07-27Btrfs: switch the btrfs tree locks to reader/writerChris Mason1-10/+10
2011-07-27Btrfs: fix BUG_ON() caused by ENOSPC when relocating spaceMiao Xie1-7/+21
2011-07-27Btrfs: fix enospc problems with delallocJosef Bacik1-41/+49
2011-07-27Btrfs: don't flush delalloc arbitrarilyJosef Bacik1-3/+0
2011-07-27Btrfs: use a worker thread to do cachingJosef Bacik1-28/+18
2011-07-25btrfs: don't BUG_ON allocation errors in btrfs_drop_snapshotMark Fasheh1-2/+6
2011-07-25btrfs: Don't BUG_ON alloc_path errors in find_next_chunkMark Fasheh1-0/+4
2011-07-14btrfs: don't BUG_ON btrfs_alloc_path() errorsMark Fasheh1-3/+9
2011-07-11Btrfs: serialize flushers in reserve_metadata_bytesJosef Bacik1-21/+48
2011-07-11Btrfs: do transaction space reservation before joining the transactionJosef Bacik1-20/+0
2011-06-25Btrfs: fix type mismatch in find_free_extent()Ilya Dryomov1-2/+2
2011-06-13Btrfs: drop the delalloc_bytes check in shrink_delallocChris Mason1-4/+0
2011-06-08Btrfs: fix the allocator loop logicJosef Bacik1-23/+25
2011-06-08Btrfs: don't commit the transaction if we dont have enough pinned bytesJosef Bacik1-0/+7
2011-06-04btrfs: add helper for fs_info->closingDavid Sterba1-2/+1
2011-05-28Merge branch 'for-chris' ofChris Mason1-33/+67
2011-05-23Merge branch 'cleanups_and_fixes' into inode_numbersChris Mason1-3/+4
2011-05-23Btrfs: BUG_ON is deleted from the caller of btrfs_truncate_item & btrfs_exten...Tsutomu Itoh1-3/+0
2011-05-23btrfs: don't spin in shrink_delalloc if there is nothing to freeSergei Trofimovich1-0/+4
2011-05-23Btrfs: don't try to allocate from a block group that doesn't have enough spaceJosef Bacik1-0/+8
2011-05-23Btrfs: don't always do readaheadJosef Bacik1-1/+2
2011-05-23Btrfs: try not to sleep as much when doing slow cachingJosef Bacik1-8/+11
2011-05-23Btrfs: kill BTRFS_I(inode)->block_groupJosef Bacik1-8/+2
2011-05-23Btrfs: fix how we do space reservation for truncateJosef Bacik1-10/+36
2011-05-23Btrfs: kill trans_mutexJosef Bacik1-1/+2
2011-05-23Btrfs: take away the num_items argument from btrfs_join_transactionJosef Bacik1-6/+6
2011-05-22Merge branch 'cleanups' of git://repo.or.cz/linux-2.6/btrfs-unstable into ino...Chris Mason1-1685/+38
2011-05-22Merge branch 'delayed_inode' into inode_numbersChris Mason1-12/+6
2011-05-21btrfs: implement delayed inode items operationMiao Xie1-12/+6
2011-05-21Merge branch 'ino-alloc' of git://repo.or.cz/linux-btrfs-devel into inode_num...Chris Mason1-24/+26
2011-05-14Btrfs: fix easily get into ENOSPC in mixed caseliubo1-11/+26
2011-05-06btrfs: remove old unused commented out codeDavid Sterba1-1660/+1
2011-05-02btrfs: Document a mutex lock/unlock sequenceDavid Sterba1-0/+12
2011-05-02btrfs: drop unused parameter from btrfs_release_pathDavid Sterba1-22/+22
2011-05-02btrfs: drop gfp parameter from alloc_extent_mapDavid Sterba1-1/+1
2011-05-02btrfs: make functions static when possibleDavid Sterba1-3/+3
2011-04-25Btrfs: check return value of kmalloc()Tsutomu Itoh1-0/+4
2011-04-25Btrfs: Support reading/writing on disk free ino cacheLi Zefan1-1/+2
2011-04-25Btrfs: Always use 64bit inode numberLi Zefan1-5/+5
2011-04-25Btrfs: Make free space cache code genericLi Zefan1-18/+19
2011-04-16Btrfs: avoid taking the chunk_mutex in do_chunk_allocJosef Bacik1-5/+25