anchor.diff:  %% gen_fsm callbacks
   -export([init/1,
            prepare/2,
  +         prepare/3,
            waiting_value/3,
  -         waiting_metadata_request/3,
            waiting_continue_or_stop/2,
            waiting_chunks/2,
            waiting_chunks/3,
  
positive.code: -spec block_sorter({pos_integer(), term()}, {pos_integer(), term()}) -> boolean().
  block_sorter({A, _}, {B, _}) ->
      A < B.
  
  -spec read_blocks(binary(), binary(), binary(), [pid()], pos_integer(), pos_integer()) ->
                           {pos_integer(), [pid()]}.
  
negative.code:     {stop, badmsg, StateData}.
  
  %% @private
  terminate(_Reason, _StateName, #state{test=false,
                                        all_reader_pids=BlockServerPids,
                                        mani_fsm_pid=ManiPid}) ->
  
      riak_moss_manifest_fsm:stop(ManiPid),
      [riak_moss_block_server:stop(P) || P <- BlockServerPids],
      ok;
  