Revision tags: v25.01-rc1 |
|
#
b37db069 |
| 03-Dec-2024 |
XuQi <1530865185@qq.com> |
replace strtok with strtok_r
The strtok function is not reentrant. To address this issue in a multithreaded environment, the strtok_r function should be used, which is the reentrant version of strto
replace strtok with strtok_r
The strtok function is not reentrant. To address this issue in a multithreaded environment, the strtok_r function should be used, which is the reentrant version of strtok.
Signed-off-by: XuQi <1530865185@qq.com> Change-Id: I35c07c7cf4e20bacb7b1e7c7adaedfcd1a81f86e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25492 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeliu@tencent.com> Reviewed-by: Jim Harris <jim.harris@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot
show more ...
|
#
3299bf6d |
| 23-Oct-2024 |
Jim Harris <jim.harris@samsung.com> |
blob: remove all references to pages as io_units
When blobstore was first created, everything was in terms of 4KB pages - this included metadata page size and the unit for I/O operations.
A bit lat
blob: remove all references to pages as io_units
When blobstore was first created, everything was in terms of 4KB pages - this included metadata page size and the unit for I/O operations.
A bit later, we introduced concept of "io_unit". If a blobstore was put on a bdev with 512 blocksize, then the io_unit could be 512 bytes.
But when this happened, we should have changed all of the blobstore code such that remaining "page" references only referred to metadata pages. Instead, we left a bunch of places where we would convert various values to/from a number of 4KB pages, and then to the number of io_units. This made the code quite confusing, since direct conversion to/from io_units would have been much clearer.
This existing problem was exacerbated with the upcoming patch to support variable metadata page sizes. We need things like spdk_bs_get_page_size() to return the size of the metadata pages, which may not be 4KB.
So make all of the changes necessary such that all references to "page" now means "metadata page". This includes removing the spdk_blob_get_num_pages() function, which no longer makes sense.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I66e93e7a4325a3b032bb16edaf657ef12044e1fd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25368 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
Revision tags: v24.09, v25.01-pre, v24.09-rc1, v24.05, v24.09-pre, v24.05-rc1 |
|
#
5db859da |
| 04-Apr-2024 |
Krzysztof Karas <krzysztof.karas@intel.com> |
apps: set NULL as RPC address in some apps
Set opts.rpc_addr to NULL in SPDK applications that usually do not benefit from starting RPC interface. These include programs in app, examples and test di
apps: set NULL as RPC address in some apps
Set opts.rpc_addr to NULL in SPDK applications that usually do not benefit from starting RPC interface. These include programs in app, examples and test directories.
Some of the tests now require that we explicitly set RPC address, because some apps no longer use the default SPDK address.
Change-Id: I417a3a756581f44c711257e6d2408d933b40386a Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22634 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1, v23.05, v23.09-pre, v23.01.1, v23.01, v23.05-pre, v23.01-rc1, v22.01.2 |
|
#
a6dbe372 |
| 01-Nov-2022 |
paul luse <paul.e.luse@intel.com> |
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date defa
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date default <file> | tail -1
and then pull just the 4 digit year from the result.
Intel copyrights were not added to files where Intel either had no contribution ot the contribution lacked substance (ie license header updates, formatting changes, etc). Contribution date used "--follow -C95%" to get the most accurate date.
Note that several files in this patch didn't end the license/(c) block with a blank comment line so these were added as the vast majority of files do have this last blank line. Simply there for consistency.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Id5b7ce4f658fe87132f14139ead58d6e285c04d4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15192 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v22.09, v23.01-pre, v22.09-rc1 |
|
#
488570eb |
| 03-Jun-2022 |
Jim Harris <james.r.harris@intel.com> |
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in every source file. This patch replaces the bulk of SPDK .c, .cpp and Makefiles with the BSD-3-Clause identifier.
Almost all of these files share the exact same license text, and this patch only modifies the files that contain the most common license text. There can be slight variations because the third clause contains company names - most say "Intel Corporation", but there are instances for Nvidia, Samsung, Eideticom and even "the copyright holder".
Used a bash script to automate replacement of the license text with SPDX identifier which is checked into scripts/spdx.sh.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iaa88ab5e92ea471691dc298cfe41ebfb5d169780 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12904 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: <qun.wan@intel.com>
show more ...
|
Revision tags: v22.05, v22.09-pre, v22.05-rc1, v22.01.1 |
|
#
1906b075 |
| 01-Apr-2022 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
blobcli: Use spdk_for_each_bdev() for bdev list traversal
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ib7ea70c7046241dd6b09f44cb9a3e7ce8496d5c9 Reviewed-on: https://review.spd
blobcli: Use spdk_for_each_bdev() for bdev list traversal
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ib7ea70c7046241dd6b09f44cb9a3e7ce8496d5c9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12140 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
#
f45c98dd |
| 02-Mar-2022 |
Jim Harris <james.r.harris@intel.com> |
blobcli: use spdk_thread_send_msg when dumping blob
For thin provisioned blobs, an IO read to an unallocated cluster completes inline, meaning that if the read completion function issues another rea
blobcli: use spdk_thread_send_msg when dumping blob
For thin provisioned blobs, an IO read to an unallocated cluster completes inline, meaning that if the read completion function issues another read, we can quickly blow the stack. So use spdk_thread_send_msg() to issue the next read operation.
Fixes #2405.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I10a40b83bfc25fa6bbd8bc93b6fea36ac8ee83c6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11784 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v22.01, v22.01-rc1 |
|
#
ab2aad85 |
| 17-Nov-2021 |
Mike Gerdts <mgerdts@nvidia.com> |
blobcli: include bdev name in error message
When multiple bdevs are accessible by blobcli, it may be helpful to know which bdev is giving the "Unsupported bdev event" error message.
Signed-off-by:
blobcli: include bdev name in error message
When multiple bdevs are accessible by blobcli, it may be helpful to know which bdev is giving the "Unsupported bdev event" error message.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic55eacad13336366de3d6eac8bde932decbb2732 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11255 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
3453391b |
| 18-Nov-2021 |
Mike Gerdts <mgerdts@nvidia.com> |
blobcli: support for deleting blobs
Add a new option, -w for "whack", to delete a blob.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic7650d9cb6d2aa1cdfa020ad6389c497a481409c Reviewed
blobcli: support for deleting blobs
Add a new option, -w for "whack", to delete a blob.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic7650d9cb6d2aa1cdfa020ad6389c497a481409c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11254 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
ff4fd58b |
| 28-Jan-2022 |
Mike Gerdts <mgerdts@nvidia.com> |
blobcli: add forced recovery via blobcli
In the event that the blobstore superblock is marked clean but there are indications that it wasn't, `blobcli -R` may be used to force blobstore recovery.
S
blobcli: add forced recovery via blobcli
In the event that the blobstore superblock is marked clean but there are indications that it wasn't, `blobcli -R` may be used to force blobstore recovery.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ibc631b6dc0576f81fa1e0b71bd0c18244823e4c4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11353 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
show more ...
|
#
d14c3bfb |
| 18-Dec-2021 |
Mike Gerdts <mgerdts@nvidia.com> |
blobcli: list help options in consistent order
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I38375670125129d0b728077eb4f7a11b23a9f3bb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/
blobcli: list help options in consistent order
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I38375670125129d0b728077eb4f7a11b23a9f3bb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11250 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
643385ea |
| 18-Nov-2021 |
Mike Gerdts <mgerdts@nvidia.com> |
blobcli: uuid xattrs should be printed as strings
At the time of commit d1d22046df, xattr UUIDs were stored as strings, not as `struct spdk_uuid`. That continues to be true today. As such, bs_dump_x
blobcli: uuid xattrs should be printed as strings
At the time of commit d1d22046df, xattr UUIDs were stored as strings, not as `struct spdk_uuid`. That continues to be true today. As such, bs_dump_xattr should be treating UUID XATTR values as strings rather than as `struct spdk_uuid`.
This fix does verify that the UUID string is a well-formed UUID before printing it. If it is not well-formed, "? Invalid UUID" is printed along with the raw bytes.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I5b574c1c2c4b4802aae3ba23d32ef58fb6fa7586 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11249 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
8389b65a |
| 18-Nov-2021 |
Mike Gerdts <mgerdts@nvidia.com> |
blobcli: do not read from an zero-length blob
Not all blobs have data: an lvstore's super blob is a common example. Perform a size check prior to trying to dump the blob's contents.
Signed-off-by:
blobcli: do not read from an zero-length blob
Not all blobs have data: an lvstore's super blob is a common example. Perform a size check prior to trying to dump the blob's contents.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic5bc1b11cdda72a36c6a3f4b4de0fd6f1a2948c6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11246 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
76a577b0 |
| 17-Nov-2021 |
Mike Gerdts <mgerdts@nvidia.com> |
blob: blobcli should use hex for blob IDs
Blob IDs are sequentially assigned starting at 0x100000000. When debugging with a small number of blob IDs, it is much more intuitive to see blob ID 0x10000
blob: blobcli should use hex for blob IDs
Blob IDs are sequentially assigned starting at 0x100000000. When debugging with a small number of blob IDs, it is much more intuitive to see blob ID 0x100000000 rather than blob ID 4294967296. If blob IDs are displayed in hex, the things that parse commands should also accept hex to facilitate copy and paste.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic71eaaf1987609b4f705d372ced4240650b12684 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11245 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot
show more ...
|
#
df5ad409 |
| 07-Dec-2021 |
wanghailiangx <hailiangx.e.wang@intel.com> |
examples/blobcli: remove a redundant error prompt
The details are as follows: ./build/examples/blobcli -h Error: -b option is required. (When we input '-h', this is a redundant error prompt) ......
examples/blobcli: remove a redundant error prompt
The details are as follows: ./build/examples/blobcli -h Error: -b option is required. (When we input '-h', this is a redundant error prompt) ...... Commands include: -b bdev - name of the block device to use (example: Nvme0n1) -d <blobid> filename - dump contents of a blob to a file -D - dump metadata contents of an existing blobstore -f <blobid> value - fill a blob with a decimal value -h - this help screen -i - initialize a blobstore ......
Change-Id: Ieccbcc56b02b10504170fb2e60090c25dc0d4b53 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10581 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
show more ...
|
#
b7876f9a |
| 25-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
spelling: examples
Part of #2256
* asymmetric * bookkeeping * current * errors * execution * initialize * initing * management * occurred * operations * prepping * purposes * similar * syncing * te
spelling: examples
Part of #2256
* asymmetric * bookkeeping * current * errors * execution * initialize * initing * management * occurred * operations * prepping * purposes * similar * syncing * terminate
Change-Id: I7336d98c1327020ab83c9e01e6bf1e4f5f7b5d7d Signed-off-by: Josh Soref <jsoref@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10403 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v21.10, v21.10-rc1, v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1 |
|
#
48701bd9 |
| 30-Nov-2020 |
Ziye Yang <ziye.yang@intel.com> |
lib/event: support ABI compatibility for spdk_app_opts.
This patch is used to support ABI compatability issue for spdk_app_opts.
Fixes #1484
Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-I
lib/event: support ABI compatibility for spdk_app_opts.
This patch is used to support ABI compatability issue for spdk_app_opts.
Fixes #1484
Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I6fed777fa15b367f7c3706b8f218d86d56493906 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5330 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com>
show more ...
|
Revision tags: v20.10, v20.10-rc1 |
|
#
8c3e71f0 |
| 21-Oct-2020 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
script/gen_nvme: do not generate legacy configuration
gen_nvme.sh will no longer generate the legacy configuration. "--json" option will still work for any current users of the script.
Tests were m
script/gen_nvme: do not generate legacy configuration
gen_nvme.sh will no longer generate the legacy configuration. "--json" option will still work for any current users of the script.
Tests were modified to no longer use the "--json" option. Meanwhile others were simplified with switch to "--json-with-subsystems".
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I8450be98660e54c64c27d8401fc40d649f9403ea Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4802 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
show more ...
|
#
c8658397 |
| 14-Oct-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
examples/blob_cli: Use spdk_bdev_create_bs_dev_ext() to pass bdev_name
Update a few print outputs to out not product name but bdev name because bdev pointer is not available there after replacing sp
examples/blob_cli: Use spdk_bdev_create_bs_dev_ext() to pass bdev_name
Update a few print outputs to out not product name but bdev name because bdev pointer is not available there after replacing spdk_bdev_get_by_name() and spdk_bdev_open() by spdk_bdev_open_ext().
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I624fea3a0a12c1049e950bddae8cea9f88b16db5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4702 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v20.07, v20.07-rc1 |
|
#
6a41e84c |
| 15-Jun-2020 |
WANGHAILIANG <hailiangx.e.wang@intel.com> |
test/blobfs: Drop .ini config in favor of json
Change-Id: I2a4db21149698e06389b280c875658a6a0d69e9b Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerri
test/blobfs: Drop .ini config in favor of json
Change-Id: I2a4db21149698e06389b280c875658a6a0d69e9b Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2894 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v20.04.1, v20.01.2, v20.04, v20.04-rc1 |
|
#
13d6d003 |
| 08-Apr-2020 |
Richael Zhuang <richael.zhuang@arm.com> |
examples/blob: skip '\0' when dump xattr's value
In show_blob(), value_len of xattr contains terminator '\0', which is printed as '.' when calling spdk_log_dump(). For example, we set key/value pair
examples/blob: skip '\0' when dump xattr's value
In show_blob(), value_len of xattr contains terminator '\0', which is printed as '.' when calling spdk_log_dump(). For example, we set key/value pair as <key1,xattr value>, we get "xattr value." but not "xattr value" when showing blob info. Skip '\0' will fix this.
And "data[BUFSIZE]" seems redundant here, remove it.
Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Change-Id: I4e7c3276e51f14badf43b660b80b24ae85bb0900 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1745 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v20.01.1, v20.01, v20.01-rc1, v19.10.1, v19.10, v19.10-rc1, v19.07.1, v19.07, v19.04.1, v19.04 |
|
#
27a23a33 |
| 01-Apr-2019 |
Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
blobfs: switch to spdk_*malloc()
spdk_dma_*malloc() is about to be deprecated.
Change-Id: Ib9fb94463a69ffd9660ab2c7fbe02826a7e06741 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Revi
blobfs: switch to spdk_*malloc()
spdk_dma_*malloc() is about to be deprecated.
Change-Id: Ib9fb94463a69ffd9660ab2c7fbe02826a7e06741 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449796 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
Revision tags: v18.10.2, v19.01.1 |
|
#
deb8ee5c |
| 04-Mar-2019 |
Ben Walker <benjamin.walker@intel.com> |
event: spdk_app_start now takes spdk_msg_fn
This callback type takes 1 argument instead of 2.
Change-Id: Ic3710fafb2828f08fc064f7658849b3d20521092 Signed-off-by: Ben Walker <benjamin.walker@intel.c
event: spdk_app_start now takes spdk_msg_fn
This callback type takes 1 argument instead of 2.
Change-Id: Ic3710fafb2828f08fc064f7658849b3d20521092 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446997 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
#
36287957 |
| 28-Feb-2019 |
Ben Walker <benjamin.walker@intel.com> |
event: Remove arg2 from spdk_app_start()
We never used this anywhere, and I need to move to a model where the start up action is a thread message instead
Change-Id: I6b21ba9afb93a3245aceca2fe24713f
event: Remove arg2 from spdk_app_start()
We never used this anywhere, and I need to move to a model where the start up action is a thread message instead
Change-Id: I6b21ba9afb93a3245aceca2fe24713ffd16d0933 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446986 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v19.01 |
|
#
2fd7a8a2 |
| 29-Jan-2019 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
examples/blob: Replace atoll by spdk_strtoll
atoll also doesn't have error check. Hence replace atoll by spdk_strtoll.
Drop in replacement of atoll by spdk_strtoll doesn't have error check but curr
examples/blob: Replace atoll by spdk_strtoll
atoll also doesn't have error check. Hence replace atoll by spdk_strtoll.
Drop in replacement of atoll by spdk_strtoll doesn't have error check but current use cases of atoll are for ID and spdk_strtoll returns explicit error code instead of zero. Hence this change is better than nothing and will make possible for SPDK to ban not only atoi but also atol and atoll.
Future patches may add additional error check if necessary.
Change-Id: I047e89bc9053d9f19831711da032be99cdecfaa7 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/442493 Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|