old clydefs branch lost. Intermediary log lost. First commit back in main tree
swapped two checks. Always acquire write lock before checking the state of the node
omitted some files required to actually compile the modules in previous commits. This has now been rectified
minor cleanup in patch_parents_children_entries commenced
revamped path_parents_children_entries stopped. Slightly better, doesn't wrongfully give the impression that node_left and node_right may be inserted into two different nodes when that is impossible. (though the operation MAY trigger a split)
begun stubbing out some of the IO commands expected to form the bridge to the device. Will need to refine these and expand AoE driver to branch on new custom commands most likely carried via bi_private in the bio.
Added code to detect and support the tree interface on new incoming requests. TODO-- handle responses and retransmissions (basically everything that goes through probe() )
preparing to handle incoming AOECMD_READNODE packets
fixed remove tree prototype
added a read function to the interface
changed to support a larger data header struct supporting both ATA and TREE commands (ata commands worked testing w. hdparm -i/-tT)
Documented several functions. Renamed other functions to no longer be ATA-specific. Branched ata_rw_frameinit out such that the new data_rw_frameinit function will do the work common to initialising the aoe header for both ATA- and TREE-commands. Finally, data_rw_frameinit will call either __tree_rw_frameinit or __ata_rw_frameinit to do initialisation work specific to the TREE or ATA request. The rest of the IO path needs to branch on the AoE cmd field and act appropriately to serve TREE commands in addition to ATA commands, this is the next step.
outline of aoetest module for issuing TREE and possibly ATA test commands via sysfs interface
since some parts of the block layer actually uses bi_private, I made a new field, bi_treecmd to keep my reference value safe
changed AoE driver to use new bi_treecmd field instead, removed the magic identifier from the tree_iface_data struct as bi_treecmd being non-NULL should entail the bio being a tree cmd
first attempt at submitting a tree bio, will use to drive the changes needed to underlying AoE driver
fixing a comment
first somewhat working aoetest module which actually sends a createTree command
Merged code into one branch in preparation for increased integration work.
Merge branch 'clydefs' into clyde
made tree id's 64bit