#
99768086 |
|
29-Aug-2017 |
hyche <cvghy116@gmail.com> |
BTRFS: Add author and license. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
bfd7a4fb |
|
12-Aug-2017 |
hyche <cvghy116@gmail.com> |
BTRFS: Reimplement TreeIterator, add some error checks and remove redundancies. Add BTree::Path as a attribute so enhance performance, so that everytime we iterate through items it wont search all the root to leaf again. The Iterator is initialized without rewinding to make more flexible. 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
|
#
795f13d6 |
|
02-May-2013 |
Jerome Duval <jerome.duval@gmail.com> |
btrfs: Return more than a single dirent at a time in btrfs_read_dir(). * similar to what mmlr did in hrev45575 for bfs.
|
#
6f4c36e2 |
|
24-Jan-2011 |
Jérôme Duval <korli@users.berlios.de> |
* Implemented a read-only btrfs file system, tested with a 400MB image. * Inline extent data isn't read with the file_cache yet as the data is not block aligned. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40282 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
267a780ab5ba7e7774dc6b4a6d391ab3cfbb9f78 |
|
06-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
btrfs: fixes 64 bit warnings
|
#
795f13d6f2ef70799c89ae999e2b4ea9c170faed |
|
02-May-2013 |
Jerome Duval <jerome.duval@gmail.com> |
btrfs: Return more than a single dirent at a time in btrfs_read_dir(). * similar to what mmlr did in hrev45575 for bfs.
|
#
6f4c36e2979b9684a65e6d73b872d4628f3e452a |
|
24-Jan-2011 |
Jérôme Duval <korli@users.berlios.de> |
* Implemented a read-only btrfs file system, tested with a 400MB image. * Inline extent data isn't read with the file_cache yet as the data is not block aligned. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40282 a95241bf-73f2-0310-859d-f6bbb57e9c96
|