# File lib/storage/cache.rb, line 339
  def makeswap(oid)
    return nil if oid.nil?
    @st.inc(:cache_swap)
    hv = hash(oid)

    @cache[hv].each do |ce|
      next if ce.oid != oid
      ce.swap!
      return
    end

    # This would indicate we've tried marking it swap before we did a put.

    # A logic error

    @st.inc(:cache_swap_misses)
    log.debug "Marking object swappable before put - #{oid}"
  end