#
99768086 |
|
29-Aug-2017 |
hyche <cvghy116@gmail.com> |
BTRFS: Add author and license. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
3216460d |
|
12-Aug-2017 |
hyche <cvghy116@gmail.com> |
BTRFS: Implement BTree::Path and change _Find. Remove attribute fCurrentSlot in BTree::Node as it will be handled by Path explicitly. BTree control Path by passing its type in BTree's method, Path also hold BTree type as its attribute to do some internal actions. Add constant BTREE_KEY_TYPE_ANY, find search key has this type will success regardless of the found key's type. Split the the _Find function into Traverse and GetEntry. Traverse will fill in the Path (nodes and slots) along way its finding, GetEntry will get the item data, item size, key from leaf, if the slot is valid, that we have from Traverse. The _Find function also check type if is correct and then retrieve. Doing this way there will be more flexible, the "read" flag is not needed as we only need Path to manipulate tree, and it also enhance the performance at some points, because Path caches all the nodes from root to leaf, so that we don't have to block_cache_put and block_cache_get after each finding. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
16de9db5 |
|
12-Aug-2017 |
hyche <cvghy116@gmail.com> |
BTRFS: Fix mismatched type of item size (should be uint32), and ObjectID of first subvolume when lookup directory (described in commit bd2dab1) Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
299aba38 |
|
09-Jun-2017 |
hyche <cvghy116@gmail.com> |
BTRFS: code cleanups * Removed struct keyword for declaring variable. * Renamed BPlusTree to BTree because BtrFS use a variant of BTree not B+Tree. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
b24d4c8a |
|
18-May-2017 |
hyche <cvghy116@gmail.com> |
Fixed: Code style (again) * Pointer/Reference should be next to type * else if -> if * Remove trailing spaces Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
bf5d0ce3 |
|
19-May-2017 |
hyche <cvghy116@gmail.com> |
btrfs_shell for testing btrfs code. * Adding Jamfile in src/tools/btrfs_shell and include the subdir in src/tools/Jamfile * Adding system_dependencies.h in btrfs source to include all the system headers * fs_shell wrapping for btrfs source. If FS_SHELL is defined, compile with fs_shell headers instead. * Change macro BTRFS_SHELL to FS_SHELL * Adding btrfs_std_ops function: fs_shell now can recognize and load module
|
#
8864a6cb |
|
18-May-2017 |
hyche <cvghy116@gmail.com> |
btrfs: Code style * Using tab instead of spaces * Pointer/Reference should be next to type * etc
|
#
267a780a |
|
06-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
btrfs: fixes 64 bit warnings
|
#
1cc2cf28 |
|
22-Feb-2011 |
Jérôme Duval <korli@users.berlios.de> |
Switched attribute type to B_XATTR_TYPE, as recommended by Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
956f541d |
|
31-Jan-2011 |
Jérôme Duval <korli@users.berlios.de> |
added read only attribute support for btrfs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
267a780ab5ba7e7774dc6b4a6d391ab3cfbb9f78 |
|
06-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
btrfs: fixes 64 bit warnings
|
#
1cc2cf286c4b211781d9931bae45443f1b1fac6e |
|
22-Feb-2011 |
Jérôme Duval <korli@users.berlios.de> |
Switched attribute type to B_XATTR_TYPE, as recommended by Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
956f541d967013c2be8563b7b1ee9af79eb50532 |
|
31-Jan-2011 |
Jérôme Duval <korli@users.berlios.de> |
added read only attribute support for btrfs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|