add (c) and SPDX header to bash files as neededper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --forma
add (c) and SPDX header to bash files as neededper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --format=%ad --date default <file> | tail -1and then pull just the year from the result.Intel copyrights were not added to files where Intel either hadno contribution ot the contribution lacked substance (ie licenseheader updates, formatting changes, etc)For intel copyrights added, --follow and -C95% were used.Signed-off-by: paul luse <paul.e.luse@intel.com>Change-Id: I2ef86976095b88a9bf5b1003e59f3943cd6bbe4cReviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15209Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Community-CI: Mellanox Build BotReviewed-by: Ben Walker <benjamin.walker@intel.com>Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
add (c) and SPDX header to python files as neededper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --for
add (c) and SPDX header to python files as neededper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --format=%ad --date default <file> | tail -1and then pull just the year from the result.Intel copyrights were not added to files where Intel either hadno contribution ot the contribution lacked substance (ie licenseheader updates, formatting changes, etc)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 vastmajority of files do have this last blank line. Simply there forconsistency.Signed-off-by: paul luse <paul.e.luse@intel.com>Change-Id: I6cd3f18d1b469d5ef249d26ddb2923ca6b970bd4Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15208Tested-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>
build: Place fio plugins into build/fioThis makes them easier to find. They are now namedspdk_nvme and spdk_bdev.Signed-off-by: Ben Walker <benjamin.walker@intel.com>Change-Id: I1f6736d8f7f5b96
build: Place fio plugins into build/fioThis makes them easier to find. They are now namedspdk_nvme and spdk_bdev.Signed-off-by: Ben Walker <benjamin.walker@intel.com>Change-Id: I1f6736d8f7f5b9669583731fb0b710ba54f0d50aReviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2679Community-CI: Mellanox Build BotCommunity-CI: Broadcom CITested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
scripts/perf: fix nvme perf scriptsDue to change of defauly Python interpreter to Python3we need to decode byte object from check_output()to utf-8, otherwise there is an error.Change-Id: I83e2d
scripts/perf: fix nvme perf scriptsDue to change of defauly Python interpreter to Python3we need to decode byte object from check_output()to utf-8, otherwise there is an error.Change-Id: I83e2d79ec8c3934c5c6d00768288fbb4c5a50914Signed-off-by: Karol Latecki <karol.latecki@intel.com>Reviewed-on: https://review.gerrithub.io/428172Chandler-Test-Pool: 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>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
scripts: use python3 in all scriptsThis it to prepare for RPM package. Also lower number of dependenciesneeded by SPDK tools.Update changelog to deprecate Python 2 and explicit interpeter invoki
scripts: use python3 in all scriptsThis it to prepare for RPM package. Also lower number of dependenciesneeded by SPDK tools.Update changelog to deprecate Python 2 and explicit interpeter invokingin scripts.Change-Id: I2497cca721cbcbadc1c99c675f8b8b7f682d5efaSigned-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>Reviewed-on: https://review.gerrithub.io/425233Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>Reviewed-by: Karol Latecki <karol.latecki@intel.com>Reviewed-by: Ben Walker <benjamin.walker@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>
pep8: re-enable E302 (2 blank lines between functions)This isn't a significant effort to fix, so let's just enable it to movecloser to the official Python PEP 8 guidelines.Fix up the existing in
pep8: re-enable E302 (2 blank lines between functions)This isn't a significant effort to fix, so let's just enable it to movecloser to the official Python PEP 8 guidelines.Fix up the existing instances where we didn't already have two linesbetween functions, and re-enable the pep8 warning.Change-Id: I9cf5e7e32b9c6dfedbd1b0f9bc92951cbb2c8a0dSigned-off-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-on: https://review.gerrithub.io/399949Reviewed-by: Jim Harris <james.r.harris@intel.com>Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
scripts/check_format: check trailing whitespaceFix up the two existing instances of trailing whitespace in text files,and add a check to enforce that no new trailing whitespace is added.Change-I
scripts/check_format: check trailing whitespaceFix up the two existing instances of trailing whitespace in text files,and add a check to enforce that no new trailing whitespace is added.Change-Id: I2197bed69bb356142aa6d2e4e8261c7434dd358bSigned-off-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-on: https://review.gerrithub.io/383291Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>
scripts/perf/nvme/run_fio_test.py: fix formattingChange-Id: I8150aa5e0d320c38a66eb59ce7e08e2089c7d1d3Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-on: https://review.gerrithub.
scripts/perf/nvme/run_fio_test.py: fix formattingChange-Id: I8150aa5e0d320c38a66eb59ce7e08e2089c7d1d3Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-on: https://review.gerrithub.io/381915Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
scripts: update the lat metric for fio test with different fio versionsChange-Id: I7808cce81b0023c4c69b91dccbcdad48970da7faSigned-off-by: GangCao <gang.cao@intel.com>Reviewed-on: https://review.g
scripts: update the lat metric for fio test with different fio versionsChange-Id: I7808cce81b0023c4c69b91dccbcdad48970da7faSigned-off-by: GangCao <gang.cao@intel.com>Reviewed-on: https://review.gerrithub.io/376299Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>Reviewed-by: John Kariuki <John.K.Kariuki@intel.com>Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>
nvme/fio_test: add nvme performance test scriptsAdd the python script that we use to run NVMe driver performancetest for different workloads. The scripts outputs a csv file thatyou can import to
nvme/fio_test: add nvme performance test scriptsAdd the python script that we use to run NVMe driver performancetest for different workloads. The scripts outputs a csv file thatyou can import to Excel and plot performance for different qd, rwmix & io size. The sh script performs the prework and then callsthe py script.Change-Id: Id6fd0ff28221d8cf8b2c8a77e47288f9739341fcSigned-off-by: John Kariuki <John.K.Kariuki@intel.com>Reviewed-on: https://review.gerrithub.io/363315Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>