Revision tags: v24.05, v24.09-pre, v24.05-rc1, 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, v22.01, v22.01-rc1, v21.10, v21.10-rc1, v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1, v20.10, v20.10-rc1 |
|
#
0d2a5bbe |
| 25-Aug-2020 |
Jim Harris <james.r.harris@intel.com> |
util: add spdk_bit_pool
spdk_bit_pool is a wrapper around spdk_bit_array with the intentions of providing much better performance for allocating from a fragmented bit array. The cost of searching a
util: add spdk_bit_pool
spdk_bit_pool is a wrapper around spdk_bit_array with the intentions of providing much better performance for allocating from a fragmented bit array. The cost of searching a large bit array for a cleared bit can become expensive so the spdk_bit_pool will provide an ability to track extents of recently cleared bits.
This initial commit does not adding the tracking yet - it is strictly a wrapper around spdk_bit_array with enough functionality to replace the use of spdk_bit_pool in SPDK blobstore with equivalent performance. This will allow us to switch blobstore to use this minimal wrapper first, and then iteratively improve spdk_bit_pool to provide the better performance.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I95d0d12db47eac73e0641eb7f94fa5df43d42e45 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3974 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI
show more ...
|
Revision tags: v20.07, v20.07-rc1, v20.04.1, v20.01.2 |
|
#
57c2b0c5 |
| 15-May-2020 |
Seth Howell <seth.howell@intel.com> |
lib/util: remove _spdk prefix from functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: Id87b6eae46e7503796904676edfa22d821673a9a Reviewed-on: https://review.spdk.io/gerrit/c/spd
lib/util: remove _spdk prefix from functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: Id87b6eae46e7503796904676edfa22d821673a9a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2462 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: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
#
b869b4b9 |
| 10-May-2020 |
Seth Howell <seth.howell@intel.com> |
lib/util: remove spdk prefix from static functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I0648f245166a0e7b427ede54547a186bee9adf41 Reviewed-on: https://review.spdk.io/gerrit
lib/util: remove spdk prefix from static functions.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I0648f245166a0e7b427ede54547a186bee9adf41 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2303 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.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, v19.04 |
|
#
20d575bb |
| 05-Apr-2019 |
Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
util/bit_array: switch to spdk_*malloc().
spdk_dma_*malloc() is about to be deprecated.
Change-Id: I1ad624aa64c70e6f5716d711bb6d2d6b6cd1007d Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.
util/bit_array: switch to spdk_*malloc().
spdk_dma_*malloc() is about to be deprecated.
Change-Id: I1ad624aa64c70e6f5716d711bb6d2d6b6cd1007d Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450257 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>
show more ...
|
Revision tags: v18.10.2, v19.01.1, v19.01, v18.10.1 |
|
#
212eb893 |
| 08-Nov-2018 |
Wojciech Malikowski <wojciech.malikowski@intel.com> |
util: added bit array bitmask load, store and clear
Change-Id: I7cd47184d0dfb038297c0ac04d7dfb5d31f96b6b Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-on: https://revie
util: added bit array bitmask load, store and clear
Change-Id: I7cd47184d0dfb038297c0ac04d7dfb5d31f96b6b Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-on: https://review.gerrithub.io/432537 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
show more ...
|
Revision tags: v18.10 |
|
#
7c56c393 |
| 05-Oct-2018 |
Jim Harris <james.r.harris@intel.com> |
bit_array: return UINT32_MAX if no cleared bits found
spdk_bit_array_find_first_set() returns UINT32_MAX if no set bits are found. But spdk_bit_array_find_first_clear() would return the size of the
bit_array: return UINT32_MAX if no cleared bits found
spdk_bit_array_find_first_set() returns UINT32_MAX if no set bits are found. But spdk_bit_array_find_first_clear() would return the size of the bit array instead in this case. (Note: the comments say size of the bit array + 1 which was incorrect)
So this patch makes spdk_bit_array_find_first_clear() consistent with spdk_bit_array_find_first_set() and returns UINT32_MAX if no cleared bit is found.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I44c1e674149f8c2e87122800d5db45a2851f0bef
Reviewed-on: https://review.gerrithub.io/428225 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
show more ...
|
Revision tags: v18.07.1, v18.07, v18.04.1 |
|
#
a1c7c58f |
| 01-Jun-2018 |
Daniel Verkamp <daniel.verkamp@intel.com> |
util/bit_array: add functions to count 0/1 bits
Change-Id: I7c1ad078982a19c4093e787731974986011f535b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io
util/bit_array: add functions to count 0/1 bits
Change-Id: I7c1ad078982a19c4093e787731974986011f535b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/413295 Tested-by: SPDK Automated Test System <sys_sgsw@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.04, v18.01.1, v18.01, v17.10.1, v17.10, v17.07.1, v17.07 |
|
#
8a44220b |
| 25-May-2017 |
John Meneghini <johnm@netapp.com> |
env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func)
- rename spdk_malloc_socket to spdk_dma_malloc_socket - rename spdk_malloc to spdk_dma_malloc - rename spdk_zmalloc to spdk_dma_
env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func)
- rename spdk_malloc_socket to spdk_dma_malloc_socket - rename spdk_malloc to spdk_dma_malloc - rename spdk_zmalloc to spdk_dma_zmalloc - rename spdk_realloc to spdk_dma_realloc - rename spdk_free to spdk_dma_free
Change-Id: I52a11b7a4243281f9c56f503e826fd7c4a1fd883 Signed-off-by: John Meneghini <johnm@netapp.com> Reviewed-on: https://review.gerrithub.io/362604 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
b961d9cc |
| 02-May-2017 |
Ben Walker <benjamin.walker@intel.com> |
include: Move the remainder of the code base to stdinc.h
Change-Id: I6a142feeaad3117bd3c75e7c5cb7231a1cfa78ae Signed-off-by: Ben Walker <benjamin.walker@intel.com>
|
Revision tags: v17.03 |
|
#
84d90484 |
| 02-Feb-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
util: move common helper functions to util.h
These were repeated a few different places, so pull them into a common header file.
Change-Id: Id807fa2cfec0de2e0363aeb081510fb801781985 Signed-off-by:
util: move common helper functions to util.h
These were repeated a few different places, so pull them into a common header file.
Change-Id: Id807fa2cfec0de2e0363aeb081510fb801781985 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
Revision tags: v16.12 |
|
#
621f96f7 |
| 07-Nov-2016 |
GangCao <gang.cao@intel.com> |
util/bit_array: use spdk_realloc for process sharing
Change-Id: I8fe49388e7bec9306474f27de7c17e767dfa19e8 Signed-off-by: GangCao <gang.cao@intel.com>
|
#
9d524f53 |
| 16-Sep-2016 |
Daniel Verkamp <daniel.verkamp@intel.com> |
bit_array: annotate bounds check as unlikely
The out-of-bounds case in the bit array accessors should not happen normally, so help the compiler order the basic blocks correctly so that the in-bounds
bit_array: annotate bounds check as unlikely
The out-of-bounds case in the bit array accessors should not happen normally, so help the compiler order the basic blocks correctly so that the in-bounds case is the fallthrough path.
Change-Id: Id778e724b3a58c17c728b8544c2653c60d90a6ba Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
6c5f05f1 |
| 15-Sep-2016 |
Daniel Verkamp <daniel.verkamp@intel.com> |
util: add bit array data structure
Change-Id: Idab4473fa23486e72334ec07d0853c6325197c20 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
|