anchor.diff:                           common_prefixes=CommonPrefixes,
                            req=Request=?LOREQ{max_keys=UserMaxKeys}}) ->
       ObjectBufferLength = length(ObjectBuffer),
  -    ProfilingStateData = update_profiling_state_with_end(State,
  -                                                         os:timestamp(),
  -                                                         ObjectBufferLength),
  -    RangeUpdatedStateData = update_last_request_state(ProfilingStateData, ObjectBuffer),
  +    RangeUpdatedStateData =
  +    update_profiling_and_last_request(State, ObjectBuffer, ObjectBufferLength),
   
       FilteredObjects = exclude_key_from_state(State, ObjectBuffer),
       Manifests = [riak_cs_utils:manifests_from_riak_object(O) ||
  
positive.code:     ObjectPrefixTuple2 =
      riak_cs_list_objects_utils:filter_prefix_keys(ObjectPrefixTuple, Request),
      ReachedEnd = ObjectBufferLength < NumKeysRequested,
      Truncated = UserMaxKeys < riak_cs_list_objects_utils:manifests_and_prefix_length(ObjectPrefixTuple2) andalso
                  %% this is because (strangely) S3 returns `false' for
                  %% `isTruncted' if `max-keys=0', even if there are more keys.
                  %% The `Ceph' tests were nice to find this.
                  UserMaxKeys =/= 0,
  
      SlicedTaggedItems =
      riak_cs_list_objects_utils:manifests_and_prefix_slice(ObjectPrefixTuple2,
                                                            UserMaxKeys),
  
negative.code:                     try_reply(Error, NewStateData2)
              end
      end.
  
  -spec truncated(non_neg_integer(), {list(), ordsets:ordset()}) -> boolean().
  truncated(NumKeysRequested, ObjectsAndPrefixes) ->
      NumKeysRequested < riak_cs_list_objects_utils:manifests_and_prefix_length(ObjectsAndPrefixes) andalso
      %% this is because (strangely) S3 returns `false' for
      %% `isTruncted' if `max-keys=0', even if there are more keys.
      %% The `Ceph' tests were nice to find this.
      NumKeysRequested =/= 0.
  
  enough_results(#state{req=?LOREQ{max_keys=UserMaxKeys},
                        reached_end_of_keyspace=EndOfKeyspace,
  