aboutsummaryrefslogtreecommitdiffstats
path: root/fs
Commit message (Collapse)AuthorAge
* Btrfs: Add run time btree defrag, and an ioctl to force btree defragChris Mason2007-08-07
| | | | | | | | | | | This adds two types of btree defrag, a run time form that tries to defrag recently allocated blocks in the btree when they are still in ram, and an ioctl that forces defrag of all btree blocks. File data blocks are not defragged yet, but this can make a huge difference in sequential btree reads. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Fold some btree readahead routines into something more generic.Chris Mason2007-08-07
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Do snapshot deletion in smaller chunks.Chris Mason2007-08-07
| | | | | | | | | Before, snapshot deletion was a single atomic unit. This caused considerable lock contention and required an unbounded amount of space. Now, the drop_progress field in the root item is used to indicate how far along snapshot deletion is, and to resume where it left off. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: cleaner make cleanJoel Becker2007-07-25
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: deal with api changes in 2.6.23-rc1Chris Mason2007-07-25
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Implement mknodJosef Bacik2007-07-11
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Some code cleanupsAneesh2007-07-11
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: trivial include fixupsZach Brown2007-07-11
| | | | | | | | | | | Almost none of the files including module.h need to do so, remove them. Include sched.h in extent-tree.c to silence a warning about cond_resched() being undeclared. Signed-off-by: Zach Brown <zach.brown@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: crash recovery fixesChris Mason2007-06-28
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Allow find_free_extent callers to pass in an exclusion rangeChris Mason2007-06-26
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Fix super block updates during transaction commitChris Mason2007-06-26
| | | | | | | | The super block written during commit was not consistent with the state of the trees. This change adds an in-memory copy of the super so that we can make sure to write out consistent data during a commit. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Fix mtime and ctime updates on parent dirsChris Mason2007-06-25
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Documentation updateChris Mason2007-06-22
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Add the ability to find and remove dead roots after a crash.Chris Mason2007-06-22
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Audit callers and return codes to make sure -ENOSPC gets up the stackChris Mason2007-06-22
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: Switch to libcrc32c to avoid problems with cryptomgr on highmem machinesChris Mason2007-06-22
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: reada while dropping snapshotsChris Mason2007-06-19
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: cache the extent tree preallocationChris Mason2007-06-19
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Subject: Rework btrfs_file_write to only allocate while page locks are heldChris Mason2007-06-18
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: patch queue: page_mkwriteChris Mason2007-06-15
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* btrfs: Code cleanupAneesh2007-06-13
| | | | | | | | | | | Attaching below is some of the code cleanups that i came across while reading the code. a) alloc_path already calls init_path. b) Mention that btrfs_inode is the in memory copy.Ext4 have ext4_inode_info as the in memory copy ext4_inode as the disk copy Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: i386 fixes from axboeChris Mason2007-06-12
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: add GPLv2Chris Mason2007-06-12
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: no slashes in subvolume namesChris Mason2007-06-12
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: printk fixesChris Mason2007-06-12
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: 64 bit div fixesChris Mason2007-06-12
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: split up super.cChris Mason2007-06-12
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: fix oops after block group lookupChris Mason2007-06-11
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: remove device treeChris Mason2007-06-09
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: reap dead roots right after commitChris Mason2007-06-09
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: get forced transaction commits via workqueueChris Mason2007-06-08
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: add compat ioctlChris Mason2007-06-08
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: d_type optimizationChris Mason2007-06-07
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: use a separate flag for search_start vs a hint in find_free_extentChris Mason2007-05-30
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: block group switchingChris Mason2007-05-29
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: fixup various fsx failuresChris Mason2007-05-29
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: sparse files!Chris Mason2007-05-24
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: symlinks and hard linksChris Mason2007-05-24
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: renameChris Mason2007-05-23
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: 2.6.21-git fixesChris Mason2007-05-21
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: allocator optimizations, truncate readaheadChris Mason2007-05-18
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: patch queue: fix corruption when splitting large itemsChris Mason2007-05-11
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: switch to crc32c instead of sha256Chris Mason2007-05-10
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: fix check_node and check_leaf to use less cpuChris Mason2007-05-10
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: many allocator fixes, pretty solidChris Mason2007-05-09
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: allocator and tuningChris Mason2007-05-07
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: more allocator enhancementsChris Mason2007-05-06
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: early metadata/data splitChris Mason2007-05-03
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: fix page cache memory leakChris Mason2007-05-02
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs: directory readaheadChris Mason2007-05-01
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>