mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
adding chunks to readwrite tool output
This commit is contained in:
parent
8cf9c57012
commit
1e991bc4bc
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,6 @@ def reader(bucket, worker_id, file_names, queue):
|
|||
type='r',
|
||||
bucket=bucket.name,
|
||||
key=key.name,
|
||||
#TODO chunks
|
||||
worker=worker_id,
|
||||
)
|
||||
|
||||
|
@ -62,6 +61,7 @@ def reader(bucket, worker_id, file_names, queue):
|
|||
result.update(
|
||||
start=start,
|
||||
duration=int(round(elapsed * NANOSECOND)),
|
||||
chunks=fp.chunks,
|
||||
)
|
||||
queue.put(result)
|
||||
|
||||
|
@ -103,6 +103,7 @@ def writer(bucket, worker_id, file_names, files, queue):
|
|||
result.update(
|
||||
start=start,
|
||||
duration=int(round(elapsed * NANOSECOND)),
|
||||
chunks=fp.last_chunks,
|
||||
)
|
||||
queue.put(result)
|
||||
|
||||
|
|
Loading…
Reference in a new issue