Revision tags: v24.05, v24.09-pre, v24.05-rc1 |
|
#
c6480ea7 |
| 09-Feb-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
json: allow decoding arrays to a single buffer
Sometimes, it might be useful to decode a JSON array, but store the result in a single place. For instance, one might want to decode a set of flags pa
json: allow decoding arrays to a single buffer
Sometimes, it might be useful to decode a JSON array, but store the result in a single place. For instance, one might want to decode a set of flags passed as an array of strings and store them in a single uint64_t, e.g.:
static int decode_flag(const struct spdk_json_val *val, void *out) { uint64_t *flags = out; char *flag = NULL; int rc = 0;
spdk_json_decode_string(val, &flag); if (strcmp(flag, "foo") == 0) { *flags |= FLAG_FOO; } else if (strcmp(flag, "bar") == 0) { *flags |= FLAG_BAR; } else { rc = -1; }
free(flag); return rc; }
uint64_t flags = 0;
spdk_json_decode_array(j, decode_flag, &flags, UINT32_MAX, &count, 0);
With this patch, it's possible to do this by passing stride=0 to spdk_json_decode_array().
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I27b30dec85d3ccef5df1a307798d79b074768a99 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22020 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: LTS, v24.01, v24.05-pre, v24.01-rc1 |
|
#
75b68561 |
| 07-Nov-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
json: return -1 on spdk_json_decode_uuid() failure
It makes it consistent with the other spdk_json_decode*() functions, as they return -1, not errnos.
Signed-off-by: Konrad Sztyber <konrad.sztyber@
json: return -1 on spdk_json_decode_uuid() failure
It makes it consistent with the other spdk_json_decode*() functions, as they return -1, not errnos.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I6579a0a7e77ff831742cb2f4c651f2c42d7268c1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20532 Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
#
3e449a54 |
| 26-Oct-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
json: add spdk_json_decode_uuid()
Similarly to spdk_json_write_uuid(), there are lots of places where we need to decode a JSON string to spdk_uuid and each of them has to decode and parse the string
json: add spdk_json_decode_uuid()
Similarly to spdk_json_write_uuid(), there are lots of places where we need to decode a JSON string to spdk_uuid and each of them has to decode and parse the string.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ia1e1b5e28b29b741295c318b642f533808f94296 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20474 Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: 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 |
|
#
bb432b4e |
| 29-Aug-2022 |
tongkunkun <tongkunkun_yewu@cmss.chinamobile.com> |
json: fix parsing json problems when json config is invalid.
Add parsing json as invalid cases: 1.json content that not enclosed in {}, it should be parsed as invalid, e.g.
"abc":"not encloesed in
json: fix parsing json problems when json config is invalid.
Add parsing json as invalid cases: 1.json content that not enclosed in {}, it should be parsed as invalid, e.g.
"abc":"not encloesed in {}"
2.json content that 'subsystems' not associate with array, it will report error and return failure, e.g.
{"subsystems":"123"}
3.handle other invalid json formats, report and return failure, e.g. duplicate keys.
Added `spdk_json_find` API return errcode: EPROTOTYPE - json not enclosed in {}.
json config with content: 1."not enclosed in {}" 2."'subsystems' not be an array" 3."duplicate key in json" and some other invaild cases will be regarded as invalid json config, and will fail to start app.
Fixes #2599
Signed-off-by: tongkunkun <tongkunkun_yewu@cmss.chinamobile.com> Change-Id: I02574c9acd7671e336d4c589ebbff8ed21eb3681 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13754 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
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, v22.01, v22.01-rc1, v21.10, v21.10-rc1 |
|
#
a827fd7e |
| 07-Oct-2021 |
Jacek Kalwas <jacek.kalwas@intel.com> |
json: Added support for 8 bit unsigned value converter in json
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Id670be974f5d07f5292d338448cb0ada9510b105 Reviewed-on: https://review.s
json: Added support for 8 bit unsigned value converter in json
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Id670be974f5d07f5292d338448cb0ada9510b105 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9787 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: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
Revision tags: v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1, v20.10, v20.10-rc1, v20.07, v20.07-rc1 |
|
#
c77c6559 |
| 03-Jun-2020 |
Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
json: add spdk_json_free_object()
After decoding a JSON object we had to free the parsed strings one-by-one. Not anymore.
Change-Id: I819f1d533e397aa9babca58b5500c38ac01a963d Signed-off-by: Darek S
json: add spdk_json_free_object()
After decoding a JSON object we had to free the parsed strings one-by-one. Not anymore.
Change-Id: I819f1d533e397aa9babca58b5500c38ac01a963d Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2753 Reviewed-by: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
4e8e97c8 |
| 06-Oct-2020 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
log: remove internal log.h header
There is nothing left here, so remove it.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ib947d42bc577dbebb4650b1be885e05a80f8f8cf Reviewed-
log: remove internal log.h header
There is nothing left here, so remove it.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ib947d42bc577dbebb4650b1be885e05a80f8f8cf Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4541 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Anil Veerabhadrappa <anil.veerabhadrappa@broadcom.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Community-CI: Broadcom CI
show more ...
|
#
2172c432 |
| 04-Sep-2020 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
log: simplify SPDK_LOG_REGISTER_COMPONENT
This patch removes the string from register component. Removed are all instances in libs or hardcoded in apps.
Starting with this patch literal passed to r
log: simplify SPDK_LOG_REGISTER_COMPONENT
This patch removes the string from register component. Removed are all instances in libs or hardcoded in apps.
Starting with this patch literal passed to register, serves as name for the flag.
All instances of SPDK_LOG_* were replaced with just * in lowercase. No actual name change for flags occur in this patch.
Affected are SPDK_LOG_REGISTER_COMPONENT() and SPDK_*LOG() macros.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I002b232fde57ecf9c6777726b181fc0341f1bb17 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4495 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Mellanox Build Bot Reviewed-by: Anil Veerabhadrappa <anil.veerabhadrappa@broadcom.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom CI
show more ...
|
#
e19b294a |
| 01-Oct-2020 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
log: rename log flag literal to align with SPDK_LOG_* scheme
Couple log flags did not follow previous scheme of naming so rename it.
This will simplify next patch that replaces all the literals wit
log: rename log flag literal to align with SPDK_LOG_* scheme
Couple log flags did not follow previous scheme of naming so rename it.
This will simplify next patch that replaces all the literals with names provided for the flags. Avoiding accidental changes in log flag names.
SPDK_NOTIFY_RPC -> SPDK_LOG_NOTIFY_RPC SPDK_LOG_CRYPTO -> SPDK_LOG_VBDEV_CRYPTO SPDK_TRACE_VBDEV_OCF_VOLUME -> SPDK_LOG_VBDEV_OCF_VOLUME SPDK_LOG_JSON -> SPDK_LOG_JSON_UTIL
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I00cb0a7994d8aaf28b03828b93b1dbb18215089f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4498 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
90472b86 |
| 22-Sep-2020 |
Jacek Kalwas <jacek.kalwas@intel.com> |
json: new relaxed decode object function
With new funtion it is allowed to successfully parse json values even if doceder for given key is not found.
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel
json: new relaxed decode object function
With new funtion it is allowed to successfully parse json values even if doceder for given key is not found.
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: I036f263e9050bd2b96aaa3ff61a9542c98365892 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4340 Community-CI: Broadcom CI 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>
show more ...
|
Revision tags: v20.04.1, v20.01.2 |
|
#
0be5557c |
| 10-May-2020 |
Seth Howell <seth.howell@intel.com> |
lib: json-nbd remove spdk prefix from static functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: Idbf8d37fbac4e3a9eff253095efb2525c9094d94 Reviewed-on: https://review.spdk.io/ge
lib: json-nbd remove spdk prefix from static functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: Idbf8d37fbac4e3a9eff253095efb2525c9094d94 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2364 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
#
1bcbf5d7 |
| 06-May-2020 |
Seth Howell <seth.howell@intel.com> |
lib/json: add a map file.
While we are here, change SPDK_LOG_JSON_UTIL to SPDK_LOG_JSON It fits better with the naming convention.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I12b
lib/json: add a map file.
While we are here, change SPDK_LOG_JSON_UTIL to SPDK_LOG_JSON It fits better with the naming convention.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I12bc8a44acf3effc5effcbc40ef1ab9af6e52c6c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2211 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
Revision tags: v20.04, v20.04-rc1, v20.01.1, v20.01, v20.01-rc1, v19.10.1, v19.10, v19.10-rc1, v19.07.1, v19.07, v19.04.1 |
|
#
c680a792 |
| 29-May-2019 |
Seth Howell <seth.howell@intel.com> |
json_util: fix typo in debug message.
We were printing out the wrong value here.
Change-Id: I7b5f4eaca41317a69167ad5413a1b1913e9c0842 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on:
json_util: fix typo in debug message.
We were printing out the wrong value here.
Change-Id: I7b5f4eaca41317a69167ad5413a1b1913e9c0842 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456278 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v19.04, v18.10.2, v19.01.1, v19.01, v18.10.1 |
|
#
40f70de0 |
| 05-Dec-2018 |
Pawel Wodkowski <pawelx.wodkowski@intel.com> |
json_util: add debug logs to spdk_json_decode_object function
It is helpful to see what went wrong during decoding.
Change-Id: Ia26d3ea6e97823966840e688eaf9264dfef120a8 Signed-off-by: Pawel Wodkows
json_util: add debug logs to spdk_json_decode_object function
It is helpful to see what went wrong during decoding.
Change-Id: Ia26d3ea6e97823966840e688eaf9264dfef120a8 Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/c/436194 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
show more ...
|
Revision tags: v18.10, v18.07.1 |
|
#
439641f7 |
| 29-Aug-2018 |
Pawel Wodkowski <pawelx.wodkowski@intel.com> |
json: add utilities function enabling itaration over JSON object
If JSON structure is not known it is hard to use it with current API. To address this gap lets add API that will give more flexibilit
json: add utilities function enabling itaration over JSON object
If JSON structure is not known it is hard to use it with current API. To address this gap lets add API that will give more flexibility the user.
This patch also adds proper unit tests.
Change-Id: I82eb8c8d4a562ee4c9eb5b72c69fe36004dc576e Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/424009 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
Revision tags: v18.07, v18.04.1 |
|
#
6f872f5a |
| 01-Jun-2018 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
json: Add spdk_json_decode_uint16
int16_t is not used in SPDK yet. Hence add decode function only for uint16_t.
Change-Id: I86f86a6768d95896d1840370f2d176c770c41418 Signed-off-by: Shuhei Matsumoto
json: Add spdk_json_decode_uint16
int16_t is not used in SPDK yet. Hence add decode function only for uint16_t.
Change-Id: I86f86a6768d95896d1840370f2d176c770c41418 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/413711 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
Revision tags: v18.04, v18.01.1, v18.01 |
|
#
7d716668 |
| 31-Jan-2018 |
Daniel Verkamp <daniel.verkamp@intel.com> |
utf.h: remove #include "spdk/json.h"
After the renaming of json_internal.h to utf.h, it doesn't make sense for utf.h to include spdk/json.h.
Move the #include "spdk/json.h" to the JSON library impl
utf.h: remove #include "spdk/json.h"
After the renaming of json_internal.h to utf.h, it doesn't make sense for utf.h to include spdk/json.h.
Move the #include "spdk/json.h" to the JSON library implementation files and remove it from utf.h.
Change-Id: I36092524c9b982fd2e931faf1b7c5d1d6a6c80c0 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/397603 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
#
b33e0caf |
| 31-Jan-2018 |
Daniel Verkamp <daniel.verkamp@intel.com> |
json: fix spdk_json_decode_array() bounds check
The spdk_json_decode_array() function previously tried to check whether the array would fit into the provided number of output elements (max_size) bef
json: fix spdk_json_decode_array() bounds check
The spdk_json_decode_array() function previously tried to check whether the array would fit into the provided number of output elements (max_size) before decoding; however, the check was incorrectly comparing the total number of nested JSON values in the array rather than just the count of top-level array elements.
Rather than doing the check up front (which can't be done without modifying the way array lengths are stored in spdk_json_value), just check if we have reached the end of the 'out' array on each iteration of the decoding loop.
Fixes GitHub issue #232.
Change-Id: I4d7ce4be022bdf5f726654d0d96277b9d63bd350 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/397591 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
#
0a97bd14 |
| 09-Jan-2018 |
Seth Howell <seth.howell@intel.com> |
json_internal.h: rename to utf.h and place in spdk_internal
Change-Id: I1b1f3a6c10b97c6323e52b58537293f6a6c5c56b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrit
json_internal.h: rename to utf.h and place in spdk_internal
Change-Id: I1b1f3a6c10b97c6323e52b58537293f6a6c5c56b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/394117 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
Revision tags: v17.10.1, v17.10, v17.07.1, v17.07 |
|
#
ca2a1f29 |
| 04-Jul-2017 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
json/test: remove executable permisions on unrelated files
This patch removes executable flag from couple files that should not have it.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> C
json/test: remove executable permisions on unrelated files
This patch removes executable flag from couple files that should not have it.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ib4287ec3763a4187a756c18845c61d8b50729820 Reviewed-on: https://review.gerrithub.io/368042 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
61119d78 |
| 02-Jun-2017 |
Maciej Szwed <maciej.szwed@intel.com> |
json: Added support for 64 bit unsigned value converter in json
This patch prepares support for 64 bit values that will be used in lvol bdev.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Ch
json: Added support for 64 bit unsigned value converter in json
This patch prepares support for 64 bit values that will be used in lvol bdev.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ib5c8a438135e246c69887c4775c9ea6f0fa6eb1b Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/363344 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
show more ...
|
#
7c1d827f |
| 05-Jun-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
json_util: remove spdk_json_number_to_double()
This function is no longer used for integer parsing, and it does not work in locales with decimal separators other than '.', which is required to be th
json_util: remove spdk_json_number_to_double()
This function is no longer used for integer parsing, and it does not work in locales with decimal separators other than '.', which is required to be the decimal separator for JSON numbers.
Change-Id: I8e97e15cc2699e647652f83b71676c11d32d29ce Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/364134 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
7089d582 |
| 02-Jun-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
json_util: parse integer numbers directly
Avoid a trip through floating-point numbers when parsing JSON numbers as integers.
This will allow parsing 64-bit integers that cannot be represented in do
json_util: parse integer numbers directly
Avoid a trip through floating-point numbers when parsing JSON numbers as integers.
This will allow parsing 64-bit integers that cannot be represented in double precision floating point.
Change-Id: Ic428c9f12e44e6dbee72f39a91ecb56ab30b365f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/364132 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
show more ...
|