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 |
|
#
37975647 |
| 05-Mar-2023 |
Amir Haroush <amir.haroush@huawei.com> |
bdev/ocf: Update OCF to 22.6.1
This OCF update is mainly focused on: - New volume API - New cache attach config instead of old cache device config - UUID moved to different struct - Persistent metad
bdev/ocf: Update OCF to 22.6.1
This OCF update is mainly focused on: - New volume API - New cache attach config instead of old cache device config - UUID moved to different struct - Persistent metadata is not supported due to metadata flapping (see 689c44c76ba87f80a9538c17220bb9ca6bffdda0 in OCF)
Signed-off-by: Amir Haroush <amir.haroush@huawei.com> Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com> Change-Id: Ic3bc0f1b58550dc3b03b0afc9bcb43b2b9b988c6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17066 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: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Robert Baldyga
show more ...
|
Revision tags: v23.01, v23.05-pre, v23.01-rc1, v22.01.2, v22.09, v23.01-pre, v22.09-rc1, v22.05, v22.09-pre, v22.05-rc1, v22.01.1, v22.01, v22.01-rc1, v21.10, v21.10-rc1, v21.07 |
|
#
8000cedb |
| 23-Jul-2021 |
Rafal Stefanowski <rafal.stefanowski@intel.com> |
bdev/ocf: Add runtime cache bdev flush support
Introduce two RPC calls for starting flush and getting flush status of OCF cache bdev: - bdev_ocf_flush_start - bdev_ocf_flush_status
Signed-off-by: R
bdev/ocf: Add runtime cache bdev flush support
Introduce two RPC calls for starting flush and getting flush status of OCF cache bdev: - bdev_ocf_flush_start - bdev_ocf_flush_status
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com> Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com> Change-Id: I1d659da6fc51396e0d070af35372ee130c40ae8b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8961 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: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
#
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 ...
|
#
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: v21.07-rc1 |
|
#
494b1ba8 |
| 18-Jun-2021 |
Rafal Stefanowski <rafal.stefanowski@intel.com> |
ocf/rpc: Add RPC method to manage sequential cutoff
Introduce bdev_ocf_set_seqcutoff RPC method for changing OCF sequential cutoff policy and parameters.
Signed-off-by: Rafal Stefanowski <rafal.ste
ocf/rpc: Add RPC method to manage sequential cutoff
Introduce bdev_ocf_set_seqcutoff RPC method for changing OCF sequential cutoff policy and parameters.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com> Change-Id: I509644115402c00c4a026c1c37e887c8fc90289f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8459 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 ...
|
#
1960ef16 |
| 25-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
spelling: module
Part of #2256
* calculated * changing * deferred * deinitialize * initialization * particular * receive * request * retrieve * satisfied * succeed * thread * unplugged * unregister
spelling: module
Part of #2256
* calculated * changing * deferred * deinitialize * initialization * particular * receive * request * retrieve * satisfied * succeed * thread * unplugged * unregister
Change-Id: I13e38f9160cb1a15a87cb5974785a34604124fa3 Signed-off-by: Josh Soref <jsoref@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10406 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: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v21.04, v21.04-rc1, v21.01.1 |
|
#
5bdaec63 |
| 21-Feb-2021 |
Rafal Stefanowski <rafal.stefanowski@intel.com> |
ocf/rpc: Add bdev_ocf_set_cache_mode method
This method allows to dynamically switch cache mode on OCF bdev
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com> Change-Id: I933273e35bb9f2
ocf/rpc: Add bdev_ocf_set_cache_mode method
This method allows to dynamically switch cache mode on OCF bdev
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com> Change-Id: I933273e35bb9f29528657f8f6800c6b52dde32e5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6547 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
Revision tags: v21.01, v21.01-rc1, v20.10, v20.10-rc1, v20.07, v20.07-rc1 |
|
#
4d91b4ef |
| 16-Jul-2020 |
rafalste <rafal.stefanowski@intel.com> |
bdev/ocf: add cache line size
Define cache line size when creating cache device.
Signed-off-by: rafalste <rafal.stefanowski@intel.com> Change-Id: Ica536a9bda35c355b4dd4e406a241defc1453f53 Reviewed-
bdev/ocf: add cache line size
Define cache line size when creating cache device.
Signed-off-by: rafalste <rafal.stefanowski@intel.com> Change-Id: Ica536a9bda35c355b4dd4e406a241defc1453f53 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3449 Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v20.04.1, v20.01.2, v20.04 |
|
#
af039a7a |
| 27-Apr-2020 |
yidong0635 <dongx.yi@intel.com> |
bdev/ocf: Fix typo about vbdev_ocf_qctx.
Change vbdev_ocf_qcxt to vbdev_ocf_qctx.
Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: Ifdabb911d0ba5279b5ae4bc02a7b0873ba40ca36 Reviewed-on: ht
bdev/ocf: Fix typo about vbdev_ocf_qctx.
Change vbdev_ocf_qcxt to vbdev_ocf_qctx.
Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: Ifdabb911d0ba5279b5ae4bc02a7b0873ba40ca36 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2037 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI 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>
show more ...
|
Revision tags: v20.04-rc1 |
|
#
d7a3a052 |
| 09-Apr-2020 |
Vitaliy Mysak <vitaliy.mysak@intel.com> |
ocf: update ocf submodule to v20.3
New OCF version is ready, so update our submodule. There were a lot of API changes so we need to adjust our bdev/ocf and lib/ocf_env code.
Description of code cha
ocf: update ocf submodule to v20.3
New OCF version is ready, so update our submodule. There were a lot of API changes so we need to adjust our bdev/ocf and lib/ocf_env code.
Description of code changes: - env: added small functions like ENV_BUILD_BUG_ON, env_vzalloc_flags - env: added "destroy" method for all locks - env: added "execution context" interface - cache/core "id" field made private - signature of "ocf_io_configure" changed - "io->volume" field made private
List of changes to OCF is available at https://github.com/Open-CAS/ocf/releases But no new features were implemented for our OCF module since 19.6
Change-Id: I1ac2b6db0aad2a9840e4fa73d65608c5638fcb23 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1801 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI 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: v20.01.1 |
|
#
b3be320d |
| 21-Feb-2020 |
GangCao <gang.cao@intel.com> |
vbdev: close the base bdev on its opened thread
With the JSON configure, the base device will be opened on the same thread (RPC thread) to handle the JSON operation. Later the virtual device upon th
vbdev: close the base bdev on its opened thread
With the JSON configure, the base device will be opened on the same thread (RPC thread) to handle the JSON operation. Later the virtual device upon the base device can be opened on another thread. At the time of virtual device destruction, the base device is also closed at the thread where opening the virtual device, it is actually different than the original thread where this base device is opened through the JSON configure.
Add a thread here to record the exact thread where the base device is opened and then later route it back to handle the base device close operation.
Change-Id: Id1299bb0d86db57bce48b9787d7f248d29a6f345 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/974 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.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>
show more ...
|
Revision tags: v20.01, v20.01-rc1, v19.10.1, v19.10, v19.10-rc1 |
|
#
c4b94d87 |
| 03-Oct-2019 |
Marcin Dziegielewski <marcin.dziegielewski@intel.com> |
lib/bdev/ocf: remove unused code related to polling utils
After switch all management operations to asynhronus way, utlis connected with polling are no longer needed, this patch removes that code.
lib/bdev/ocf: remove unused code related to polling utils
After switch all management operations to asynhronus way, utlis connected with polling are no longer needed, this patch removes that code.
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Change-Id: Ia30e733c51089b1659f79c99d8cd711945a98fa0 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470353 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> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
show more ...
|
#
1ee2e81b |
| 04-Oct-2019 |
Marcin Dziegielewski <marcin.dziegielewski@intel.com> |
lib/bdev/ocf: add possibility to remove ocf instance
In current code there is no possibility to remove ocf instance permanently, even we call delete_ocf_bdev rpc command, on next examine this instan
lib/bdev/ocf: add possibility to remove ocf instance
In current code there is no possibility to remove ocf instance permanently, even we call delete_ocf_bdev rpc command, on next examine this instance will be loaded.
This patch introduces changes to delete_ocf_bdev rpc command. When we call this command via rpc, core related to particular vbdev will be removed from ocf cache before removing this cache instance. Thanks to that, on next examine we will not detect this core in cache metadata and therefore we will not create this instance on next load.
However, in any other situation, we will not touch metadata, so in case of dirty shutdown/hot remove, on next load, we will recovery this instance.
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Change-Id: Iebef80989ea22ccea7f1b6ba4d734a40c1d5cc5d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465675 Tested-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> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
show more ...
|
Revision tags: v19.07.1 |
|
#
d1c9e2f7 |
| 25-Sep-2019 |
Marcin Dziegielewski <marcin.dziegielewski@intel.com> |
lib/bdev/ocf: fix race between examine and delete in mulicore test
Fixes #962
Issue mentioned above was caused by race between examine on ocf bdev (which is partially asynhronous) and bdev delete.
lib/bdev/ocf: fix race between examine and delete in mulicore test
Fixes #962
Issue mentioned above was caused by race between examine on ocf bdev (which is partially asynhronous) and bdev delete.
This patch adds new ocf bdev state "starting" it means that register procedure was started, base on this state, we are not allowing to destruct vbdev during registering path.
Deleting of vbdev will be still possible on started vbdev or when register procedure are not started yet.
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Change-Id: I12099dfba75a46f95299c118f748d39af27df86a Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469406 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> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
#
5817a1cf |
| 20-Sep-2019 |
Marcin Dziegielewski <marcin.dziegielewski@intel.com> |
lib/bdev/ocf: fix memory leak of vbdev_ocf_qcxt
Realted to #957
Normally we are using vbdev_ocf_qcxt allocated by spdk device (ctx_buf), but after io_device_destroy_cb this context can be freed, so
lib/bdev/ocf: fix memory leak of vbdev_ocf_qcxt
Realted to #957
Normally we are using vbdev_ocf_qcxt allocated by spdk device (ctx_buf), but after io_device_destroy_cb this context can be freed, so we allocate a local copy to use for issuing requests on ocf bdev stop. Unfortunately, in current code we are not freeing it, this patch fix that issue.
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com> Change-Id: I2d5c0b529f4ff79960945b9e598f21602209f839 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468983 Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
07fe6a43 |
| 16-Aug-2019 |
Seth Howell <seth.howell@intel.com> |
mk: move the bdev modules under module directory.
This is more accurate to what they are, and will make defining library dependencies much simpler. This change in directory does not affect the final
mk: move the bdev modules under module directory.
This is more accurate to what they are, and will make defining library dependencies much simpler. This change in directory does not affect the final placement of naming of libraries at the end of time.
Change-Id: Ic48a9233dff564e39ce357a9ea0a111ea2b6414b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465454 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|