Zheng Yan 5b21f2ed3f Btrfs: extent_map and data=ordered fixes for space balancing
* Add an EXTENT_BOUNDARY state bit to keep the writepage code
from merging data extents that are in the process of being
relocated.  This allows us to do accounting for them properly.

* The balancing code relocates data extents indepdent of the underlying
inode.  The extent_map code was modified to properly account for
things moving around (invalidating extent_map caches in the inode).

* Don't take the drop_mutex in the create_subvol ioctl.  It isn't
required.

* Fix walking of the ordered extent list to avoid races with sys_unlink

* Change the lock ordering rules.  Transaction start goes outside
the drop_mutex.  This allows btrfs_commit_transaction to directly
drop the relocation trees.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-26 10:05:38 -04:00
..
2008-09-25 11:04:07 -04:00
2007-07-11 10:00:37 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:04:07 -04:00
2007-06-12 09:07:21 -04:00
2008-09-26 10:04:53 -04:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:06 -04:00
2008-09-25 11:04:06 -04:00
2007-06-22 14:49:31 -04:00
2008-09-25 11:04:03 -04:00
2008-09-26 10:04:53 -04:00
2008-09-26 10:04:53 -04:00
2008-09-25 11:04:00 -04:00
2007-06-12 09:07:21 -04:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:06 -04:00
2008-09-25 11:04:07 -04:00
2008-09-25 11:04:07 -04:00