Justus Winter, le Wed 30 Apr 2014 11:06:02 +0200, a écrit :
> Currently, diskfs_node_iterate iterates twice over all nodes. The
> first time only to determine the number of nodes. Simply count them
> instead.
Ack.
> * tmpfs/node.c (all_nodes_nr_items): New variable.
> (diskfs_free_node): Decrem
Currently, diskfs_node_iterate iterates twice over all nodes. The
first time only to determine the number of nodes. Simply count them
instead.
* tmpfs/node.c (all_nodes_nr_items): New variable.
(diskfs_free_node): Decrement all_nodes_nr_items.
(diskfs_node_norefs): Likewise.
(diskfs_cached_looku