622127d7 | 21-May-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Make possible to remove snapshot if there is only one clone
Starting with this patch it is possible to remove a snapshot if there is only a one clone created from it.
In such case snapsh
blobstore: Make possible to remove snapshot if there is only one clone
Starting with this patch it is possible to remove a snapshot if there is only a one clone created from it.
In such case snapshot can be removed without any data copying. This is achieved with following steps (case with only one clone): 1. Open snapshot (Snapshot1) that shall be removed 2. Check if the Snapshot1 has no more than 1 clone (Clone1) 3. Remove Clone1 entry from Snapshot1 4. If the Snapshot1 has a parent snapshot (Snapshot2): 4a. Add Clone1 entry to the Snapshot2 clones list 4b. Remove Snapshot1 entry from Snapshot2 clones list 5. Open Clone1 blob 6. Freeze I/O operations on Clone1 7. Temporarily override md_ro flag for Snapshot1 and Clone1 for MD modification 8. Merge Snapshot1 and Clone1 clusters maps into Clone1 clusters map 9a. If Snapshot2 is present switch parent ID and backing bs_dev on Clone1 9b. If Snapshot2 is not present set parent ID to SPDK_BLOBID_INVALID and backing bs_dev to zeroes_dev 10. Sync MD on Clone1 11. Sync MD on Snapshot1 12. Restore MD flags for Clone1 and Snapshot1 13. Unfreeze I/O on Clone1 14. Close Clone1 blob 15. Remove Snapshot1
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I800724b981af894e01e1912d0077c5b34a2ae634 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/445576 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
show more ...
|
a8c32ed5 | 05-Jun-2019 |
Changpeng Liu <changpeng.liu@intel.com> |
blob: return error for write_zeroes and unmap requests
Actually write/writev/write_zeroes/unmap are never be called, and we add the error code here to keep it same style with snapshot bs_bdev.
Chan
blob: return error for write_zeroes and unmap requests
Actually write/writev/write_zeroes/unmap are never be called, and we add the error code here to keep it same style with snapshot bs_bdev.
Change-Id: I32ad051c1902bd7080b894e36f7c89f1c8d27434 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456924 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
92cafd15 | 09-May-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Remove blob on blobstore load when required
In some cases user may want to flag blob for removal then do some operations (before removing it) and while it happens there might be power fai
blobstore: Remove blob on blobstore load when required
In some cases user may want to flag blob for removal then do some operations (before removing it) and while it happens there might be power failure. In such cases we should remove this blob on next blobstore load. Example of such usage is delete snapshot functionality that will be introduced in upcoming patch.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I85f396b73762d2665ba8aec62528bb224acace74 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453835 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>
show more ...
|
543d8b7b | 23-May-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Move _spdk_blob_set_thin_provision function
This patch moves _spdk_blob_set_thin_provision function higher in the file as it will be later used during blobstore load.
Signed-off-by: Maci
blobstore: Move _spdk_blob_set_thin_provision function
This patch moves _spdk_blob_set_thin_provision function higher in the file as it will be later used during blobstore load.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ife37ef8c69b88903646b2002b3561101c1eb5135
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455488 Reviewed-by: Piotr Pelpliński <piotr.pelplinski@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>
show more ...
|
04ce0e12 | 15-May-2019 |
yidong0635 <dongx.yi@intel.com> |
blob: fix scanbuild failures in this file.
Access to field 'tqh_first' results in a dereference of a null pointer set = TAILQ_FIRST(&channel->reqs). Add asserts to check if channel got NULL;
Change
blob: fix scanbuild failures in this file.
Access to field 'tqh_first' results in a dereference of a null pointer set = TAILQ_FIRST(&channel->reqs). Add asserts to check if channel got NULL;
Change-Id: Ifd8d131a2432328d683e7fb9357fdd23b2396cf2 Signed-off-by: yidong0635 <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454536 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
fde382d1 | 30-Apr-2019 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
blobstore: release same cluster as claimed during initial insert
When new writes come from different threads, cluster allocations can happen many times at once. The corresponding cluster number for
blobstore: release same cluster as claimed during initial insert
When new writes come from different threads, cluster allocations can happen many times at once. The corresponding cluster number for the map is determined via _spdk_bs_allocate_cluster() and kept in ctx->new_cluster.
The cluster itself is inserted into the map only on md_thread. When there is conflict of two threads allocating same cluster, message is returned to the losting thread to release the cluster.
Before this patch, on such failure the cluster to release was calcualted from the page. This resulted in releasing the cluster claim for thread that actually won it.
This patch makes it so that cluster allocated and save in ctx is used instead.
Change-Id: Id10811b887f673f9b89e41e0637d4422f1d7270d Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452625 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>
show more ...
|
e740ba63 | 26-Apr-2019 |
Jim Harris <james.r.harris@intel.com> |
blob: Don't look at cluster map prior to checking frozen
Change-Id: I3858c637d421b58e74fa5573d257e59fed92824a Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrit
blob: Don't look at cluster map prior to checking frozen
Change-Id: I3858c637d421b58e74fa5573d257e59fed92824a Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452268 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
ee430f97 | 26-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Add _spdk_bs_delete_blob_finish function
This patch add new _spdk_bs_delete_blob_finish function which will be helpful in future changes.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.
blobstore: Add _spdk_bs_delete_blob_finish function
This patch add new _spdk_bs_delete_blob_finish function which will be helpful in future changes.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I2d492b6102f33ad35b7b6fe408f709f54b7b2341
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452251 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 ...
|
5fb0e244 | 26-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Add _spdk_bs_is_blob_deletable function
This patch adds new function which is used to check if blob can be removed when requested.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Ch
blobstore: Add _spdk_bs_is_blob_deletable function
This patch adds new function which is used to check if blob can be removed when requested.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Iafa82fba9bf67ffd15cf639f4665087f054b6b7d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452242 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 ...
|
8a9c1014 | 26-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Add _spdk_bs_get_snapshot_entry function
This patch creates new function that will be helpful with further implementation of 'delete snapshot' feature.
Signed-off-by: Maciej Szwed <macie
blobstore: Add _spdk_bs_get_snapshot_entry function
This patch creates new function that will be helpful with further implementation of 'delete snapshot' feature.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I66f138ba217fb4a4186f2703900a2952cdb8e438 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452240 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 ...
|
9e1116ea | 25-Apr-2019 |
Jim Harris <james.r.harris@intel.com> |
blob: pass correct op to spdk_bs_user_op_alloc in iov case
At some point this parameter may have been a bool, but it's not now - so we need to explicitly pass SPDK_BLOB_READV or SPDK_BLOB_WRITEV.
O
blob: pass correct op to spdk_bs_user_op_alloc in iov case
At some point this parameter may have been a bool, but it's not now - so we need to explicitly pass SPDK_BLOB_READV or SPDK_BLOB_WRITEV.
Otherwise we end up trying to write the iovec array as the data buffer when executing this operation later - since we passed "false" which is treated as 0 which is SPDK_BLOB_WRITE (not SPDK_BLOB_WRITEV).
Fixes issue #603.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I50df736216c4a88b40604722c021e204c7fac623
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452157 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
79513489 | 25-Apr-2019 |
Ben Walker <benjamin.walker@intel.com> |
blob: Don't reallocate cluster array if it didn't change size.
Other threads are referring to this memory.
Change-Id: I9689a1b64a1f032ad479ec85095d2575dcab3a7f Signed-off-by: Ben Walker <benjamin.w
blob: Don't reallocate cluster array if it didn't change size.
Other threads are referring to this memory.
Change-Id: I9689a1b64a1f032ad479ec85095d2575dcab3a7f Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452130 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
4b1012d5 | 23-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: change _spdk_bs_blob_list_remove() type to void
_spdk_bs_blob_list_remove function returns only 0 so it can be changed to void function.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.c
blobstore: change _spdk_bs_blob_list_remove() type to void
_spdk_bs_blob_list_remove function returns only 0 so it can be changed to void function.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I1827d783a7cd18caf831275554e33f398b0b962f
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451783 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
e6100af4 | 01-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: block simultaneous operations on blobs
Block operation that should not be done simultaneously.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I3cab510377a49be4e5847ba37a
blobstore: block simultaneous operations on blobs
Block operation that should not be done simultaneously.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I3cab510377a49be4e5847ba37a6218f0025c0db6
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450014 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 ...
|
478c2e6f | 22-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Move snapshot check on deletion after blob is opened
Currently someone can create clone while blob is being opened for deletion. This patch moves check for blob if it is a snpashot after
blobstore: Move snapshot check on deletion after blob is opened
Currently someone can create clone while blob is being opened for deletion. This patch moves check for blob if it is a snpashot after the blob is opened.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ia4b8b7cb956522a29784aa349d677eb87886e4db
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451682 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
9e2eb8cb | 18-Apr-2019 |
Amir More <habeanf@gmail.com> |
blobstore: Swap cluster maps on snapshot instead of copying
Previously, when creating a snapshot in blobstore the snapshot's cluster map was copied from the "original" blob, with the original's map
blobstore: Swap cluster maps on snapshot instead of copying
Previously, when creating a snapshot in blobstore the snapshot's cluster map was copied from the "original" blob, with the original's map zeroed. These operations are both O(num_clusters*cluster_size/page_size) while io operations are frozen. This change replaces the linear operation with an O(1) pointer swap at the critical moment that io is frozen, while doing the zeroing before the freeze when preparing the snapshot to minimize freeze time.
Change-Id: I1e468bc97623f5da161a8ddba1393c271acd3aed Signed-off-by: Amir More <habeanf@gmail.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451486 Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@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>
show more ...
|
8256cecf | 01-Apr-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: rename resize_in_progress to locked_operation_in_progress
This is a part of future changes to block blob operations that may cause race conditions between each other.
Signed-off-by: Maci
blobstore: rename resize_in_progress to locked_operation_in_progress
This is a part of future changes to block blob operations that may cause race conditions between each other.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ia728d1fc207375ddcb3b70b5081ddcffa9f99027
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449789 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>
show more ...
|
6e947d19 | 29-Mar-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
blobstore: Add _spdk_blob_get_snapshot_and_clone_entries function
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ic29496516a75d252c3d0fce9396434209eb620e8
Reviewed-on: https://revi
blobstore: Add _spdk_blob_get_snapshot_and_clone_entries function
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ic29496516a75d252c3d0fce9396434209eb620e8
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449543 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 ...
|
530f4812 | 15-Mar-2019 |
Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
blobstore: switch to spdk_*malloc().
spdk_dma_*malloc() is about to be deprecated.
Change-Id: I0da485ec68329ee9f819cf6dfdb8744c5993e6f2 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
blobstore: switch to spdk_*malloc().
spdk_dma_*malloc() is about to be deprecated.
Change-Id: I0da485ec68329ee9f819cf6dfdb8744c5993e6f2 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448171 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> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
ca87060d | 28-Feb-2019 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
lvol: add option to change clear method for lvol store creation
Default 'unmap' option stays as it was.
'Write_zeroes' comes useful when one wants to make sure that data presented from lvol bdevs o
lvol: add option to change clear method for lvol store creation
Default 'unmap' option stays as it was.
'Write_zeroes' comes useful when one wants to make sure that data presented from lvol bdevs on initial creation presents 0's.
'None' will be used for performance tests, when whole device is preconditioned before creating lvol store. Instead of performing preconditioning on each lvol bdev after its creation.
Change-Id: Ic5a5985e42a84f038a882bbe6f881624ae96242c Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/442881 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>
show more ...
|
6ff6f6d6 | 22-Feb-2019 |
Jim Harris <james.r.harris@intel.com> |
blob: pass NULL or SPDK_BLOBID_INVALID when bserrno != 0
When an operation fails, we shouldn't pass a handle or a 'valid' blob ID to the caller's completion function. The caller *should* ignore it w
blob: pass NULL or SPDK_BLOBID_INVALID when bserrno != 0
When an operation fails, we shouldn't pass a handle or a 'valid' blob ID to the caller's completion function. The caller *should* ignore it when bserrno != 0, but it's best to not take that chance.
Fixes #685.
Note: #685 seems to have a broader issue related to a possibly locked NVMe SSD in the submitter's system. This only fixes the assert() that was hit.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I3fb3368ccfe0580f0c505285d4b1e9aca797b6a6
Reviewed-on: https://review.gerrithub.io/c/445941 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
show more ...
|
adb39585 | 22-Jan-2019 |
Maciej Szwed <maciej.szwed@intel.com> |
lvol: add option to change default data erase method
Some users require to do write zeroes operation when erasing data on lvol. Currently the default method is unmap. This patch adds flag to spdk_rp
lvol: add option to change default data erase method
Some users require to do write zeroes operation when erasing data on lvol. Currently the default method is unmap. This patch adds flag to spdk_rpc_construct_lvol_bdev call that changes default erase method. This is also a base implementation for possible future function for erasing data on lvol bdev.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I8964f170b13c2268fe3c18104f7956c32be96040
Reviewed-on: https://review.gerrithub.io/c/441527 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
show more ...
|
d263cba0 | 17-Jan-2019 |
Pawel Wodkowski <pawelx.wodkowski@intel.com> |
lvol, blob: dont fail removal if IO fails
Everything need to be removed to get the remove callback called. Otherwise we will end up with dangling devices and user callbacks possibly not called.
Fix
lvol, blob: dont fail removal if IO fails
Everything need to be removed to get the remove callback called. Otherwise we will end up with dangling devices and user callbacks possibly not called.
Fixes #567
Change-Id: I37259f6cd97268060170a6b17a0c0df4d543a224 Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/440890 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
53bb2cc3 | 16-Jan-2019 |
Pawel Wodkowski <pawelx.wodkowski@intel.com> |
blobstore: don't ignore bserror
If IO fail e.g. during hotremove error shouldn't be ignored as this will trigger operations (like crc checking) that shouldn't be done. Also false error messages are
blobstore: don't ignore bserror
If IO fail e.g. during hotremove error shouldn't be ignored as this will trigger operations (like crc checking) that shouldn't be done. Also false error messages are printed.
Change-Id: Ie023ddcd9bdba2378e69808302ff9978497c7852 Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/c/440889 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: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
62db4ac2 | 18-Dec-2018 |
Konrad Sztyber <konrad.sztyber@intel.com> |
util: added spdk_divide_round_up()
Replaced divide_round_up() from blobstore.c, lvol.c and reduce.c with new spdk_divide_round_up() from util.h.
Change-Id: I013383ac286ca52b5c15c7fab4fb40ad97b92656
util: added spdk_divide_round_up()
Replaced divide_round_up() from blobstore.c, lvol.c and reduce.c with new spdk_divide_round_up() from util.h.
Change-Id: I013383ac286ca52b5c15c7fab4fb40ad97b92656 Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.gerrithub.io/437649 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-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>
show more ...
|