Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 95) sorted by relevance

1234

/spdk/lib/util/
H A Dpipe.c24 uint32_t write; member
95 uint32_t write; in spdk_pipe_writer_get_buffer() local
98 write = pipe->write; in spdk_pipe_writer_get_buffer()
110 if (read <= write) { in spdk_pipe_writer_get_buffer()
111 sz = spdk_min(requested_sz, pipe->sz - write); in spdk_pipe_writer_get_buffer()
113 iovs[0].iov_base = pipe->buf + write; in spdk_pipe_writer_get_buffer()
128 sz = spdk_min(requested_sz, read - write); in spdk_pipe_writer_get_buffer()
130 iovs[0].iov_base = pipe->buf + write; in spdk_pipe_writer_get_buffer()
144 uint32_t write; in spdk_pipe_writer_advance() local
147 write = pipe->write; in spdk_pipe_writer_advance()
[all …]
/spdk/test/unit/lib/util/pipe.c/
H A Dpipe_ut.c43 CU_ASSERT(pipe->write == 0); in test_write_get_buffer()
55 CU_ASSERT(pipe->write == 0); in test_write_get_buffer()
67 CU_ASSERT(pipe->write == 0); in test_write_get_buffer()
72 /* Advance the write pointer 7 bytes in. */ in test_write_get_buffer()
73 pipe->write = 7; in test_write_get_buffer()
82 CU_ASSERT(pipe->write == 7); in test_write_get_buffer()
94 CU_ASSERT(pipe->write == 7); in test_write_get_buffer()
109 CU_ASSERT(pipe->write == 7); in test_write_get_buffer()
121 CU_ASSERT(pipe->write == 7); in test_write_get_buffer()
126 /* Advance the read pointer past the write pointe in test_write_get_buffer()
[all...]
/spdk/
H A Dautorun_post.py33 f.write('<table>\n')
34 f.write(table_row.format('Total number of tests', total_tests_number))
35 f.write(table_row.format('Tests executed', executed_tests))
36 f.write(table_row.format('Number of test executions', tests_executions))
37 f.write('</table>\n')
38 f.write(pivot_by_test.to_html(None))
95 file.write(Line + '\n')
/spdk/test/unit/lib/blob/blob_bdev.c/
H A Dblob_bdev_ut.c69 bool write;
109 spdk_bdev_open_ext(const char *bdev_name, bool write, spdk_bdev_event_cb_t event_cb, in spdk_bdev_open_ext()
119 if (write && bdev->claim_module != NULL) { in spdk_bdev_open_ext()
125 desc->write = write; in spdk_bdev_open_ext()
220 CU_ASSERT(blob_bdev->desc->write); in create_bs_dev()
259 CU_ASSERT(!blob_bdev->desc->write); in create_bs_dev_ro()
288 CU_ASSERT(blob_bdev->desc->write); in create_bs_dev_rw()
316 CU_ASSERT(blob_bdev->desc->write); in claim_bs_dev()
318 /* Can get an exclusive write clai in claim_bs_dev()
68 bool write; global() member
108 spdk_bdev_open_ext(const char * bdev_name,bool write,spdk_bdev_event_cb_t event_cb,void * event_ctx,struct spdk_bdev_desc ** _desc) spdk_bdev_open_ext() argument
[all...]
/spdk/test/vhost/migration/
H A Dmigration-tc1.job12 [write]
13 rw=write
/spdk/test/ftl/config/fio/
H A Dwrite_after_write.fio12 rw=write
18 rw=write
H A Ddrive-prep.fio15 rw=write
H A Drandw-verify-qd2048-ext.fio10 [write]
/spdk/test/ocf/integrity/
H A Dtest.fio29 rw=write
30 name=write
H A Dbdevperf-iotypes.sh15 $bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w write
H A Dstats.sh13 $bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -w write -t 120 -r /var/tmp/spdk.sock &
/spdk/app/fio/nvme/
H A Dfull_bench.fio16 description="Sequentially write to the device twice"
17 rw=write
/spdk/test/vhost/initiator/
H A Dbdev.fio27 rw=write
28 name=write
/spdk/scripts/perf/nvme/
H A Drun_fio_test.py112 result_file.write(results + "\n")
131 conf_file.write(filestring + "\n")
152 conf_file.write("numjobs=" + str(1) + "\n")
164 result_file.write(columns + "\n")
/spdk/module/bdev/raid/
H A Draid5f.c63 } write; member
123 TAILQ_HEAD(, stripe_request) write;
183 TAILQ_INSERT_HEAD(&stripe_req->r5ch->free_stripe_requests.write, stripe_req, link); in raid5f_stripe_request_release()
579 stripe_req->parity_chunk->iovs[0].iov_base = stripe_req->write.parity_buf; in raid5f_stripe_request_map_iovecs()
582 stripe_req->parity_chunk->md_buf = stripe_req->write.parity_md_buf; in raid5f_stripe_request_map_iovecs()
632 stripe_req = TAILQ_FIRST(&r5ch->free_stripe_requests.write); in raid5f_submit_write_request()
644 TAILQ_REMOVE(&r5ch->free_stripe_requests.write, stripe_req, link); in raid5f_submit_write_request()
844 spdk_dma_free(stripe_req->write.parity_buf); in raid5f_stripe_request_free()
845 spdk_dma_free(stripe_req->write.parity_md_buf); in raid5f_stripe_request_free()
905 stripe_req->write.parity_buf = spdk_dma_malloc(chunk_len, r5f_info->buf_alignment, NULL); in raid5f_stripe_request_alloc()
[all …]
/spdk/doc/
H A Dbdev_module.md15 will want to write their own to interact with either custom hardware or to an
17 how to write a module.
52 * communication with a backend. The main commands are read/write API
71 * The JSON write context will be initialized with an open object, so the bdev
72 * driver should write a name (based on the driver name) followed by a JSON value
115 write, but does not provide a data buffer (it would have just contained all
117 by sending regular write requests.
171 the bdev descriptor is promoted to read-write.
180 descriptor is passed, it is promoted to read-write. NULL may be passed instead
H A Dcompression.md74 additional write operations under a worst-case compression scenario.
148 * The write is not for the entire 16KB chunk, so we must allocate a 16KB chunk-sized buffer for
188 do a read-modify-write.
231 Example: 20KB write at offset 4KB
233 In this case, the write operation is split into a 12KB write at offset 4KB (affecting only
234 chunk 0 in the logical map) and a 8KB write at offset 16KB (affecting only chunk 1 in the
235 logical map). Each write is processed independently using the algorithm described above.
236 Completion of the 20KB write does not occur until both operations have completed.
254 Write zeroes operations are handled similarly to unmap operations. If a write zeroes
269 This ensures that if a system crashes in the middle of a write operation - i.e. during or
[all …]
/spdk/scripts/perf/nvmf/
H A Dcommon.py59 write_iops = float(job_data["write"]["iops"])
60 write_bw = float(job_data["write"]["bw"])
61 lat_key, lat_unit = get_lat_unit("lat", job_data["write"])
62 write_avg_lat = float(job_data["write"][lat_key]["mean"])
63 write_min_lat = float(job_data["write"][lat_key]["min"])
64 write_max_lat = float(job_data["write"][lat_key]["max"])
65 clat_key, clat_unit = get_lat_unit("clat", job_data["write"])
67 job_data["write"][clat_key])
125 elif "write" in job_name:
183 fh.write(header_lin
[all...]
/spdk/test/nvmf/target/
H A Dfio.sh50 $rootdir/scripts/fio-wrapper -p nvmf -i 4096 -d 1 -t write -r 1 -v
52 $rootdir/scripts/fio-wrapper -p nvmf -i 4096 -d 128 -t write -r 1 -v
/spdk/test/nvme/
H A Dnvme.sh23 $SPDK_BIN_DIR/spdk_nvme_perf -q 128 -w write -o 12288 -t 1 -LL -i 0
84 run_test "nvme_reset" $testdir/reset/reset -q 64 -w write -o 4096 -t 5
/spdk/lib/ftl/
H A Dftl_debug.c203 write_user = dev->stats.entries[FTL_STATS_TYPE_CMP].write.blocks; in ftl_dev_dump_stats()
205 dev->stats.entries[FTL_STATS_TYPE_GC].write.blocks + in ftl_dev_dump_stats()
206 dev->stats.entries[FTL_STATS_TYPE_MD_BASE].write.blocks; in ftl_dev_dump_stats()
/spdk/module/blob/bdev/
H A Dblob_bdev.c21 bool write; member
346 claim_type = blob_bdev->write ? SPDK_BDEV_CLAIM_READ_MANY_WRITE_ONE :
502 b->bs_dev.write = bdev_blob_write; in blob_bdev_init()
528 spdk_bdev_create_bs_dev(const char *bdev_name, bool write, in spdk_bdev_create_bs_dev()
551 rc = spdk_bdev_open_ext(bdev_name, write, event_cb, event_ctx, &desc); in spdk_bdev_create_bs_dev()
560 b->write = write; in spdk_bdev_create_bs_dev_ext()
517 spdk_bdev_create_bs_dev(const char * bdev_name,bool write,struct spdk_bdev_bs_dev_opts * opts,size_t opts_size,spdk_bdev_event_cb_t event_cb,void * event_ctx,struct spdk_bs_dev ** bs_dev) spdk_bdev_create_bs_dev() argument
/spdk/module/bdev/ftl/
H A Dbdev_ftl_rpc.c263 spdk_json_write_named_object_begin(w, "write"); in _rpc_bdev_ftl_get_stats()
264 spdk_json_write_named_uint64(w, "ios", stats->entries[i].write.ios); in _rpc_bdev_ftl_get_stats()
265 spdk_json_write_named_uint64(w, "blocks", stats->entries[i].write.blocks); in _rpc_bdev_ftl_get_stats()
267 spdk_json_write_named_uint64(w, "media", stats->entries[i].write.errors.media); in _rpc_bdev_ftl_get_stats()
268 spdk_json_write_named_uint64(w, "other", stats->entries[i].write.errors.other); in _rpc_bdev_ftl_get_stats()
/spdk/proto/
H A Dsma.proto133 // Read/write kIOPS
139 // Read/write bandwidth (MB/s)
174 // Read/write IOPS
180 // Read/write bandwidth
/spdk/test/vhost/windows/
H A Dwindows_scsi_compliance.py85 fh.write(line)
136 fh.write(html)

1234