Yan [Tue, 5 Feb 2008 20:40:36 +0000 (15:40 -0500)]
btrfs_drop_extents: handle BTRFS_INODE_REF_KEY types
It's possible "key.type == BTRFS_INODE_REF_KEY" and "key.offset >= end".
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 5 Feb 2008 15:20:17 +0000 (10:20 -0500)]
Btrfs: Add checks for last byte in disk to allocator grouping
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Tue, 5 Feb 2008 14:07:49 +0000 (09:07 -0500)]
Btrfs: Fix hole creation in file_write
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 4 Feb 2008 15:10:43 +0000 (10:10 -0500)]
Btrfs: Update magic
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 4 Feb 2008 15:10:13 +0000 (10:10 -0500)]
Btrfs: Add debugging for block group update failure
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Mon, 4 Feb 2008 13:57:25 +0000 (08:57 -0500)]
Btrfs: Fix typo in extent_io.c
---
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 1 Feb 2008 21:35:04 +0000 (16:35 -0500)]
Btrfs: Lower stack usage in transaction.c
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 1 Feb 2008 20:42:15 +0000 (15:42 -0500)]
Btrfs: Fix delalloc account on state deletion
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Fri, 1 Feb 2008 19:58:07 +0000 (14:58 -0500)]
Call btrfs_cow_block while lowering tree level.
When freeing root block of a tree, btrfs_free_extent' parameter
'ref_generation' is from root block itseft. When freeing non-root
block, 'ref_generation' is from its parent. so when converting a
non-root block to root block, we must guarantee its generation is
equal to its parent's generation.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 1 Feb 2008 19:51:59 +0000 (14:51 -0500)]
Btrfs: Use last_alloc optimizations for metadata, even without -o ssd
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 1 Feb 2008 19:51:59 +0000 (14:51 -0500)]
Btrfs: Hash in the offset and owner for file extent backref keys
This makes searches for backrefs and backref insertion much more efficient
when there are many backrefs for a single extent
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 1 Feb 2008 19:51:59 +0000 (14:51 -0500)]
Btrfs: Insert extent record and the first backref in a single balance
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 1 Feb 2008 19:51:59 +0000 (14:51 -0500)]
Btrfs: Add a lookup cache to the extent state tree
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 31 Jan 2008 21:45:07 +0000 (16:45 -0500)]
Btrfs: Add data block hints to SSD mode too
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 31 Jan 2008 16:05:37 +0000 (11:05 -0500)]
Btrfs: Enable delalloc accounting
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Wed, 30 Jan 2008 19:39:54 +0000 (14:39 -0500)]
btrfs_drop_extent fixe for inline items > 8K
When truncating a inline extent, btrfs_drop_extents doesn't properly
handle the case "key.offset > inline_limit". This bug can only happen
when max line size is larger than 8K.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 30 Jan 2008 19:33:02 +0000 (14:33 -0500)]
Fix hole start calculation in btrfs_settar
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 30 Jan 2008 16:54:05 +0000 (11:54 -0500)]
Properly align the hole size in btrfs_setattr
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Wed, 30 Jan 2008 16:54:04 +0000 (11:54 -0500)]
Btrfs: Align extent length to sectorsize in
---
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 30 Jan 2008 16:43:54 +0000 (11:43 -0500)]
Btrfs: Copy correct tree when inserting into slot 0
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 21:06:37 +0000 (16:06 -0500)]
Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 21:03:38 +0000 (16:03 -0500)]
Btrfs: mount -o max_inline=size to control the maximum inline extent size
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 20:55:23 +0000 (15:55 -0500)]
Btrfs: Do delalloc accounting via hooks in the extent_state code
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 20:15:18 +0000 (15:15 -0500)]
Btrfs: Add inode item and backref in one insert, reducing cpu usage
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 20:11:36 +0000 (15:11 -0500)]
Btrfs: During deletes and truncate, remove many items at once from the tree
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 14:59:12 +0000 (09:59 -0500)]
Btrfs: extent_io and extent_state optimizations
The end_bio routines are changed to take a pointer to the extent state
struct, and the state tree is walked in order to set/clear appropriate
bits as IO completes. This greatly reduces the number of rbtree searches
done by the end_bio handlers, and reduces lock contention.
The extent_io releasepage function is changed to avoid expensive searches
for locked state.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 14:10:27 +0000 (09:10 -0500)]
Btrfs: Add some extra debugging around file data checksum failures
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 29 Jan 2008 14:10:26 +0000 (09:10 -0500)]
Btrfs: Force f_pos to the max when a readdir hits the end of the directory.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 24 Jan 2008 21:13:14 +0000 (16:13 -0500)]
Btrfs: Tune readahead during defrag to avoid reading too much at once
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 24 Jan 2008 21:13:08 +0000 (16:13 -0500)]
Btrfs: Split the extent_map code into two parts
There is now extent_map for mapping offsets in the file to disk and
extent_io for state tracking, IO submission and extent_bufers.
The new extent_map code shifts from [start,end] pairs to [start,len], and
pushes the locking out into the caller. This allows a few performance
optimizations and is easier to use.
A number of extent_map usage bugs were fixed, mostly with failing
to remove extent_map entries when changing the file.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 22 Jan 2008 21:47:59 +0000 (16:47 -0500)]
Btrfs: Fix hole insertion corner cases
There were a few places that could cause duplicate extent insertion,
this adjusts the code that creates holes to avoid it.
lookup_extent_map is changed to correctly return all of the extents in a
range, even when there are none matching at the start of the range.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 22 Jan 2008 17:46:56 +0000 (12:46 -0500)]
Btrfs: Include sched.h in the acl code for current (fixes compile on 2.6.23)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Tue, 22 Jan 2008 17:46:56 +0000 (12:46 -0500)]
Btrfs: Add basic lockfs calls
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Tue, 22 Jan 2008 17:46:56 +0000 (12:46 -0500)]
Btrfs: Fix for test_range_bit
test_range_bit doesn't properly handle the case: there's a hole at the
end of the range and there's no other extent_state after the range.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Tue, 22 Jan 2008 17:46:56 +0000 (12:46 -0500)]
Fix for btrfs_find_free_objectid
btrfs_find_free_objectid may return a used objectid due to arithmetic
underflow. This bug may happen when parameter 'root' is tree root, so
it may cause serious problems when creating snapshot or sub-volume.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 18 Jan 2008 15:54:22 +0000 (10:54 -0500)]
Btrfs: Add mount -o ssd, which includes optimizations for seek free storage
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 17 Jan 2008 17:01:41 +0000 (12:01 -0500)]
Btrfs: Use blk_congestion_wait on older kernels
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Thu, 17 Jan 2008 16:59:51 +0000 (11:59 -0500)]
Btrfs: Fix compile on 2.6.22 kernel
This patch fixes compile error on kernel-2.6.22
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Thu, 17 Jan 2008 16:59:48 +0000 (11:59 -0500)]
Btrfs: Fix compile on kernel without ACLs enabled
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 16 Jan 2008 21:09:22 +0000 (16:09 -0500)]
Btrfs: Fix data=ordered vs wait_on_inode deadlock on older kernels
Using ilookup5 during data=ordered writeback could deadlock on I_LOCK. This
saves a pointer to the inode instead.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 16 Jan 2008 16:44:43 +0000 (11:44 -0500)]
Btrfs: Run igrab on data=ordered inodes to prevent deadlocks during writeout
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 15 Jan 2008 13:44:06 +0000 (08:44 -0500)]
Btrfs: Disable delalloc accounting for now
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 15 Jan 2008 13:40:48 +0000 (08:40 -0500)]
Rework btrfs_drop_inode to avoid scheduling
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 14 Jan 2008 21:24:38 +0000 (16:24 -0500)]
Btrfs: Add drop inode func to avoid data=ordered deadlock
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 14 Jan 2008 20:10:26 +0000 (15:10 -0500)]
Btrfs: Delete any remaining extent_maps before freeing the inode
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 14 Jan 2008 19:41:16 +0000 (14:41 -0500)]
Btrfs: Only delete roots from sysfs when they were added to sysfs
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 14 Jan 2008 19:33:35 +0000 (14:33 -0500)]
Btrfs: Change magic string to reflect new format
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Mon, 14 Jan 2008 18:26:08 +0000 (13:26 -0500)]
Btrfs: Add readonly inode flag
This patch adds readonly inode flag support. A file with this flag
can't be modified, but can be deleted.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Mon, 14 Jan 2008 18:26:08 +0000 (13:26 -0500)]
Btrfs: Implement ACLs setting and getting
ACLs are stored but not used for permission checks (yet)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Mon, 14 Jan 2008 18:22:53 +0000 (13:22 -0500)]
Btrfs: Remove verbose WARN_ON
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 9 Jan 2008 20:55:33 +0000 (15:55 -0500)]
Btrfs: Fix extent_buffer usage when nodesize != leafsize
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 9 Jan 2008 14:23:21 +0000 (09:23 -0500)]
Btrfs: Add flush barriers on commit
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 9 Jan 2008 11:28:28 +0000 (06:28 -0500)]
Btrfs: Remove extent_map debugging message
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Tue, 8 Jan 2008 20:54:37 +0000 (15:54 -0500)]
Btrfs: Add inode flags support
This patch adds NODATASUM & NODATACOW inode flags support.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 8 Jan 2008 20:46:31 +0000 (15:46 -0500)]
Btrfs: online shrinking fixes
While shrinking the FS, the allocation functions need to make sure
they don't try to allocate bytes past the end of the FS.
nodatacow needed an extra check to force cows when the existing extents are
past the end of the FS.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 8 Jan 2008 20:46:31 +0000 (15:46 -0500)]
Btrfs: Disable btree reada during extent backref lookups.
This reada is generally not effective.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 8 Jan 2008 20:46:30 +0000 (15:46 -0500)]
Btrfs: Add some simple throttling to wait for data=ordered and snapshot deletion
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 8 Jan 2008 20:46:30 +0000 (15:46 -0500)]
Btrfs: Move snapshot creation to commit time
It is very difficult to create a consistent snapshot of the btree when
other writers may update the btree before the commit is done.
This changes the snapshot creation to happen during the commit, while
no other updates are possible.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 8 Jan 2008 20:46:30 +0000 (15:46 -0500)]
Btrfs: Add data=ordered support
This forces file data extents down the disk along with the metadata that
references them. The current implementation is fairly simple, and just
writes out all of the dirty pages in an inode before the commit.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 8 Jan 2008 20:46:27 +0000 (15:46 -0500)]
Btrfs: Change tree block csum tagging to avoid false error messages
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 4 Jan 2008 21:47:16 +0000 (16:47 -0500)]
Btrfs: resizer: don't hold the fs_mutex for long periods of time
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 4 Jan 2008 14:34:54 +0000 (09:34 -0500)]
Properly call btrfs_search_slot while shrinking
The shrinking code used btrfs_next_leaf to find the next item, but
this does not cow the blocks it touches. This fix calls search_slot after
finding the next item to do appropriate cow and balancing.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 20:44:57 +0000 (15:44 -0500)]
Btrfs: Lower the max inline size to 8k
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 19:51:00 +0000 (14:51 -0500)]
Btrfs: Change st_blocksize to 4k
Some programs (python) do rwm cycles at the granularity returned by
stat.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Thu, 3 Jan 2008 19:14:39 +0000 (14:14 -0500)]
Btrfs: Properly handle overlapping extent in shrink_extent_tree
The patch fixes the overlapping extent issue in shrink_extent_tree.
It checks whether there is an overlapping extent by using
find_previous_extent. If there is an overlapping extent, it setups
key.objectid and cur_byte properly.
---
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Thu, 3 Jan 2008 18:56:30 +0000 (13:56 -0500)]
Btrfs: Add a helper that finds previous extent item
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 18:46:11 +0000 (13:46 -0500)]
Btrfs: Fix lock ordering of the snapshot semaphore against the page lock
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 18:23:19 +0000 (13:23 -0500)]
count_snapshots: Properly update the leaf pointer after btrfs_next_leaf
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 15:01:48 +0000 (10:01 -0500)]
Btrfs: Force inlining off in a few places to save stack usage
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 14:22:38 +0000 (09:22 -0500)]
Btrfs: 32 bit compile fixes for the resizer and enospc checks
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 14:08:48 +0000 (09:08 -0500)]
Btrfs: Reduce stack usage in the resizer, fix 32 bit compiles
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 3 Jan 2008 14:08:27 +0000 (09:08 -0500)]
Btrfs: Explicitly send a root objectid to count_snapshots_in_path
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 2 Jan 2008 15:01:11 +0000 (10:01 -0500)]
Btrfs: Add readahead to the online shrinker, and a mount -o alloc_start= for testing
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 21 Dec 2007 21:36:24 +0000 (16:36 -0500)]
Btrfs: Fix NULL block groups on reading the inode
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 21 Dec 2007 21:27:24 +0000 (16:27 -0500)]
Btrfs: Support for online FS resize (grow and shrink)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 21 Dec 2007 21:27:23 +0000 (16:27 -0500)]
Btrfs: Fix an off by one in the extent_map prepare write code
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 21 Dec 2007 21:27:21 +0000 (16:27 -0500)]
Btrfs: Implement basic support for -ENOSPC
This is intended to prevent accidentally filling the drive. A determined
user can still make things oops.
It includes some accounting of the current bytes under delayed allocation,
but this will change as things get optimized
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 21 Dec 2007 21:24:26 +0000 (16:24 -0500)]
Btrfs: Less aggressive readahead on deletes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 19 Dec 2007 14:11:48 +0000 (09:11 -0500)]
Btrfs: Fix nodatacow extent lookup
Yan Zheng noticed the offset into the extent was incorrectly being added to the
extent start before trying to find it in the extent allocation tree.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 18 Dec 2007 21:25:45 +0000 (16:25 -0500)]
Btrfs: Fix delayed allocation to avoid missing delalloc extents
find_lock_delalloc_range could exit out too early
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 18 Dec 2007 21:25:45 +0000 (16:25 -0500)]
kmalloc a few large stack objects in the btrfs_ioctl path
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 18 Dec 2007 21:15:09 +0000 (16:15 -0500)]
Btrfs: Back port to 2.6.18-el kernels
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 18 Dec 2007 01:14:04 +0000 (20:14 -0500)]
Btrfs: Add mount option to enforce a max extent size
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 18 Dec 2007 01:14:04 +0000 (20:14 -0500)]
Btrfs: Fix extent_map and extent_state leaks by flushing lrus on FS unmount
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 18 Dec 2007 01:14:01 +0000 (20:14 -0500)]
Btrfs: Add mount option to turn off data cow
A number of workloads do not require copy on write data or checksumming.
mount -o nodatasum to disable checksums and -o nodatacow to disable
both copy on write and checksumming.
In nodatacow mode, copy on write is still performed when a given extent
is under snapshot.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 14 Dec 2007 20:30:32 +0000 (15:30 -0500)]
Btrfs: Add mount -o nodatasum to turn of file data checksumming
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Fri, 14 Dec 2007 17:56:58 +0000 (12:56 -0500)]
Fixes for loopback files in btrfs
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Fri, 14 Dec 2007 16:14:42 +0000 (11:14 -0500)]
Off by one fix for btrfs_drop_extents
One of my old patches introduces a new bug to
btrfs_drop_extents(changeset 275). Inline extents are not truncated
properly when "extent_end == end", it can trigger the BUG_ON at
file.c:600. I hope I don't introduce new bug this time.
---
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 13 Dec 2007 16:13:32 +0000 (11:13 -0500)]
Btrfs: Reorder extent back refs to differentiate btree blocks from file data
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 13 Dec 2007 14:48:07 +0000 (09:48 -0500)]
Fix btrfs_inc_ref to add backref hints
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 13 Dec 2007 14:06:59 +0000 (09:06 -0500)]
Btrfs: Fix typo in .. check (thanks Yan)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 13 Dec 2007 14:06:01 +0000 (09:06 -0500)]
Btrfs: Add backrefs for symbolic link inodes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Thu, 13 Dec 2007 14:02:46 +0000 (09:02 -0500)]
Btrfs: Extra NULL block group checks in find_free_extent
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Wed, 12 Dec 2007 19:38:19 +0000 (14:38 -0500)]
Btrfs: Add back pointers from the inode to the directory that references it
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 11 Dec 2007 17:42:00 +0000 (12:42 -0500)]
Btrfs: Add lowest key information to back refs for extent tree blocks as well.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 11 Dec 2007 14:25:06 +0000 (09:25 -0500)]
Btrfs: Add back pointers from extents to the btree or file referencing them
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 11 Dec 2007 14:25:06 +0000 (09:25 -0500)]
Btrfs: Implement generation numbers in block pointers
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Christian Hesse [Tue, 11 Dec 2007 14:25:06 +0000 (09:25 -0500)]
Btrfs: section mismatch warnings
--Boundary-00=_CcOWHFYK4T+JwSj
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello everybody,
compiling btrfs into the kernel results in section mismatch warnings. __exit
functions are called where they are not allowed to. The attached patch fixes
this for me. Not sure if it is correct though.
Signed-off-by: Christian Hesse <mail@earthworm.de>
--
Regards,
Chris
--Boundary-00=_CcOWHFYK4T+JwSj
Content-Type: text/x-diff; charset="iso-8859-1";
name="btrfs-section_mismatches.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="btrfs-section_mismatches.patch"
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Yan [Tue, 4 Dec 2007 18:20:20 +0000 (13:20 -0500)]
Btrfs: Fix buffer get/release issue in create_snapshot
btrfs_cow_block expects a reference to be held on the buffer being cow'd.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Chris Mason [Tue, 4 Dec 2007 18:18:24 +0000 (13:18 -0500)]
Btrfs: Fix extent allocation for btree blocks as the disk fills
Signed-off-by: Chris Mason <chris.mason@oracle.com>