| e0d7428b | 23-Oct-2024 |
Atul Malakar <a.malakar@samsung.com> |
lvol: Add custom metadata page size to lvstore
Added new --md_page_size parameter to bdev_lvol_create_lvstore RPC. It facilitates user to pick a custom md_page_size, greater than phys_blocklen of th
lvol: Add custom metadata page size to lvstore
Added new --md_page_size parameter to bdev_lvol_create_lvstore RPC. It facilitates user to pick a custom md_page_size, greater than phys_blocklen of the underlying device.
This will allow functional testing of the large IU metadata changes on 4K IU NVMe SSDs.
Change-Id: Ib1bc68ba4d5b8a7db7f2befc1f616b342c01bc0f Signed-off-by: Atul Malakar <a.malakar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25304 Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <jim.harris@nvidia.com>
show more ...
|
| a70c3a90 | 14-Oct-2024 |
Yankun Li <yankun@staff.sina.com> |
bdev/lvol: add allocated clusters num in bdev_lvol_get_lvols
In case of a thin-provisioned lvol, the number of actually allocated clusters is displayed
Change-Id: I54fdfd36009011f899b8b8934ba6b0cf1
bdev/lvol: add allocated clusters num in bdev_lvol_get_lvols
In case of a thin-provisioned lvol, the number of actually allocated clusters is displayed
Change-Id: I54fdfd36009011f899b8b8934ba6b0cf171a9e9c Signed-off-by: Yankun Li <yankun@staff.sina.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25210 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| afcb180b | 27-Aug-2024 |
Yalong Wang <wang597672534@gmail.com> |
bdev/lvol: fix dump_lvol and delete_lvol concurrent conflict.
Fixes #3505
Change-Id: I7cef27ffd98587dc1ac074fde58df0a7b87f62bd Signed-off-by: Yalong Wang <wang597672534@gmail.com> Reviewed-on: http
bdev/lvol: fix dump_lvol and delete_lvol concurrent conflict.
Fixes #3505
Change-Id: I7cef27ffd98587dc1ac074fde58df0a7b87f62bd Signed-off-by: Yalong Wang <wang597672534@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24681 Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 34edd9f1 | 10-Jul-2024 |
Kamil Godzwon <kamilx.godzwon@intel.com> |
general: fix misspells and typos
Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+
general: fix misspells and typos
Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24120 Community-CI: Mellanox Build Bot Reviewed-by: Karol Latecki <karol.latecki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
| 3731556b | 18-Jul-2024 |
Pierre Lestringant <plestringant@kalray.eu> |
lvol: declare g_lvol_if static
Change-Id: I9070fb9efc694dcab4c11d7c45e1eab836eff82c Signed-off-by: Pierre Lestringant <plestringant@kalray.eu> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/
lvol: declare g_lvol_if static
Change-Id: I9070fb9efc694dcab4c11d7c45e1eab836eff82c Signed-off-by: Pierre Lestringant <plestringant@kalray.eu> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24270 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
| 672ba928 | 02-Feb-2024 |
Damiano Cipriani <damiano.cipriani@suse.com> |
vbdev_lvol: add lvol set external parent rpc
Added the RPC interface for the operation to set the parent external snapshot of a lvol. Also some lvol tests have been added to check the behaviour of t
vbdev_lvol: add lvol set external parent rpc
Added the RPC interface for the operation to set the parent external snapshot of a lvol. Also some lvol tests have been added to check the behaviour of the RPC.
Change-Id: I4454b1625096881ac8f4b31a7e088212c6d8b3c3 Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21712 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
| 99ffb3d9 | 28-Jul-2023 |
Damiano Cipriani <damiano.cipriani@suse.com> |
vbdev_lvol: add lvol set parent rpc interface
Added the RPC interface for the operation to set the parent snapshot of a lvol. Also some lvol tests have been added to check the behaviour of the RPC.
vbdev_lvol: add lvol set parent rpc interface
Added the RPC interface for the operation to set the parent snapshot of a lvol. Also some lvol tests have been added to check the behaviour of the RPC.
Change-Id: Ib832ded1f0175b34dd560a647355f1fa3cd269bf Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19306 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
| d68cc1e9 | 13-Nov-2023 |
Damiano Cipriani <damiano.cipriani@suse.com> |
vbdev_lvol: add lvol set external parent
This function is mostly a wrapper around spdk_lvol_set_external_parent to set the parent external snapshot of a lvol. It also performs some operations over e
vbdev_lvol: add lvol set external parent
This function is mostly a wrapper around spdk_lvol_set_external_parent to set the parent external snapshot of a lvol. It also performs some operations over external snapshot bdev.
Change-Id: Ib08358b46c9e39472df6c66264db20c412214731 Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21691 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> Community-CI: Mellanox Build Bot
show more ...
|
| 5daa8791 | 06-Sep-2023 |
Damiano Cipriani <damiano.cipriani@suse.com> |
bdev/lvol: add allocated clusters num in get_bdevs
In case of a thin-provisioned lvol, the number of actually allocated clusters is displayed in driver_specific JSON.
Change-Id: I125459751c0d670284
bdev/lvol: add allocated clusters num in get_bdevs
In case of a thin-provisioned lvol, the number of actually allocated clusters is displayed in driver_specific JSON.
Change-Id: I125459751c0d6702848b838dfff941cc786966dc Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19748 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 8c41f0d3 | 27-Jul-2023 |
Damiano Cipriani <damiano.cipriani@suse.com> |
vbdev_lvol: add shallow copy status RPC
Add RPC interface to get info about a shallow copy operation, like the total number of clusters to be copied, the actual number of clusters copied and the res
vbdev_lvol: add shallow copy status RPC
Add RPC interface to get info about a shallow copy operation, like the total number of clusters to be copied, the actual number of clusters copied and the result of the operation.
Change-Id: Ic242dced7e7d1a60fdf197f0211819d3188e2fb8 Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19252 Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
| 9b3554b5 | 27-Jul-2023 |
Damiano Cipriani <damiano.cipriani@suse.com> |
vbdev_lvol: add shallow copy RPC
Add RPC interface to start a shallow copy of a read only lvol over a given bdev. Next patch will add another RPC to check the status of this operation.
Change-Id: I
vbdev_lvol: add shallow copy RPC
Add RPC interface to start a shallow copy of a read only lvol over a given bdev. Next patch will add another RPC to check the status of this operation.
Change-Id: I3b251ae2867db85b088b385562126bcf1c80e2c6 Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19251 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 4210a752 | 27-Jul-2023 |
Damiano Cipriani <damiano.cipriani@suse.com> |
vbdev_lvol: add shallow copy over a given bdev
This is mostly a wrapper around spdk_lvol_shallow_copy(), but it also has the aim to create the spdk_bs_dev device from the given bdev.
Change-Id: I18
vbdev_lvol: add shallow copy over a given bdev
This is mostly a wrapper around spdk_lvol_shallow_copy(), but it also has the aim to create the spdk_bs_dev device from the given bdev.
Change-Id: I180e6f64ca8025059665f99d0c507d15be61cef2 Signed-off-by: Damiano Cipriani <damiano.cipriani@suse.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19250 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 00311abc | 18-Mar-2024 |
Diwakar Sharma <diwakar.sharma@datacore.com> |
blob: handle IO to a resized blob
When a blob is resized and is backed by a another blob like a snapshot, then the resized blob has more number of clusters compared to backing device. Since the blob
blob: handle IO to a resized blob
When a blob is resized and is backed by a another blob like a snapshot, then the resized blob has more number of clusters compared to backing device. Since the blob is thin, either originally or as a result of creating snapshot, the IOs to the new cluster ranges fail as there is no cluster to be looked at in the backing. This patch introduces mechanism to handle reads by zeroeing out the payload which is trailing beyond cluster range, and handle writes by validating backing dev cluster range during copy-on-write.
Change-Id: Ib204b922819775396e53ffb718e8230ebf8fa46b Signed-off-by: Diwakar Sharma <diwakar.sharma@datacore.com> Co-authored-by: Diwakar Sharma <diwakar.sharma@datacore.com> Co-authored-by: Jim Harris <james.r.harris@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22377 Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| ba31ad82 | 25-Apr-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lvol: remove size parameter from bedv_lvol_{create,resize}
This parameter was replaced with size_in_mib and was deprecated for a long time, so it's finally time to remove it.
Signed-off-by: Konrad
lvol: remove size parameter from bedv_lvol_{create,resize}
This parameter was replaced with size_in_mib and was deprecated for a long time, so it's finally time to remove it.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I0c753c535418b43c8a4759d9dac5825da88c8adf Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22951 Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
| 355312bf | 26-Jan-2024 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
so_ver: increase all major versions after SPDK 24.01
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to preve
so_ver: increase all major versions after SPDK 24.01
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where two versions exists with matching versions, but conflicting ABI. Ex. Next SPDK release adds an API call increasing the minor version, then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the future releases to update versions as needed. Yet allowing LTS to increase minor version separately.
This patch: - increases SO_VER by 1 for all components - resets SO_MINOR to 0 for all components
Due to patch below being introduced after v24.01 code freeze, bdev lib version should not be increased: 61623c5ca9 bdev: add spdk_bdev_io padding in place of io_submit_ch
Short reference to how the versions were changed: MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1) for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \ sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; done find . -name "Makefile" -exec \ sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I0166d6be6c17bbbf985d48b5dfcb36f1d4af1b48 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21582 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 52de9a10 | 19-Oct-2023 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
bdev/lvol: remove unused vbdev_lvs_grow()
Prior patch removed the last use of this function that is internal to lvol module.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ie
bdev/lvol: remove unused vbdev_lvs_grow()
Prior patch removed the last use of this function that is internal to lvol module.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Iec9d2a9c29e627542e337672143c8b389748e493 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20380 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
| ad5fc351 | 19-Oct-2023 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
bdev/lvol: use spdk_bs_grow_live() in grow lvs RPC
This patch adds spdk_lvs_grow_live() pipes through to spdk_bs_grow_live() and use it when bdev_lvol_grow_lvstore RPC is called.
Growing the size o
bdev/lvol: use spdk_bs_grow_live() in grow lvs RPC
This patch adds spdk_lvs_grow_live() pipes through to spdk_bs_grow_live() and use it when bdev_lvol_grow_lvstore RPC is called.
Growing the size of lvs still needs to be explicit RPC call by the user.
Moved include for blob_bdev.h to header of the whole bdev module. This way spdk_bdev_update_bs_blockcnt() can be called when RPC is called.
Please note that there already exists a test with this RPC - blobstore_grow.sh. Next patch in series adds test calling grow while I/O is being performed.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I9e896c65a8b017d0d20b77d3758901e588e9e70c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20322 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
| 69f9c9ac | 10-Nov-2023 |
Jim Harris <jim.harris@samsung.com> |
lib, module: use spdk_json_write_named_uuid
Use spdk_json_write_named_uuid everywhere possible, instead of the older spdk_uuid_fmt_lower+spdk_json_write_named_string approach.
Signed-off-by: Jim Ha
lib, module: use spdk_json_write_named_uuid
Use spdk_json_write_named_uuid everywhere possible, instead of the older spdk_uuid_fmt_lower+spdk_json_write_named_string approach.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I75f97efb6e88fdb032f7ae94f11039457ba70f2a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20562 Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 8cffbe01 | 26-Oct-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
rpc: use spdk_json_write_uuid() to dump UUIDs
While here, remove some of the empty lines between spdk_json_write* calls, as they only made the code less readable.
Signed-off-by: Konrad Sztyber <kon
rpc: use spdk_json_write_uuid() to dump UUIDs
While here, remove some of the empty lines between spdk_json_write* calls, as they only made the code less readable.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I22909de1a04cd24322534971daf3128776c36855 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20473 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 <jim.harris@samsung.com>
show more ...
|
| 6828ed18 | 28-Apr-2023 |
Mike Gerdts <mgerdts@nvidia.com> |
lvol: add spdk_lvol_is_degraded
This is mostly a wrapper around spdk_blob_is_degraded(), but it also performs a NULL check on lvol->blob. Since an lvol without a blob cannot perform IO, this conditi
lvol: add spdk_lvol_is_degraded
This is mostly a wrapper around spdk_blob_is_degraded(), but it also performs a NULL check on lvol->blob. Since an lvol without a blob cannot perform IO, this condition returns true.
The two callers of spdk_blob_is_degraded() in vbdev_lvol.c have been updated to use spdk_lvol_is_degraded().
Change-Id: I11dc682a26d971c8854aeab280c8199fced358c3 Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17896 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| 08650f86 | 01-May-2023 |
Mike Gerdts <mgerdts@nvidia.com> |
lvol: lvol destruction race leads to null deref
As an lvolstore is being destroyed, _vbdev_lvs_remove() starts an interation through the lvols to delete each one, ultimately leading to the destructi
lvol: lvol destruction race leads to null deref
As an lvolstore is being destroyed, _vbdev_lvs_remove() starts an interation through the lvols to delete each one, ultimately leading to the destruction of the lvolstore with a call to lvs_free(). The callback passed to vbdev_lvs_destruct() is always called asynchronously via spdk_io_device_unregister() in bs_free().
When the lvolstore resides on bdevs that perform async IO (i.e. most bdevs other than malloc), this gives a small window when the lvol bdev is not registered but a lookup with spdk_lvol_get_by_uuid() or spdk_lvol_get_by_names() will succeed. If rpc_bdev_lvol_delete() runs during this window, it can get a reference to an lvol that has just been unregistered and lvol->blob may be NULL. This lvol is then passed to vbdev_lvol_destroy().
Before this fix, vbdev_lvol_destroy() would call:
spdk_blob_is_degraded(lvol->blob);
Which would then lead to a NULL pointer dereference, as spdk_blob_is_degraded() assumes a valid blob is passed. While a NULL check would avoid this particular problem, a NULL blob is not necessarily caused by the condition described above. It would better to flag the lvstore's destruction before returning from vbdev_lvs_destruct() and use that flag to prevent operations on the lvolstore that is being deleted. Such a flag already exists in the form of 'lvs_bdev->req != NULL', but that is set too late to close this race.
This fix introduces lvs_bdev->removal_in_progress which is set prior to returning from vbdev_lvs_unload() and vbdev_lvs_destruct(). It is checked by vbdev_lvol_destroy() before trying to destroy the lvol. Now, any lvol destruction initiated by something other than vbdev_lvs_destruct() while an lvolstore unload or destroy is in progress will fail with -ENODEV.
Fixes issue: #2998
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I4d861879097703b0d8e3180e6de7ad6898f340fd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17891 Community-CI: Mellanox Build Bot 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>
show more ...
|
| 54d4e7a6 | 13-Jan-2023 |
Mike Gerdts <mgerdts@nvidia.com> |
vbdev_lvol: esnap memdomain support
Return the total number of memory domains supported by the blobstore and any external snapshot bdev.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I
vbdev_lvol: esnap memdomain support
Return the total number of memory domains supported by the blobstore and any external snapshot bdev.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I2f8afba6b31e689b8f942e2cf36906a0a30f38c8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16430 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| c0ea96cf | 11-Apr-2023 |
Mike Gerdts <mgerdts@nvidia.com> |
vbdev_lvol: allow degraded lvols to be deleted
An esnap clone is now deletable when its external snapshot is missing. Likewise, the tree of degraded lvols rooted at a degraded esnap clone can also b
vbdev_lvol: allow degraded lvols to be deleted
An esnap clone is now deletable when its external snapshot is missing. Likewise, the tree of degraded lvols rooted at a degraded esnap clone can also be deleted, subject to the normal restrictions.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I711ae25d57f5625a955d1f4cdb2839dd0a6cb095 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17549 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 5b250c08 | 30-Jan-2023 |
Mike Gerdts <mgerdts@nvidia.com> |
vbdev_lvol: load esnaps via examine_config
This introduces an examine_config callback that triggers hotplug of missing esnap devices.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I5ce
vbdev_lvol: load esnaps via examine_config
This introduces an examine_config callback that triggers hotplug of missing esnap devices.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I5ced2ff26bfd393d2df4fd4718700be30eb48063 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16626 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| d453aaa3 | 10-Oct-2022 |
Mike Gerdts <mgerdts@nvidia.com> |
vbdev_lvol: degraded open of esnap clones
If an esnap clone is missing its snapshot the lvol should still open in degraded mode. A degraded lvol will not have a bdev registered and as such cannot pe
vbdev_lvol: degraded open of esnap clones
If an esnap clone is missing its snapshot the lvol should still open in degraded mode. A degraded lvol will not have a bdev registered and as such cannot perform any IO.
Change-Id: I736194650dfcf1eb78214c8896c31acc7a946b54 Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16425 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|