bdev/compress: rename function to avoid collision with bdev layer
Makes debug easier... Change-Id: I3b975e0a494c3920387b2d1921ebf8089b935bf5 Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456512 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>
This commit is contained in:
parent
0bb626672b
commit
5ef2b14e3c
@ -667,7 +667,7 @@ _complete_other_io(void *arg)
|
|||||||
|
|
||||||
/* scheduled for submission on reduce thread */
|
/* scheduled for submission on reduce thread */
|
||||||
static void
|
static void
|
||||||
_spdk_bdev_io_submit(void *arg)
|
_comp_bdev_io_submit(void *arg)
|
||||||
{
|
{
|
||||||
struct spdk_bdev_io *bdev_io = arg;
|
struct spdk_bdev_io *bdev_io = arg;
|
||||||
struct comp_bdev_io *io_ctx = (struct comp_bdev_io *)bdev_io->driver_ctx;
|
struct comp_bdev_io *io_ctx = (struct comp_bdev_io *)bdev_io->driver_ctx;
|
||||||
@ -733,9 +733,9 @@ vbdev_compress_submit_request(struct spdk_io_channel *ch, struct spdk_bdev_io *b
|
|||||||
|
|
||||||
/* Send this request to the reduce_thread if that's not what we're on. */
|
/* Send this request to the reduce_thread if that's not what we're on. */
|
||||||
if (spdk_io_channel_get_thread(ch) != comp_bdev->reduce_thread) {
|
if (spdk_io_channel_get_thread(ch) != comp_bdev->reduce_thread) {
|
||||||
spdk_thread_send_msg(comp_bdev->reduce_thread, _spdk_bdev_io_submit, bdev_io);
|
spdk_thread_send_msg(comp_bdev->reduce_thread, _comp_bdev_io_submit, bdev_io);
|
||||||
} else {
|
} else {
|
||||||
_spdk_bdev_io_submit(bdev_io);
|
_comp_bdev_io_submit(bdev_io);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user