#
68b8237c |
| 23-Jan-2018 |
Maciej Szwed <maciej.szwed@intel.com> |
blob: assign iovcnt value in spdk_bs_user_op_alloc function
iovcnt value was set to 0 instead of being assigned from input argument.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id:
blob: assign iovcnt value in spdk_bs_user_op_alloc function
iovcnt value was set to 0 instead of being assigned from input argument.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I0f7e89871357f5db9a5a34c801176bc5c7870021
Reviewed-on: https://review.gerrithub.io/395959 Tested-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>
show more ...
|
#
b2503cb3 |
| 29-Nov-2017 |
Jim Harris <james.r.harris@intel.com> |
blob: add spdk_bs_user_op_t
This allows a channel's request_set resources to be used for queuing I/O requests. This is needed for upcoming thin provisioning functionality, where we must queue I/O r
blob: add spdk_bs_user_op_t
This allows a channel's request_set resources to be used for queuing I/O requests. This is needed for upcoming thin provisioning functionality, where we must queue I/O requests that need to allocate a cluster, if another cluster allocation is in progress.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ie8d3e799afc0b56bc95ba5ecab11253d8bc8608f Reviewed-on: https://review.gerrithub.io/395037 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
a5ecbadb |
| 17-Jan-2018 |
Jim Harris <james.r.harris@intel.com> |
blob: add spdk_bs_batch_xxx_blob variants
These will be used to implement user request splitting on cluster boundaries.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I29e00ae9555f
blob: add spdk_bs_batch_xxx_blob variants
These will be used to implement user request splitting on cluster boundaries.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I29e00ae9555fdd8a149e92be3cf88a2e528f5c0e
Reviewed-on: https://review.gerrithub.io/395021 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
c4659139 |
| 17-Jan-2018 |
Jim Harris <james.r.harris@intel.com> |
blob: add _dev prefix to sequence/batch operations
This clarifies that the read/write/etc. operation is being performaned on the block device. This clarification will be important in some upcoming
blob: add _dev prefix to sequence/batch operations
This clarifies that the read/write/etc. operation is being performaned on the block device. This clarification will be important in some upcoming patches which will batch similar operations on a blob (as part of splitting a user request into smaller operations if it spans a cluster boundary).
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ic574804c15f769ee80c1b6f68ca3b77ec910f0f6
Reviewed-on: https://review.gerrithub.io/395017 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
a2a29abc |
| 17-Jan-2018 |
Jim Harris <james.r.harris@intel.com> |
blob: remove sequence/batch operations for flush
These were unused in blobstore so remove them for now. This reduces number of code changes in some upcoming patches.
Signed-off-by: Jim Harris <jame
blob: remove sequence/batch operations for flush
These were unused in blobstore so remove them for now. This reduces number of code changes in some upcoming patches.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I02e04f7d84fff1d2a70f371d222425f373a5d4ff
Reviewed-on: https://review.gerrithub.io/395016 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
0e917256 |
| 05-Jan-2018 |
Maciej Szwed <maciej.szwed@intel.com> |
blob: add spdk_bs_batch/sequence_read/readv_bs_dev functions
This prepares for some future blobstore.c code that will use these bs_dev functions directly making possible to read from different devic
blob: add spdk_bs_batch/sequence_read/readv_bs_dev functions
This prepares for some future blobstore.c code that will use these bs_dev functions directly making possible to read from different device than the one in the current context.
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I55b15544ea4b53475c4b72ee5c92ff1c0a2b8c88 Reviewed-on: https://review.gerrithub.io/393781 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: 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 ...
|
Revision tags: v17.10.1, v17.10, v17.07.1 |
|
#
ea1c1579 |
| 30-Aug-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
log: rename SPDK_TRACE_* to SPDK_LOG_*
Disambiguate the log components from the trace functionality (include/spdk/trace.h).
The internal spdk_trace_flag structure and related functions will be rena
log: rename SPDK_TRACE_* to SPDK_LOG_*
Disambiguate the log components from the trace functionality (include/spdk/trace.h).
The internal spdk_trace_flag structure and related functions will be renamed in a later commit - this is just a find and replace on SPDK_TRACE_* and SPDK_LOG_REGISTER_TRACE_FLAG().
Change-Id: I617bd5a9fbe35ffb44ae6020b292658c094a0ad6 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/376421 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
Revision tags: v17.07 |
|
#
3f9cbe51 |
| 27-Jul-2017 |
Seth Howell <seth.howell@intel.com> |
blob: add write_zeroes support
Unmap does not guarantee that erased blocks will return all zeroes. using write_zeroes when unmapping metadata gives the desired behavior for a blob.
Only metadata pa
blob: add write_zeroes support
Unmap does not guarantee that erased blocks will return all zeroes. using write_zeroes when unmapping metadata gives the desired behavior for a blob.
Only metadata pages will be cleared with write_zeroes in this patch; blob data clusters will still call unmap. This behavior may be made configurable in a later patch (to allow the user to request zeroing of clusters rather than just unmapping).
Change-Id: I1b210abac110867ce703bcfdeb634eb45aa9d5c9 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/372004 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
#
130d278a |
| 10-Sep-2017 |
Paul Luse <paul.e.luse@intel.com> |
blob: defer calling unload callback until dev is destroyed
Fixes condition where blobstore was prematurely calling the application callback on spdk_bs_unload(), if the application tries to do someth
blob: defer calling unload callback until dev is destroyed
Fixes condition where blobstore was prematurely calling the application callback on spdk_bs_unload(), if the application tries to do something too quickly bad things happen.
To avoid application changes with how the g_devlist_mutex is held, it is no longer held while calling _spdk_io_device_attempt_free() because the app unload CB is called from that function and may want to call spdk_io_device_unregister() from its unload CB. So the lock is now held and releases strictly around the list its protecting which allows the CB from _spdk_io_device_attempt_free() to be called without issue.
Change-Id: Ib451cfe6b33ea0c3f9e66c86785316f9d88837c7 Signed-off-by: Paul Luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/377872 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
show more ...
|
#
d92f0f75 |
| 25-Aug-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
log: rename SPDK_TRACELOG to SPDK_DEBUGLOG
This matches the name to the behavior and prepares for addition of a new log macro for "info" log level.
Change-Id: I94ccd49face4309d3368e399528776ab14074
log: rename SPDK_TRACELOG to SPDK_DEBUGLOG
This matches the name to the behavior and prepares for addition of a new log macro for "info" log level.
Change-Id: I94ccd49face4309d3368e399528776ab140748c4 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/375833 Tested-by: 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 ...
|
#
179ed697 |
| 18-Aug-2017 |
Jim Harris <james.r.harris@intel.com> |
blob: add readv/writev support
Most of the work here revolves around having to split an I/O that spans a cluster boundary. In this case we need to allocate a separate iov array, and then issue each
blob: add readv/writev support
Most of the work here revolves around having to split an I/O that spans a cluster boundary. In this case we need to allocate a separate iov array, and then issue each sub-I/O serially, copying the relevant subset of the original iov array.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I0d46b3f832245900d109ee6c78cc6d49cf96428b
Reviewed-on: https://review.gerrithub.io/374880 Reviewed-by: Daniel Verkamp <daniel.verkamp@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 |
|
#
d89352a9 |
| 20-Mar-2017 |
Ben Walker <benjamin.walker@intel.com> |
blob: Add a persistent, power-fail safe block allocator
This is the initial commit for the "blobstore", a lightweight, highly parallel, persistent, power-fail safe block allocator.
Documentation wi
blob: Add a persistent, power-fail safe block allocator
This is the initial commit for the "blobstore", a lightweight, highly parallel, persistent, power-fail safe block allocator.
Documentation will be added in future patches.
Change-Id: I20a4daf899f1215d396f7931c3ec9a2e2bb269d0 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|